From c067d27673c6d97d9037eb9b13b74bd8c9324be2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 1 Sep 2024 02:24:50 +0800 Subject: [PATCH] chore(deps): update babel to v7.25.6 (#16627) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker Cheung --- package.json | 6 +++--- tests/unit/syntax-transform.js | 18 +++++++++--------- yarn.lock | 34 +++++++++++++++++----------------- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/package.json b/package.json index 862cede54844..5a8ec4f9a227 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,8 @@ "dependencies": { "@angular/compiler": "18.2.1", "@babel/code-frame": "7.24.7", - "@babel/parser": "7.25.4", - "@babel/types": "7.25.4", + "@babel/parser": "7.25.6", + "@babel/types": "7.25.6", "@glimmer/syntax": "0.92.0", "@prettier/is-es5-identifier-name": "0.2.0", "@prettier/parse-srcset": "3.1.0", @@ -105,7 +105,7 @@ "yaml-unist-parser": "2.0.1" }, "devDependencies": { - "@babel/generator": "7.25.5", + "@babel/generator": "7.25.6", "@eslint/compat": "1.1.1", "@eslint/eslintrc": "3.1.0", "@eslint/js": "9.9.1", diff --git a/tests/unit/syntax-transform.js b/tests/unit/syntax-transform.js index 6eff893cbbb8..8d2cb8479056 100644 --- a/tests/unit/syntax-transform.js +++ b/tests/unit/syntax-transform.js @@ -25,25 +25,25 @@ test(".at", () => { expect(transform("foo.at(-1)")).toMatchInlineSnapshot(` "import __at from "/at.js"; - __at( /* isOptionalObject */false, foo, -1);" + __at(/* isOptionalObject */false, foo, -1);" `); expect(transform("foo?.at(-1)")).toMatchInlineSnapshot(` "import __at from "/at.js"; - __at( /* isOptionalObject */true, foo, -1);" + __at(/* isOptionalObject */true, foo, -1);" `); expect(transform("foo?.bar.baz.at(-1)")).toMatchInlineSnapshot(` "import __at from "/at.js"; - __at( /* isOptionalObject */true, foo?.bar.baz, -1);" + __at(/* isOptionalObject */true, foo?.bar.baz, -1);" `); expect(transform("foo.at(-1)?.bar")).toMatchInlineSnapshot(` "import __at from "/at.js"; - __at( /* isOptionalObject */false, foo, -1)?.bar;" + __at(/* isOptionalObject */false, foo, -1)?.bar;" `); // Don't support optional call @@ -54,7 +54,7 @@ test("String#replaceAll", () => { expect(transform("foo.replaceAll('a', 'b')")).toMatchInlineSnapshot(` "import __stringReplaceAll from "/string-replace-all.js"; - __stringReplaceAll( /* isOptionalObject */false, foo, 'a', 'b');" + __stringReplaceAll(/* isOptionalObject */false, foo, 'a', 'b');" `); }); @@ -62,12 +62,12 @@ test("Array#findLast", () => { expect(transform("foo.findLast(callback)")).toMatchInlineSnapshot(` "import __arrayFindLast from "/array-find-last.js"; - __arrayFindLast( /* isOptionalObject */false, foo, callback);" + __arrayFindLast(/* isOptionalObject */false, foo, callback);" `); expect(transform("foo?.findLast(callback)")).toMatchInlineSnapshot(` "import __arrayFindLast from "/array-find-last.js"; - __arrayFindLast( /* isOptionalObject */true, foo, callback);" + __arrayFindLast(/* isOptionalObject */true, foo, callback);" `); // Don't support @@ -80,12 +80,12 @@ test("Array#findLastIndex", () => { expect(transform("foo.findLastIndex(callback)")).toMatchInlineSnapshot(` "import __arrayFindLastIndex from "/array-find-last-index.js"; - __arrayFindLastIndex( /* isOptionalObject */false, foo, callback);" + __arrayFindLastIndex(/* isOptionalObject */false, foo, callback);" `); expect(transform("foo?.findLastIndex(callback)")).toMatchInlineSnapshot(` "import __arrayFindLastIndex from "/array-find-last-index.js"; - __arrayFindLastIndex( /* isOptionalObject */true, foo, callback);" + __arrayFindLastIndex(/* isOptionalObject */true, foo, callback);" `); // Don't support diff --git a/yarn.lock b/yarn.lock index dd9ef3a5f4d7..82d850dbf6ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -78,15 +78,15 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:7.25.5, @babel/generator@npm:^7.24.7, @babel/generator@npm:^7.7.2": - version: 7.25.5 - resolution: "@babel/generator@npm:7.25.5" +"@babel/generator@npm:7.25.6, @babel/generator@npm:^7.24.7, @babel/generator@npm:^7.7.2": + version: 7.25.6 + resolution: "@babel/generator@npm:7.25.6" dependencies: - "@babel/types": "npm:^7.25.4" + "@babel/types": "npm:^7.25.6" "@jridgewell/gen-mapping": "npm:^0.3.5" "@jridgewell/trace-mapping": "npm:^0.3.25" jsesc: "npm:^2.5.1" - checksum: 10/e6d046afe739cfa706c40c127b7436731acb2a3146d408a7d89dbf16448491b35bc09b7d285cc19c2c1f8980d74b5a99df200d67c859bb5260986614685b0770 + checksum: 10/541e4fbb6ea7806f44232d70f25bf09dee9a57fe43d559e375536870ca5261ebb4647fec3af40dcbb3325ea2a49aff040e12a4e6f88609eaa88f10c4e27e31f8 languageName: node linkType: hard @@ -225,14 +225,14 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:7.25.4, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.7": - version: 7.25.4 - resolution: "@babel/parser@npm:7.25.4" +"@babel/parser@npm:7.25.6, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.7": + version: 7.25.6 + resolution: "@babel/parser@npm:7.25.6" dependencies: - "@babel/types": "npm:^7.25.4" + "@babel/types": "npm:^7.25.6" bin: parser: ./bin/babel-parser.js - checksum: 10/343b8a76c43549e370fe96f4f6d564382a6cdff60e9c3b8a594c51e4cefd58ec9945e82e8c4dfbf15ac865a04e4b29806531440760748e28568e6aec21bc9cb5 + checksum: 10/830aab72116aa14eb8d61bfa8f9d69fc8f3a43d909ce993cb4350ae14d3af1a2f740a54410a22d821c48a253263643dfecbc094f9608e6a70ce9ff3c0bbfe91a languageName: node linkType: hard @@ -419,14 +419,14 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:7.25.4, @babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.4, @babel/types@npm:^7.3.3": - version: 7.25.4 - resolution: "@babel/types@npm:7.25.4" +"@babel/types@npm:7.25.6, @babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.6, @babel/types@npm:^7.3.3": + version: 7.25.6 + resolution: "@babel/types@npm:7.25.6" dependencies: "@babel/helper-string-parser": "npm:^7.24.8" "@babel/helper-validator-identifier": "npm:^7.24.7" to-fast-properties: "npm:^2.0.0" - checksum: 10/d4a1194612d0a2a6ce9a0be325578b43d74e5f5278c67409468ba0a924341f0ad349ef0245ee8a36da3766efe5cc59cd6bb52547674150f97d8dc4c8cfa5d6b8 + checksum: 10/7b54665e1b51f525fe0f451efdd9fe7a4a6dfba3fd4956c3530bc77336b66ffe3d78c093796ed044119b5d213176af7cf326f317a2057c538d575c6cefcb3562 languageName: node linkType: hard @@ -7295,9 +7295,9 @@ __metadata: dependencies: "@angular/compiler": "npm:18.2.1" "@babel/code-frame": "npm:7.24.7" - "@babel/generator": "npm:7.25.5" - "@babel/parser": "npm:7.25.4" - "@babel/types": "npm:7.25.4" + "@babel/generator": "npm:7.25.6" + "@babel/parser": "npm:7.25.6" + "@babel/types": "npm:7.25.6" "@eslint/compat": "npm:1.1.1" "@eslint/eslintrc": "npm:3.1.0" "@eslint/js": "npm:9.9.1"