From 72362f348c6453d7c6f6bf4d46c87809b3b44c3a Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Mon, 14 Nov 2022 19:29:26 -0500 Subject: [PATCH] deps: update acorn to 8.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/45441 Reviewed-By: Mohammed Keyvanzadeh Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Yagiz Nizipli Reviewed-By: Tobias Nießen --- deps/acorn/acorn/CHANGELOG.md | 6 ++++++ deps/acorn/acorn/dist/acorn.d.ts | 2 +- deps/acorn/acorn/dist/acorn.js | 2 +- deps/acorn/acorn/dist/acorn.mjs | 2 +- deps/acorn/acorn/package.json | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/deps/acorn/acorn/CHANGELOG.md b/deps/acorn/acorn/CHANGELOG.md index ea8d6c04dbad5b..cf40d7cfd13ce2 100644 --- a/deps/acorn/acorn/CHANGELOG.md +++ b/deps/acorn/acorn/CHANGELOG.md @@ -1,3 +1,9 @@ +## 8.8.1 (2022-10-24) + +### Bug fixes + +Make type for `Comment` compatible with estree types. + ## 8.8.0 (2022-07-21) ### Bug fixes diff --git a/deps/acorn/acorn/dist/acorn.d.ts b/deps/acorn/acorn/dist/acorn.d.ts index 140f6ed12855be..d6d5b824c3e5c8 100644 --- a/deps/acorn/acorn/dist/acorn.d.ts +++ b/deps/acorn/acorn/dist/acorn.d.ts @@ -224,7 +224,7 @@ declare namespace acorn { } interface Comment extends AbstractToken { - type: string + type: 'Line' | 'Block' value: string start: number end: number diff --git a/deps/acorn/acorn/dist/acorn.js b/deps/acorn/acorn/dist/acorn.js index 8e8b225b0b3c8e..5a291db1552038 100644 --- a/deps/acorn/acorn/dist/acorn.js +++ b/deps/acorn/acorn/dist/acorn.js @@ -5527,7 +5527,7 @@ // Acorn is a tiny, fast JavaScript parser written in JavaScript. - var version = "8.8.0"; + var version = "8.8.1"; Parser.acorn = { Parser: Parser, diff --git a/deps/acorn/acorn/dist/acorn.mjs b/deps/acorn/acorn/dist/acorn.mjs index 5ae045a7f2a7de..7ddf96b2a8ebed 100644 --- a/deps/acorn/acorn/dist/acorn.mjs +++ b/deps/acorn/acorn/dist/acorn.mjs @@ -5521,7 +5521,7 @@ pp.readWord = function() { // Acorn is a tiny, fast JavaScript parser written in JavaScript. -var version = "8.8.0"; +var version = "8.8.1"; Parser.acorn = { Parser: Parser, diff --git a/deps/acorn/acorn/package.json b/deps/acorn/acorn/package.json index 896061c412f549..579d89f5fff463 100644 --- a/deps/acorn/acorn/package.json +++ b/deps/acorn/acorn/package.json @@ -16,7 +16,7 @@ ], "./package.json": "./package.json" }, - "version": "8.8.0", + "version": "8.8.1", "engines": { "node": ">=0.4.0" },