Skip to content

Commit

Permalink
deps: update acorn to 8.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nodejs-github-bot committed Jul 7, 2024
1 parent 0d4884f commit eb46b0e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
8 changes: 7 additions & 1 deletion deps/acorn/acorn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 8.12.1 (2024-07-03)

### Bug fixes

Fix a regression that caused Acorn to no longer run on Node versions <8.10.

## 8.12.0 (2024-06-14)

### New features
Expand All @@ -17,7 +23,7 @@ Mark the `Parser` constructor as protected, not private, so plugins can extend i
Fix a bug where some invalid `delete` expressions were let through when the operand was parenthesized and `preserveParens` was enabled.

Properly normalize line endings in raw strings of invalid template tokens.

Properly track line numbers for escaped newlines in strings.

Fix a bug that broke line number accounting after a template literal with invalid escape sequences.
Expand Down
4 changes: 2 additions & 2 deletions deps/acorn/acorn/dist/acorn.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@

// ## Parser utilities

var literal = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/s;
var literal = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
pp$9.strictDirective = function(start) {
if (this.options.ecmaVersion < 5) { return false }
for (;;) {
Expand Down Expand Up @@ -5990,7 +5990,7 @@
// [walk]: util/walk.js


var version = "8.12.0";
var version = "8.12.1";

Parser.acorn = {
Parser: Parser,
Expand Down
4 changes: 2 additions & 2 deletions deps/acorn/acorn/dist/acorn.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ var pp$9 = Parser.prototype;

// ## Parser utilities

var literal = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/s;
var literal = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
pp$9.strictDirective = function(start) {
if (this.options.ecmaVersion < 5) { return false }
for (;;) {
Expand Down Expand Up @@ -5984,7 +5984,7 @@ pp.readWord = function() {
// [walk]: util/walk.js


var version = "8.12.0";
var version = "8.12.1";

Parser.acorn = {
Parser: Parser,
Expand Down
2 changes: 1 addition & 1 deletion deps/acorn/acorn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"./package.json": "./package.json"
},
"version": "8.12.0",
"version": "8.12.1",
"engines": {
"node": ">=0.4.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/acorn_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
// Refer to tools/dep_updaters/update-acorn.sh
#ifndef SRC_ACORN_VERSION_H_
#define SRC_ACORN_VERSION_H_
#define ACORN_VERSION "8.12.0"
#define ACORN_VERSION "8.12.1"
#endif // SRC_ACORN_VERSION_H_

0 comments on commit eb46b0e

Please sign in to comment.