+1
-30
@@ -598,31 +598,2 @@ 'use strict'; | ||
| /* | ||
| * Adjust opening and closing position of program to match Esprima. | ||
| * Acorn always starts programs at range 0 whereas Esprima starts at the | ||
| * first AST node's start (the only real difference is when there's leading | ||
| * whitespace or leading comments). Acorn also counts trailing whitespace | ||
| * as part of the program whereas Esprima only counts up to the last token. | ||
| */ | ||
| if (program.body.length) { | ||
| const [firstNode] = program.body; | ||
| if (program.range) { | ||
| program.range[0] = firstNode.range[0]; | ||
| } | ||
| if (program.loc) { | ||
| program.loc.start = firstNode.loc.start; | ||
| } | ||
| program.start = firstNode.start; | ||
| } | ||
| if (extra.lastToken) { | ||
| if (program.range) { | ||
| program.range[1] = extra.lastToken.range[1]; | ||
| } | ||
| if (program.loc) { | ||
| program.loc.end = extra.lastToken.loc.end; | ||
| } | ||
| program.end = extra.lastToken.end; | ||
| } | ||
| /* | ||
| * https://github.com/eslint/espree/issues/349 | ||
@@ -765,3 +736,3 @@ * Ensure that template elements have correct range information. | ||
| const version$1 = "10.4.0"; | ||
| const version$1 = "11.0.0"; | ||
@@ -768,0 +739,0 @@ /** |
+0
-29
@@ -185,31 +185,2 @@ /* eslint no-param-reassign: 0 -- stylistic choice */ | ||
| /* | ||
| * Adjust opening and closing position of program to match Esprima. | ||
| * Acorn always starts programs at range 0 whereas Esprima starts at the | ||
| * first AST node's start (the only real difference is when there's leading | ||
| * whitespace or leading comments). Acorn also counts trailing whitespace | ||
| * as part of the program whereas Esprima only counts up to the last token. | ||
| */ | ||
| if (program.body.length) { | ||
| const [firstNode] = program.body; | ||
| if (program.range) { | ||
| program.range[0] = firstNode.range[0]; | ||
| } | ||
| if (program.loc) { | ||
| program.loc.start = firstNode.loc.start; | ||
| } | ||
| program.start = firstNode.start; | ||
| } | ||
| if (extra.lastToken) { | ||
| if (program.range) { | ||
| program.range[1] = extra.lastToken.range[1]; | ||
| } | ||
| if (program.loc) { | ||
| program.loc.end = extra.lastToken.loc.end; | ||
| } | ||
| program.end = extra.lastToken.end; | ||
| } | ||
| /* | ||
| * https://github.com/eslint/espree/issues/349 | ||
@@ -216,0 +187,0 @@ * Ensure that template elements have correct range information. |
+1
-1
@@ -1,3 +0,3 @@ | ||
| const version = "10.4.0"; | ||
| const version = "11.0.0"; | ||
| export default version; |
+6
-14
@@ -19,3 +19,3 @@ { | ||
| }, | ||
| "version": "10.4.0", | ||
| "version": "11.0.0", | ||
| "files": [ | ||
@@ -27,3 +27,3 @@ "lib", | ||
| "engines": { | ||
| "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||
| "node": "^20.19.0 || ^22.13.0 || >=24" | ||
| }, | ||
@@ -43,3 +43,3 @@ "repository": { | ||
| "acorn-jsx": "^5.3.2", | ||
| "eslint-visitor-keys": "^4.2.1" | ||
| "eslint-visitor-keys": "^5.0.0" | ||
| }, | ||
@@ -50,5 +50,2 @@ "devDependencies": { | ||
| "@rollup/plugin-node-resolve": "^15.3.0", | ||
| "eslint-release": "^3.2.0", | ||
| "esprima-fb": "^8001.2001.0-dev-harmony-fb", | ||
| "npm-run-all2": "^6.2.2", | ||
| "rollup": "^2.79.1", | ||
@@ -72,11 +69,6 @@ "shelljs": "^0.8.5" | ||
| "pretest": "npm run build", | ||
| "release:generate:latest": "eslint-generate-release", | ||
| "release:generate:alpha": "eslint-generate-prerelease alpha", | ||
| "release:generate:beta": "eslint-generate-prerelease beta", | ||
| "release:generate:rc": "eslint-generate-prerelease rc", | ||
| "release:publish": "eslint-publish-release", | ||
| "test": "npm-run-all -s test:*", | ||
| "test:cjs": "mocha --color --reporter progress --timeout 30000 tests/lib/commonjs.cjs", | ||
| "test:esm": "c8 mocha --color --reporter progress --timeout 30000 tests/lib/**/*.js" | ||
| "test": "npm run test:cjs && npm run test:esm", | ||
| "test:cjs": "mocha --color --reporter progress --timeout 30000 \"tests/**/*.test.cjs\"", | ||
| "test:esm": "c8 mocha --color --reporter progress --timeout 30000 \"tests/**/*.test.js\"" | ||
| } | ||
| } |
+5
-5
@@ -248,2 +248,3 @@ [](https://www.npmjs.com/package/espree) | ||
| <!--sponsorsstart--> | ||
| ## Sponsors | ||
@@ -254,8 +255,7 @@ | ||
| <h3>Diamond Sponsors</h3> | ||
| <p><a href="https://www.ag-grid.com/"><img src="https://images.opencollective.com/ag-grid/bec0580/logo.png" alt="AG Grid" height="128"></a></p><h3>Platinum Sponsors</h3> | ||
| <h3>Platinum Sponsors</h3> | ||
| <p><a href="https://automattic.com"><img src="https://images.opencollective.com/automattic/d0ef3e1/logo.png" alt="Automattic" height="128"></a> <a href="https://www.airbnb.com/"><img src="https://images.opencollective.com/airbnb/d327d66/logo.png" alt="Airbnb" height="128"></a></p><h3>Gold Sponsors</h3> | ||
| <p><a href="https://qlty.sh/"><img src="https://images.opencollective.com/qltysh/33d157d/logo.png" alt="Qlty Software" height="96"></a> <a href="https://trunk.io/"><img src="https://images.opencollective.com/trunkio/fb92d60/avatar.png" alt="trunk.io" height="96"></a> <a href="https://shopify.engineering/"><img src="https://avatars.githubusercontent.com/u/8085" alt="Shopify" height="96"></a></p><h3>Silver Sponsors</h3> | ||
| <p><a href="https://vite.dev/"><img src="https://images.opencollective.com/vite/e6d15e1/logo.png" alt="Vite" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/5c4fa84/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301" alt="American Express" height="64"></a> <a href="https://stackblitz.com"><img src="https://avatars.githubusercontent.com/u/28635252" alt="StackBlitz" height="64"></a></p><h3>Bronze Sponsors</h3> | ||
| <p><a href="https://sentry.io"><img src="https://github.com/getsentry.png" alt="Sentry" height="32"></a> <a href="https://syntax.fm"><img src="https://github.com/syntaxfm.png" alt="Syntax" height="32"></a> <a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://www.crosswordsolver.org/anagram-solver/"><img src="https://images.opencollective.com/anagram-solver/2666271/logo.png" alt="Anagram Solver" height="32"></a> <a href="https://icons8.com/"><img src="https://images.opencollective.com/icons8/7fa1641/logo.png" alt="Icons8" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nolebase.ayaka.io"><img src="https://avatars.githubusercontent.com/u/11081491" alt="Neko" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a> <a href="https://www.lambdatest.com"><img src="https://avatars.githubusercontent.com/u/171592363" alt="LambdaTest" height="32"></a></p> | ||
| <p><a href="https://qlty.sh/"><img src="https://images.opencollective.com/qltysh/33d157d/logo.png" alt="Qlty Software" height="96"></a> <a href="https://shopify.engineering/"><img src="https://avatars.githubusercontent.com/u/8085" alt="Shopify" height="96"></a></p><h3>Silver Sponsors</h3> | ||
| <p><a href="https://vite.dev/"><img src="https://images.opencollective.com/vite/e6d15e1/logo.png" alt="Vite" height="64"></a> <a href="https://liftoff.io/"><img src="https://images.opencollective.com/liftoff/2d6c3b6/logo.png" alt="Liftoff" height="64"></a> <a href="https://americanexpress.io"><img src="https://avatars.githubusercontent.com/u/3853301" alt="American Express" height="64"></a> <a href="https://stackblitz.com"><img src="https://avatars.githubusercontent.com/u/28635252" alt="StackBlitz" height="64"></a></p><h3>Bronze Sponsors</h3> | ||
| <p><a href="https://cybozu.co.jp/"><img src="https://images.opencollective.com/cybozu/933e46d/logo.png" alt="Cybozu" height="32"></a> <a href="https://icons8.com/"><img src="https://images.opencollective.com/icons8/7fa1641/logo.png" alt="Icons8" height="32"></a> <a href="https://discord.com"><img src="https://images.opencollective.com/discordapp/f9645d9/logo.png" alt="Discord" height="32"></a> <a href="https://www.gitbook.com"><img src="https://avatars.githubusercontent.com/u/7111340" alt="GitBook" height="32"></a> <a href="https://nx.dev"><img src="https://avatars.githubusercontent.com/u/23692104" alt="Nx" height="32"></a> <a href="https://opensource.mercedes-benz.com/"><img src="https://avatars.githubusercontent.com/u/34240465" alt="Mercedes-Benz Group" height="32"></a> <a href="https://herocoders.com"><img src="https://avatars.githubusercontent.com/u/37549774" alt="HeroCoders" height="32"></a> <a href="https://www.lambdatest.com"><img src="https://avatars.githubusercontent.com/u/171592363" alt="LambdaTest" height="32"></a></p> | ||
| <h3>Technology Sponsors</h3> | ||
@@ -262,0 +262,0 @@ Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work. |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
5
-37.5%1
-83.33%76839
-4.41%1515
-3.32%+ Added
- Removed
Updated