Package: release.debian.org
Followup-For: Bug #1068016

node-babel7 needs node-undici 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4
(see release.d.o. #1068912).

Also, even with that, the current debdiff *will FTBFS*, see #1068933.

Please find attached another debdiff that addresses that issue.

Jérémy
(sorry for the very late reaction)
diff -Nru node-babel7-7.20.15+ds1+~cs214.269.168/debian/changelog 
node-babel7-7.20.15+ds1+~cs214.269.168/debian/changelog
--- node-babel7-7.20.15+ds1+~cs214.269.168/debian/changelog     2023-10-13 
16:02:05.000000000 +0200
+++ node-babel7-7.20.15+ds1+~cs214.269.168/debian/changelog     2024-03-29 
17:29:05.000000000 +0100
@@ -1,3 +1,18 @@
+node-babel7 (7.20.15+ds1+~cs214.269.168-3+deb12u2) bookworm; urgency=medium
+
+  * Team upload
+  * Improve tsc-workaround patch, fixing compilation against
+    nodejs 18.19.0+dfsg-6~deb12u1. Closes: #1068933.
+
+  [ Andreas Beckmann ]
+  * Backport Breaks+Replaces fixes from 7.20.15+ds1+~cs214.269.168-4.
+
+  [ Yadd ]
+  * Add missing Breaks+Replaces against all node-babel-* that were in Debian 10
+    (Closes: #1037234)
+
+ -- Andreas Beckmann <a...@debian.org>  Fri, 29 Mar 2024 17:29:05 +0100
+
 node-babel7 (7.20.15+ds1+~cs214.269.168-3+deb12u1) bookworm-security; 
urgency=medium
 
   * Team upload
diff -Nru node-babel7-7.20.15+ds1+~cs214.269.168/debian/control 
node-babel7-7.20.15+ds1+~cs214.269.168/debian/control
--- node-babel7-7.20.15+ds1+~cs214.269.168/debian/control       2023-10-13 
16:02:05.000000000 +0200
+++ node-babel7-7.20.15+ds1+~cs214.269.168/debian/control       2024-03-29 
17:29:05.000000000 +0100
@@ -120,8 +120,92 @@
 Suggests: node-babel-plugin-polyfill-es-shims
  , node-babel7-debug
 Breaks: node-babel-core (<< 6.26.0+repack-3~)
+ , node-babel-cli (<< 7)
  , node-babel-code-frame (<< 7)
-Replaces: node-babel-code-frame (<< 7)
+ , node-babel-generator (<< 7)
+ , node-babel-helper-bindify-decorators (<< 7)
+ , node-babel-helper-builder-binary-assignment-operator-visitor (<< 7)
+ , node-babel-helper-builder-react-jsx (<< 7)
+ , node-babel-helper-call-delegate (<< 7)
+ , node-babel-helper-explode-assignable-expression (<< 7)
+ , node-babel-helper-explode-class (<< 7)
+ , node-babel-helper-function-name (<< 7)
+ , node-babel-helper-hoist-variables (<< 7)
+ , node-babel-helper-optimise-call-expression (<< 7)
+ , node-babel-helper-remap-async-to-generator (<< 7)
+ , node-babel-helper-replace-supers (<< 7)
+ , node-babel-helpers (<< 7)
+ , node-babel-plugin-external-helpers (<< 7)
+ , node-babel-plugin-syntax-async-generators (<< 7)
+ , node-babel-plugin-syntax-class-properties (<< 7)
+ , node-babel-plugin-syntax-decorators (<< 7)
+ , node-babel-plugin-syntax-do-expressions (<< 7)
+ , node-babel-plugin-syntax-dynamic-import (<< 7)
+ , node-babel-plugin-syntax-flow (<< 7)
+ , node-babel-plugin-syntax-function-bind (<< 7)
+ , node-babel-plugin-syntax-jsx (<< 7)
+ , node-babel-plugin-syntax-object-rest-spread (<< 7)
+ , node-babel-plugin-transform-async-to-generator (<< 7)
+ , node-babel-plugin-transform-exponentiation-operator (<< 7)
+ , node-babel-plugin-transform-flow-strip-types (<< 7)
+ , node-babel-plugin-transform-jscript (<< 7)
+ , node-babel-plugin-transform-proto-to-assign (<< 7)
+ , node-babel-plugin-transform-react-display-name (<< 7)
+ , node-babel-plugin-transform-react-jsx (<< 7)
+ , node-babel-plugin-transform-react-jsx-self (<< 7)
+ , node-babel-plugin-transform-react-jsx-source (<< 7)
+ , node-babel-plugin-transform-regenerator (<< 7)
+ , node-babel-plugin-transform-runtime (<< 7)
+ , node-babel-plugin-transform-strict-mode (<< 7)
+ , node-babel-preset-env (<< 7)
+ , node-babel-preset-flow (<< 7)
+ , node-babel-preset-react (<< 7)
+ , node-babel-register (<< 7)
+ , node-babel-template (<< 7)
+ , node-babel-traverse (<< 7)
+Replaces: node-babel-cli (<< 7)
+ , node-babel-code-frame (<< 7)
+ , node-babel-generator (<< 7)
+ , node-babel-helper-bindify-decorators (<< 7)
+ , node-babel-helper-builder-binary-assignment-operator-visitor (<< 7)
+ , node-babel-helper-builder-react-jsx (<< 7)
+ , node-babel-helper-call-delegate (<< 7)
+ , node-babel-helper-explode-assignable-expression (<< 7)
+ , node-babel-helper-explode-class (<< 7)
+ , node-babel-helper-function-name (<< 7)
+ , node-babel-helper-hoist-variables (<< 7)
+ , node-babel-helper-optimise-call-expression (<< 7)
+ , node-babel-helper-remap-async-to-generator (<< 7)
+ , node-babel-helper-replace-supers (<< 7)
+ , node-babel-helpers (<< 7)
+ , node-babel-plugin-external-helpers (<< 7)
+ , node-babel-plugin-syntax-async-generators (<< 7)
+ , node-babel-plugin-syntax-class-properties (<< 7)
+ , node-babel-plugin-syntax-decorators (<< 7)
+ , node-babel-plugin-syntax-do-expressions (<< 7)
+ , node-babel-plugin-syntax-dynamic-import (<< 7)
+ , node-babel-plugin-syntax-flow (<< 7)
+ , node-babel-plugin-syntax-function-bind (<< 7)
+ , node-babel-plugin-syntax-jsx (<< 7)
+ , node-babel-plugin-syntax-object-rest-spread (<< 7)
+ , node-babel-plugin-transform-async-to-generator (<< 7)
+ , node-babel-plugin-transform-exponentiation-operator (<< 7)
+ , node-babel-plugin-transform-flow-strip-types (<< 7)
+ , node-babel-plugin-transform-jscript (<< 7)
+ , node-babel-plugin-transform-proto-to-assign (<< 7)
+ , node-babel-plugin-transform-react-display-name (<< 7)
+ , node-babel-plugin-transform-react-jsx (<< 7)
+ , node-babel-plugin-transform-react-jsx-self (<< 7)
+ , node-babel-plugin-transform-react-jsx-source (<< 7)
+ , node-babel-plugin-transform-regenerator (<< 7)
+ , node-babel-plugin-transform-runtime (<< 7)
+ , node-babel-plugin-transform-strict-mode (<< 7)
+ , node-babel-preset-env (<< 7)
+ , node-babel-preset-flow (<< 7)
+ , node-babel-preset-react (<< 7)
+ , node-babel-register (<< 7)
+ , node-babel-template (<< 7)
+ , node-babel-traverse (<< 7)
 Provides: ${nodeBabel7:Provides}
  , babeljs (= ${binary:Version})
 X-Javascript-Built-Using: ${nodejs:BuiltUsing}
diff -Nru 
node-babel7-7.20.15+ds1+~cs214.269.168/debian/patches/tsc-workaround.patch 
node-babel7-7.20.15+ds1+~cs214.269.168/debian/patches/tsc-workaround.patch
--- node-babel7-7.20.15+ds1+~cs214.269.168/debian/patches/tsc-workaround.patch  
2023-10-13 16:02:05.000000000 +0200
+++ node-babel7-7.20.15+ds1+~cs214.269.168/debian/patches/tsc-workaround.patch  
2024-03-29 17:29:05.000000000 +0100
@@ -1,7 +1,7 @@
 Description: tsc workaround
 Author: Yadd <y...@debian.org>
 Forwarded: not-needed
-Last-Update: 2022-11-29
+Last-Update: 2023-12-12
 
 --- a/lib/third-party-libs.d.ts
 +++ b/lib/third-party-libs.d.ts
@@ -529,7 +529,20 @@
      // @ts-expect-error id is not defined in expressions other than 
function/class
 --- a/packages/babel-helper-transform-fixture-test-runner/src/index.ts
 +++ b/packages/babel-helper-transform-fixture-test-runner/src/index.ts
-@@ -141,7 +141,9 @@
+@@ -128,7 +128,6 @@
+   if (process.env.BABEL_8_BREAKING) {
+     script = new vm.Script(cached.code, {
+       filename,
+-      displayErrors: true,
+       lineOffset: -1,
+       cachedData: cached.cachedData,
+     });
+@@ -136,12 +135,13 @@
+   } else {
+     script = new vm.Script(cached.code, {
+       filename,
+-      displayErrors: true,
+       lineOffset: -1,
        cachedData: cached.cachedData,
        produceCachedData: true,
      });

Reply via email to