mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* fix(register): do not inherit parent execArgv Per https://nodejs.org/api/worker_threads.html#launching-worker-threads-from-preload-scripts, new Worker threads will inherit command line flags, including `-e` and `-r`. When they are combined with the `--input-type`, Node.js somehow hangs and the worker does not start. * feat: resolve <rootDir> token in process tests * add tests * fix: ensure args are always string * replace rootDir by file:// url * test: use <rootUrl> for --import tests
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "@babel/register",
|
|
"version": "8.0.1",
|
|
"description": "babel require hook",
|
|
"license": "MIT",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/babel/babel.git",
|
|
"directory": "packages/babel-register"
|
|
},
|
|
"author": "The Babel Team (https://babel.dev/team)",
|
|
"type": "module",
|
|
"main": "./lib/index.js",
|
|
"dependencies": {
|
|
"@cspotcode/source-map-support": "^0.8.1",
|
|
"cacache": "20.0.3",
|
|
"clone-deep": "^4.0.1",
|
|
"empathic": "^2.0.1",
|
|
"pirates": "^4.0.6"
|
|
},
|
|
"peerDependencies": {
|
|
"@babel/core": "^8.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "workspace:^",
|
|
"@babel/helper-transform-fixture-test-runner": "workspace:^",
|
|
"@babel/plugin-transform-arrow-functions": "workspace:^",
|
|
"@babel/plugin-transform-modules-commonjs": "workspace:^",
|
|
"@babel/preset-typescript": "workspace:^",
|
|
"@types/cacache": "^20.0.0"
|
|
},
|
|
"homepage": "https://babel.dev/docs/en/next/babel-register",
|
|
"bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20register%22+is%3Aopen",
|
|
"engines": {
|
|
"node": "^22.18.0 || >=24.11.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./package.json": "./package.json"
|
|
}
|
|
}
|