mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
Use type: module in all package.jsons (#16535)
* Use `type: module` in all `package.json`s
* Remove now unnecessary `{ "type": "module" }` package.jsons
* Use `type: commonjs` where needed
This commit is contained in:
@@ -42,10 +42,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -55,5 +55,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -42,10 +42,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -55,5 +55,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -20,7 +20,7 @@
|
||||
"node": "^10.13.0 || ^12.13.0 || >=14.0.0"
|
||||
},
|
||||
"main": "./lib/index.cjs",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./lib/index.cjs",
|
||||
"./experimental-worker": "./lib/experimental-worker.cjs",
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -22,5 +22,5 @@
|
||||
"devDependencies": {
|
||||
"eslint": "^8.22.0"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -9,7 +9,7 @@
|
||||
],
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"main": "./lib/index.cjs",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./lib/index.cjs",
|
||||
"./package.json": "./package.json"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "7.24.6",
|
||||
"description": "Companion rules for @babel/eslint-parser",
|
||||
"main": "./lib/index.cjs",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": "./lib/index.cjs",
|
||||
"./package.json": "./package.json"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -12,5 +12,5 @@
|
||||
"eslint-plugin-import": "^2.25.4",
|
||||
"npm-babel-parser": "npm:@babel/parser@^7.14.0"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -66,13 +66,14 @@
|
||||
],
|
||||
"USE_ESM": [
|
||||
{
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"babel": "./bin/babel.mjs",
|
||||
"babel-external-helpers": "./bin/babel-external-helpers.mjs"
|
||||
}
|
||||
},
|
||||
null
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -82,5 +83,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -38,10 +38,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -51,5 +51,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -99,7 +99,6 @@
|
||||
],
|
||||
"USE_ESM": [
|
||||
{
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./lib/index.d.ts",
|
||||
@@ -109,7 +108,9 @@
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
null
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -120,5 +121,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -46,10 +46,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -59,5 +59,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -35,10 +35,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -48,5 +48,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -35,10 +35,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -48,5 +48,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -37,10 +37,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -50,5 +50,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -36,13 +36,13 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "workspace:^"
|
||||
},
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -39,13 +39,13 @@
|
||||
"engines": {
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -53,10 +53,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -66,5 +66,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -44,10 +44,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -57,5 +57,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -28,13 +28,13 @@
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
@@ -37,10 +37,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -50,5 +50,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -36,10 +36,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -49,5 +49,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -36,10 +36,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -49,5 +49,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -41,10 +41,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -54,5 +54,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -48,5 +48,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -36,10 +36,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -49,5 +49,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -43,10 +43,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -56,5 +56,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -36,10 +36,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -49,5 +49,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -55,11 +55,11 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -32,10 +32,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -45,5 +45,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -41,10 +41,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -54,5 +54,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -40,10 +40,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -53,5 +53,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -36,10 +36,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -49,5 +49,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -29,13 +29,13 @@
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
@@ -35,10 +35,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -48,5 +48,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
@@ -43,5 +43,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -43,10 +43,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -56,5 +56,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -27,13 +27,13 @@
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -23,13 +23,13 @@
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -37,10 +37,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -50,5 +50,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -52,5 +52,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -38,10 +38,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -51,5 +51,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -58,10 +58,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -71,5 +71,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -56,7 +56,6 @@
|
||||
],
|
||||
"USE_ESM": [
|
||||
{
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"require": "./lib/index.cjs",
|
||||
@@ -65,7 +64,9 @@
|
||||
"./package.json": "./package.json"
|
||||
}
|
||||
},
|
||||
null
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -75,5 +76,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -42,10 +42,10 @@
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
@@ -56,5 +56,5 @@
|
||||
{}
|
||||
]
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
+4
-4
@@ -40,13 +40,13 @@
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -41,13 +41,13 @@
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -42,10 +42,10 @@
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
@@ -56,5 +56,5 @@
|
||||
{}
|
||||
]
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -42,10 +42,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -55,5 +55,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -41,13 +41,13 @@
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -50,10 +50,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -63,5 +63,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -42,13 +42,13 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -43,10 +43,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -56,5 +56,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -38,10 +38,10 @@
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
@@ -59,5 +59,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -33,10 +33,10 @@
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
@@ -54,5 +54,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -43,10 +43,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -56,5 +56,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -43,10 +43,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -56,5 +56,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -44,10 +44,10 @@
|
||||
}
|
||||
],
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
]
|
||||
},
|
||||
"exports": {
|
||||
@@ -57,5 +57,5 @@
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"type": "commonjs"
|
||||
"type": "module"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{ "type": "module" }
|
||||
@@ -43,13 +43,13 @@
|
||||
"node": ">=6.9.0"
|
||||
},
|
||||
"author": "The Babel Team (https://babel.dev/team)",
|
||||
"type": "commonjs",
|
||||
"type": "module",
|
||||
"conditions": {
|
||||
"USE_ESM": [
|
||||
null,
|
||||
{
|
||||
"type": "module"
|
||||
},
|
||||
null
|
||||
"type": "commonjs"
|
||||
}
|
||||
],
|
||||
"BABEL_8_BREAKING": [
|
||||
{
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user