Debian Patches

Status for node-babel7/8.0.4+ds1+~cs177.303.116-3

Patch Description Author Forwarded Bugs Origin Last update
load-plugins-from-system-libraries.diff add Debian paths to find babel plugins Babel plugins and presets shipped by Debian live in /usr/share/nodejs, which
is not part of the caller's node_modules lookup chain: Node.js only searches
it for CommonJS "require", never for ESM "import". Retry both resolvers there
when the standard lookup fails, so that a plugin installed by a Debian
package can be used from any directory.
Yadd <yadd@debian.org> not-needed 2026-08-19
skip-prettier.patch skip prettier, which is not packaged in Debian Generated sources are emitted verbatim instead of being run through
Prettier. This only affects the formatting of files generated during the
build, not their contents.
Yadd <yadd@debian.org> not-needed 2026-08-19
update-rollup-and-babel-paths.patch update babel and rollup paths to use Debian packages files In Debian, dependencies are symlinks to /usr/share/nodejs instead of real
files under node_modules. Teach @rollup/plugin-commonjs to process them and
babel to treat them as "unambiguous" sources, and silence the extra
THIS_IS_UNDEFINED warnings this produces.
Yadd <yadd@debian.org> not-needed 2026-08-19
ignore-one-missing-ts-definition.patch ignore charcode ts definitions Xavier Guimard <yadd@debian.org> no 2021-01-03
ignore-rollup-warnings-for-standalone.patch don't abort the standalone build on rollup warnings Building against the system modules produces extra rollup warnings that are
harmless here, so don't turn them into a fatal error.
Yadd <yadd@debian.org> not-needed 2026-08-19
preset-env-exports-module-transformations.patch allow babel-preset-moxy to require lib/module-transformations Yadd <yadd@debian.org> no debian 2026-08-19
fix-gensync.patch update to 1.0.0-beta.2 Yadd <yadd@debian.org> not-needed 2021-12-19
set-pirates-version.patch set pirates version The pirates git repository does not carry a version number in its
package.json; add the one of the imported release.
Yadd <yadd@debian.org> not-needed 2026-08-19
skip-unshipped-tooling-in-tsc.patch keep the unshipped repository tooling out of tsc The root project type-checks the Gulpfile, the eslint and knip
configurations, scripts/ and the tstyche type tests. None of them is shipped
and they need husky, publint, knip, tstyche, typescript-eslint and a handful
of eslint plugins, none of which are packaged in Debian.
.
It also drops packages/babel-helper-validator-identifier/scripts, which
regenerates a committed data file from the @unicode/unicode-* data packages
and regenerate.
Yadd <yadd@debian.org> not-needed 2026-08-19
use-bundled-babel-config.patch load the bundled babel.config.cjs Babel 8 can read a TypeScript configuration file, but the Babel 7 used to
bootstrap the build cannot. debian/rules bundles babel.config.ts (and the
local plugins it imports) into babel.config.cjs with esbuild; point every
Babel invocation at it, including the compilation workers, which otherwise
fall back to configuration discovery and pick a different file depending on
which Babel is doing the compiling.
Yadd <yadd@debian.org> not-needed 2026-08-19
bootstrap-with-babel-7.patch adapt the build to the Babel 7 used to bootstrap it The build is bootstrapped with the Babel 7 from the archive:
* allowDeclareFields must be passed to @babel/preset-typescript, an option
Babel 8 removed;
* traverse.explode() marks the visitor with "_exploded", which the Babel 7
plugin validator rejects (Babel explodes visitors on its own anyway);
* the TypeScript build tooling is compiled to .mjs by
debian/build-tooling.sh, because Debian's nodejs has no type stripping, so
the generators are imported with that extension.
Yadd <yadd@debian.org> not-needed 2026-08-19
preset-modules-keep-esm.patch keep @babel/preset-modules an ECMAScript module @babel/preset-modules declares "type": "module" and is published as native
ECMAScript modules, but @babel/preset-env's default "modules" setting makes
the Babel CLI emit CommonJS, which Node.js then refuses to load.
Yadd <yadd@debian.org> not-needed 2026-08-19
fix-bin-esm-specifiers.patch give the bin scripts resolvable ESM specifiers Both packages declare "type": "module", so Node.js resolves their imports
with the ESM algorithm, which has neither extension nor directory-index
resolution: "import '../lib/babel-node'" and "import { parse } from '..'"
both fail with ERR_MODULE_NOT_FOUND. The published tarballs are broken the
same way.
Yadd <yadd@debian.org> no upstream 2026-08-19
fix-component-babel-configs.patch fix the babel configuration of two embedded components babel-check-duplicated-nodes passes @babel/preset-env's "loose" option, which
Babel 8 removed in favour of "assumptions"; the transformation it selects
only changes the shape of the generated code.
.
babel-plugin-dynamic-import-node builds with babel-preset-airbnb,
babel-plugin-add-module-exports and babel-plugin-transform-replace-object-assign,
none of which is available: @babel/preset-env alone produces an equivalent
plugin. Its "modules" option has to be set explicitly, because its "auto"
default keeps the ES modules when the caller supports them, and this package
declares no "type": its lib/ has to be CommonJS.
Yadd <yadd@debian.org> not-needed 2026-08-19
skip-eslint-workspace.patch do not build the eslint/ workspace @babel/eslint-parser 8 requires eslint 10, and even the version shipped so
far (7.19.1) already required eslint 7 or 8, while Debian carries eslint 6:
these packages have never been usable here, nothing in the archive imports
them, and their sources are the only ones the type-check cannot digest with
the eslint typings Debian provides.
Yadd <yadd@debian.org> not-needed 2026-08-19
dts-bundles-drop-jest-types.patch do not pull the jest typings into the declaration-bundle check This run deliberately turns skipLibCheck off to validate the emitted
declaration bundles. It does not need the jest globals, and requesting them
drags in @jest/schemas, whose declarations were generated against a newer
@sinclair/typebox than the one Debian ships ("Type 'TString' is not
generic").
Yadd <yadd@debian.org> not-needed 2026-08-19

All known versions for source package 'node-babel7'

Links