Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: acornjs/acorn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 7.4.0
Choose a base ref
...
head repository: acornjs/acorn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7.4.1
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Oct 5, 2020

  1. Copy the full SHA
    9c9142a View commit details
  2. Mark version 7.4.1

    marijnh committed Oct 5, 2020
    Copy the full SHA
    88c2669 View commit details
Showing with 3 additions and 3 deletions.
  1. +1 −1 acorn/package.json
  2. +1 −1 acorn/src/index.js
  3. +1 −1 acorn/src/parseutil.js
2 changes: 1 addition & 1 deletion acorn/package.json
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
"main": "dist/acorn.js",
"types": "dist/acorn.d.ts",
"module": "dist/acorn.mjs",
"version": "7.4.0",
"version": "7.4.1",
"engines": {"node": ">=0.4.0"},
"maintainers": [
{
2 changes: 1 addition & 1 deletion acorn/src/index.js
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ import {isIdentifierChar, isIdentifierStart} from "./identifier"
import {Token} from "./tokenize"
import {isNewLine, lineBreak, lineBreakG, nonASCIIwhitespace} from "./whitespace"

export const version = "7.4.0"
export const version = "7.4.1"
export {
Parser,
defaultOptions,
2 changes: 1 addition & 1 deletion acorn/src/parseutil.js
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ const pp = Parser.prototype

// ## Parser utilities

const literal = /^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/
const literal = /^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/
pp.strictDirective = function(start) {
for (;;) {
// Try to find string literal.