gen-mapping v0.3.8 explicitly supported Node.js 6, see the engines.nodejs key at https://yarnpkg.com/package?q=gen-mapping&name=%40jridgewell%2Fgen-mapping&version=0.3.8&file=%2Fpackage.json.
It seems like v0.3.9 dropped support for Node.js 6, not just removing the key from package.json but actually using some APIs that only work in Node.js 8+:
+ TypeError: /home/runner/work/babel/babel/packages/babel-register/test/fixtures/babelrc/log.js: __getOwnPropDescs is not a function
+ at __spreadProps (/home/runner/work/babel/babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js:29:45)
+ at toEncodedMap (/home/runner/work/babel/babel/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js:200:10)
+ at SourceMap.get (/home/runner/work/babel/babel/packages/babel-generator/lib/source-map.js:43:41)
https://github.com/babel/babel/actions/runs/15970725472/job/45041224020?pr=17414
Would it be possible to restore Node.js 6 support, and instead release the breaking change as v0.4.0?
gen-mappingv0.3.8 explicitly supported Node.js 6, see theengines.nodejskey at https://yarnpkg.com/package?q=gen-mapping&name=%40jridgewell%2Fgen-mapping&version=0.3.8&file=%2Fpackage.json.It seems like v0.3.9 dropped support for Node.js 6, not just removing the key from
package.jsonbut actually using some APIs that only work in Node.js 8+:https://github.com/babel/babel/actions/runs/15970725472/job/45041224020?pr=17414
Would it be possible to restore Node.js 6 support, and instead release the breaking change as v0.4.0?