diff --git a/packages/babel-generator/package.json b/packages/babel-generator/package.json index efcbaa8289a6..59904c74b424 100644 --- a/packages/babel-generator/package.json +++ b/packages/babel-generator/package.json @@ -22,7 +22,7 @@ "@babel/types": "workspace:^", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", - "jsesc": "condition: BABEL_8_BREAKING ? ^3.0.2 : ^2.5.1" + "jsesc": "^3.0.2" }, "devDependencies": { "@babel/helper-fixtures": "workspace:^", diff --git a/yarn.lock b/yarn.lock index f3f18eb8d06b..4c1b3f2971d1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -525,7 +525,7 @@ __metadata: "@jridgewell/trace-mapping": "npm:^0.3.25" "@types/jsesc": "npm:^2.5.0" charcodes: "npm:^0.2.0" - jsesc: "condition: BABEL_8_BREAKING ? ^3.0.2 : ^2.5.1" + jsesc: "npm:^3.0.2" languageName: unknown linkType: soft @@ -12398,7 +12398,7 @@ __metadata: languageName: node linkType: hard -"jsesc-BABEL_8_BREAKING-false@npm:jsesc@^2.5.1, jsesc@npm:^2.5.1": +"jsesc@npm:^2.5.1": version: 2.5.2 resolution: "jsesc@npm:2.5.2" bin: @@ -12407,7 +12407,7 @@ __metadata: languageName: node linkType: hard -"jsesc-BABEL_8_BREAKING-true@npm:jsesc@^3.0.2, jsesc@npm:^3.0.2": +"jsesc@npm:^3.0.2": version: 3.0.2 resolution: "jsesc@npm:3.0.2" bin: @@ -12416,16 +12416,6 @@ __metadata: languageName: node linkType: hard -"jsesc@condition: BABEL_8_BREAKING ? ^3.0.2 : ^2.5.1": - version: 0.0.0-condition-5a84f3 - resolution: "jsesc@condition:BABEL_8_BREAKING?^3.0.2:^2.5.1#5a84f3" - dependencies: - jsesc-BABEL_8_BREAKING-false: "npm:jsesc@^2.5.1" - jsesc-BABEL_8_BREAKING-true: "npm:jsesc@^3.0.2" - checksum: 10/9a5432dbbdfd24ceb705f945cc244bdea8d2bc7b227d689d26ac48124356dcf56332ad0030addd97dcac5c5f8ee144b60e8471c263cc2104403e96ec8394273f - languageName: node - linkType: hard - "jsesc@npm:~0.5.0": version: 0.5.0 resolution: "jsesc@npm:0.5.0"