[Pkg-javascript-commits] [node-acorn-jsx] annotated tag 4.0.0 created (now 2fd3134)

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 11:33:40 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a change to annotated tag 4.0.0
in repository node-acorn-jsx.

        at  2fd3134   (tag)
   tagging  d670fd434d6880674aeac9e9cfd97f8711eef548 (commit)
 tagged by  Ingvar Stepanyan
        on  Sun May 14 12:18:08 2017 +0100

- Log -----------------------------------------------------------------
Release 4.0.0

Alistair Braidwood (9):
      isIdentifierChar to numeric
      readString
      skipSpace
      skipLineComment
      Split readToken to smaller functions
      reduce array creation in readString
      create node 'class' - improve v8 performance
      line_loc type for v8 perf
      Improve options.locations performance by tracking newlines rather than finding them

Andy VanWagoner (1):
      Allow multiline JSX string attributes.

Angelo (1):
      Add NPM version icon

Aparajita Fishman (9):
      Fixed: replace absolute with relative require, remove unsupported --trackComments from usage.
      Formatting
      Just want to be a little clearer what is happening to the node var declared earlier.
      Fixed: skipSpace did not consider 8232 and 8233 as eol, but elsewhere it was.
      Fixed: tokLineStart and tokCurLine have no meaning if options.locations is false.
      Just being consistent with quote usage
      More concise way of slicing off the last character
      More descriptive names for binop token type
      docco is wonderful, but it isn't exactly the most concise way of figuring out how to use acorn. Here's a real README.

Arian Stolwijk (1):
      Fixes sourceFile option.

Artem Govorov (1):
      ecma 6 partial support: let and const

Brandon Mills (1):
      Support rest parameters

Brian Lai (1):
      Remove "main" that points to an non-existing "acorn.js"

Charles Hughes (1):
      Updates license year

Conrad Irwin (1):
      [loose parser] Fix interpretation of `f."`

David Bonnet (1):
      Renamed node_t to Node and exported it

Forbes Lindesay (2):
      Add --ecma7 option to CLI
      Support import and export declarations in acorn/util/walk

Greenkeeper (1):
      chore(package): update acorn to version 5.0.3 (#65)

Ingvar Stepanyan (187):
      Updated esprima and added harmonytest.js from ariya/esprima at 2bb17ef9a45c88e82d72c2c61b7b7af93caef028.
      Converted esprima's harmony tests.
      Turned on location tracking for harmony tests.
      ES6 Unicode Code Point Escape Sequence support.
      Added octal and binary number support; added ES6 version checks.
      Added ES6-specific Function properties.
      Basic ES6 Arrow Expressions support.
      Fixed parsing `x => 1, 2` like expressions.
      Some testFail message fixes.
      Checking argument names clash in strict mode for arrow functions.
      Fixed testFail messages for character escape sequences.
      Force LF endings in code.
      Added object method support.
      Added SpreadElement support.
      Added ES6 classes support.
      Turned on Travis CI.
      Added computed properties support.
      Removed dirty hack in favor of fixed expected locations for arrow and method functions (node's location should include arguments).
      ArrowExpression rest parameter support, brackets check and test fixes.
      Better parentheses check for arrow expression argument list.
      Added exit code 1 for failed test session.
      Exit should wait for stdout (joyent/node#1669).
      Workaround for joyent/node#3584.
      Destructuring assignments.
      Assignable patterns.
      Recursive destructuring assignment with function arguments name clash checks.
      Object shorthand properties; small fixes to ES6 function parameters.
      Improved destruction assignment guards.
      Added `for (..of..)` support and guard against `for (let var=.. in|of ..)` loops.
      Added backward-compatible test that object properties have type of "Property".
      Array Comprehensions as per latest ES6 drafts.
      Added test for BindingPattern inside ArrayComprehension
      Added export declaration support.
      Removed `module`-related tests and implemented corresponding alternatives support.
      Test fixes for imports.
      Added template string support.
      Added `function *` support (part of generators feature).
      Added `yield` support (completed generators).
      Forbid spread element in sequence expressions.
      Updated README and bin utility to be aware of ES6 support.
      Stricter tokVal -> tokType comparisons.
      Allow some keywords to be treated as identifier names; update ecmaVersion in benchmark.
      Removed keywords that are not actual keywords
      Simplified newline check in strings.
      Cleaning up + performance improvement by using hash objects for name clash checks.
      Replaced UglifyJS2 with Traceur for fair comparison of ES6-enabled parsers.
      Added separate token for star ('*') as it may have special meaning.
      Simplified name clash test.
      Increased benchmark time to 5 seconds per parser to get more realistic numbers.
      Added test to represent "import x, { ... } from 'module'" case.
      Delete harmonytest.js
      Add missing Traceur source to repo.
      Added Generator Comprehension support.
      Treat line ending after yield keyword as end of YieldExpression
      Allow computed class method names (as per ariya/esprima#271).
      Update README.md
      Renamed _multiplyModulo to _modulo as it's left as the only purpose of this token.
      Fixes for ES3 compatibility.
      Fix Travis URL for future merge.
      Moved `inTemplate` initializer to appropriate place.
      Added onToken support.
      Added example for comments attachment.
      Remove `copyToken` from acorn_loose (not needed anymore).
      Fix docs about `sourceFile`/`directSourceFile`.
      Split ES6 Template logic from main functionality.
      Make token format compatible with Esprima and Mozilla-styled locations.
      Fixes marijnh/acorn#127.
      Fixes #129 and spaces in template quasi literals.
      Move comprehension support under `ecmaVersion: 7` as per spec.
      Remove property name clash check in ES6 as per Draft Rev 26.
      Make test runner more generic.
      Indentation fix.
      Added .editorconfig.
      Editorconfig: enforce Unix line endings and extra new line in the end of file.
      Added loose parser support to test runner (currently failing for 208/1680).
      Loose: Added ParenthesizedExpression.
      Clone test options object since calling `parse` is destructive for it.
      Loose: ES6 function params support.
      Make setOptions non-destructive for original object.
      Collect test stats separately for each mode.
      Removed manual `onComment` test in favor of new argument.
      Allow specifying expected comments/tokens arrays with `onComment`/`onToken`.
      Avoid separate handling of SpreadElement in favor of UnaryExpression parser.
      Avoid UnaryExpression-specific properties in SpreadElement (just in case).
      Loose: Added support for rest parameters.
      Loose: added support for holes in arrays (but disallows trailing comma).
      Fix no-options case for acorn.
      Loose: Added support for assignment patterns to expression and variables.
      Loose: Added support for let and const.
      Loose: Added support for shorthand properties.
      Emit full stack trace for unknown exceptions.
      Loose: implement object methods; expose processed options from acorn.
      Loose: fix pattern+defaults case in function params.
      Loose: Remove own tabSize initialization in favor of defaultOptions.
      Loose: class support.
      Loose: arrow functions.
      Loose: for-of statement.
      Loose: Skip ES7 tests as we are targeting ES6 now.
      Loose: yield support.
      Loose: support for-of without var.
      Loose: don't silently skip missed elements in expr list.
      Loose: ES6 import, export.
      Loose: respect optional semicolons in break/continue/class/import/export.
      Loose: Fix regex after tokenizer changes in #144.
      Loose: fix #33.
      Web-driver support for loose parser + small fixes.
      Add support for nested groups in log (Chrome console + browser).
      Fixed import declaration for default+batch case.
      Disallow parenthesis in patterns
      Update tests for #158
      Fix #173.
      Added optional support for hashbang directives.
      Provide better error on member expression in binding's left side.
      Fixed #186.
      Add support for destructuring defaults (not for shorthand props yet).
      Parse assignment patterns in-place in certain contexts.
      Disallow parentheses in lvalue except as in computed keys or default values.
      Allow pattern in catch param (fixes #191).
      Allow `static` as method name in class (fixes #192).
      Revert "Disallow parentheses in lvalue except as in computed keys or default values."
      Initial rewrite of JSX parser onto new tokenizer (all tests passing).
      Made tokenize() compliant with ES6 iterables for easier processing.
      `shouldSkipSpace` is no more needed in `finishToken`.
      Remove deprecated `ComprehensionBlock.of` property.
      Update tests.
      Re-read only number or string after "use strict".
      Adapt ES6 template handling to new tokenizer.
      Merge branch 'upstream' into jsx2
      Small simplifications after merge.
      XJS -> JSX as per facebook/esprima#83.
      Merge branch 'upstream' into jsx2
      Improve spread element parsing (fix allowed contexts and error locations).
      Merge branch 'upstream' into jsx2
      Update version.
      Fix spread attribute parsing after merge.
      Update repository metadata and readme.
      Add acorn_csp.js to .gitignore.
      Remove Token::{startLoc,endLoc} so they don't appear in next release.
      Fix {start,end}Loc -> loc.{start,end} in acorn_loose; remove forceRegexp.
      Make top-level equal to block statement context.
      Fix dividing function expression.
      Add regex comparison to test driver.
      Closes #205.
      Switch from Function.{rest,defaults} to AssignmentPattern and RestElement.
      Add ES6 patterns to util/walk.js
      Added acorn_csp to .gitignore and fixed generation under Windows.
      Introduce helpers for contextual keywords.
      Avoid extra call and arg in parseExpression for single-expression case.
      Implement shorthand property assignment in ambiguous contexts.
      Speed-up reading words, strings and templates.
      Simplify & fix rest argument validity checks.
      Merge branch 'upstream' into jsx2
      Add regression test for #15.
      Improve JSX braces context handling.
      Update version.
      Fix locations for AssignmentPatterns.
      Disallow MemberExpression in bindings; clarify function namings.
      Finalized destructuring support in loose parser; fixed startNodeAt.
      Fix export default declarations.
      Merge branch 'upstream' into jsx2
      Update version after merge.
      Optimize JSX text reading.
      Add JSX support to loose parser.
      Update version.
      Merge pull request #17 from thetalecrafter/multiline
      Merge pull request #18 from jayphelps/patch-1
      JSX as a plugin (todo: write new test runner).
      Merge pull request #21 from jenseng/jsx-attribute-fix
      Update version.
      Merge pull request #22 from RReverser/adjacent-errors
      Bump version.
      Fix position of "Adjacent JSX" error; move out entities.
      Update Acorn version and fix incompatibilities.
      Republish with major version due to breaking changes.
      Merge pull request #26 from blai/master
      Merge pull request #29 from angelozerr/patch-1
      Merge pull request #31 from nzakas/issue28
      Version bump.
      Merge pull request #34 from shinnn/license
      Merge pull request #33 from shinnn/acorn3
      Add namespaces options for spec compliancy and better linting support.
      Bump version
      Update Travis
      Update Mocha
      Add license comment to tests-jsx.js
      Update LICENSE year
      Release 4.0.0

James Kyle (1):
      Create .npmignore (#35)

Jay Phelps (1):
      "6to5" is now "babel"

Jiaxing Wang (3):
      Remove redundant if conditions that are tested above
      parseMaybeUnary() doesn't need parameter @noIn
      Line number start from 1 after getToken.jumpTo()

Johannes Herr (1):
      Removed some dead code in parseThrowStatement

Jon Jensen (2):
      add back just enough acorn-babel to get npm run test working
      fix loc.end info for multi-line JSXAttributeValue

Jürg Lehni (1):
      Pass on 'this' as root scope, for better inclusion of Acorn inside Paper.js

Marijn Haverbeke (211):
      Initial import
      Add esprima-derived tests, trivial benchmark
      Make tests runnable under node
      Add LICENSE file
      Add package.json
      Add temp index page
      Add a README
      Add esprima and uglifyjs to compare against
      Less reliance on regexps, more on hacks
      Fix bug in number parser
      Shuffle parseExprAtom for expected probabilities
      Comment tokenizer
      Partial parser comments
      More or less finish comments
      Add docco output
      Typo in docs
      Extend benchmark page
      Extend benchmark page
      Conform to Moz spec with regards to `loc` properties
      Write test status to dom rather than console
      Fix bug in benchmark
      Handle break-to-labeled-non-loop
      Add a shell interface
      Accept \0 in strings in strict mode
      Properly enable strict mode
      Use 'new Function' instead of '(1, eval)'
      Document program and sourceFile options
      Add 'ranges' option to support range arrays on nodes
      Upgrade Esprima and UglifyJS in benchmark comparison
      Properly parse 10. as a valid number
      Make 'this' a proper keyword
      Add funky newlines to nonASCIIwhitespace
      Require a semicolon after do/while
      Disallow newline after throw
      Simplify an if/switch combo to just a switch
      Restore nonasciiwhitespace regexp
      Upgrade Esprima
      Attach .raw property to literal nodes
      Actually make strictSemicolons forbid all semicolon insertion
      Don't allow keywords as properties when forbidReserved is on
      Add an AST walker utility
      Stop accumulating line comments when trackComments is off
      Comment walker module
      Make the walker's scope module use objects for variables
      [walker] Allow custom fields to be added to new walkers
      Assign parenthesized expressions a range that includes the parens
      Add an acorn-only button to bench.html
      Give readToken sub-functions meaningful names
      Remove test that raised error from the JS engine's RegExp parser
      Add missing semicolon() calls to debugger and throw statement parsers
      Make sure readInt doesn't try to read past len, if given
      Add missing labels.pop() to allow re-using labels in a block
      Use 'self' instead of 'window' in browser, in order to work in a web worker
      Formatting
      [walker] Allow recursive walks without building a new walker obj
      Remove trackComments, add onComment option
      Bump version to 0.0.2
      Fix regexp detection after void/typeof/instanceof/delete
      Attach position information to errors
      Export the tokenizer
      Small fixes noticed while going over the when writing loose parser
      Add a loose parser
      [loose parser] Make expect check two tokens ahead if it fails to find its target
      [loose parser] Add note about imprecision
      [loose parser] Support tabSize option
      [loose parser] Several small tweaks
      Upgrade Esprima
      [loose parser] Fix bug in argument list parsing
      [loose parser] Revise strategy for forcing token consumption
      [loose parser] Use ✖ rather than question mark for placeholders
      [loose parser] Fix typo
      [loose parser] Improve recovery from unterminated strings and regexps
      Add walk.findNodeAt utility
      [loose parser] Refine block-closing heuristics, add expression-continuing heuristics
      Add walk.findNodeAround
      Clean up readNumber, fix parsing of '2.+2'
      Store default walker in exports.base, rather than exports itself
      Fix bug in expression-terminating heuristic
      [loose parser] Improve closing heuristic in parseExprList
      Allow passing a test predicate to findNodeAt and findNodeAround
      Mark release 0.1
      Bump version post-0.1
      [walker] Fix broken handling of node predicates
      [loose parser] Fix bug where peeked tokens persist across parses
      Fix start offset of block nodes
      [util/walk] Add findNodeAfter
      Move back to regular string accumulation in readString
      Remove outdated option from bin/acorn
      Add walk.findNodeBefore
      Fix node boundaries for unexpected regular expressions
      Make Acorn work with AMD modules
      Properly back up line state when re-reading a token on strict mode
      Use a single .handler property on TryStatements
      [loose parser] Fix a whole bunch of issues in the options.locations support
      Remove assignment to non-existing var
      Export isIdentifierChar and isIdentifierStart
      Mark version 0.2.0
      Bump version number post-0.2
      In browser loader, refer to global object as 'this', not 'self'
      [loose parser] Less aggressive termination heuristic for comma-separated lists
      [loose parser] Fix bug in continued-expression closing
      Include diacritical combining marks in identifier character set
      [package.json] Use 'repository' rather than 'repositories' field
      Don't assume options object has a hasOwnProperty method
      Add charset to script link that includes test suite
      Prefix keywords with underscore in tokTypes object
      Run a lint pass, clean up lots of small issues
      [loose parser] Refine closing heuristic for expression lists
      Mark release 0.3.0
      Release 0.3.1 to fix release-making-script screwup in 0.3.0
      Bump version number post-0.3.1
      Always attach a guardedHandlers property to TryStatements
      Linting
      Fix bug with parsing slash after operator-keyword property
      Further refine parseExprList indentation heuristic
      Fix special case to handle regexps that start with =
      Improve error message for ++/re/
      Add support for bizarro <!-- and --> behavior
      Work around docco leaving in a <!-- comment start
      Add .gitignore and .tern-project
      Different approach to working around html comment issue
      Fix wrong end position for VariableDeclaration nodes
      Remove invalid of tokLineStart
      Mark release 0.4
      Bump version number post-0.4.0
      Add directSourceFile option
      Bump version for added option
      Rewrite README
      Work around broken Markdown implementation on github
      [README] Search/replace gone bad
      Fix bug causing comments after 'use strict' to be handled twice
      Make sure syntax errors in regular expressions raise conforming exceptions
      Note non-reentrancy of parser in onComment docs
      [walker] Handle catch scopes more accurately in scopeVisitor
      [loose parser] Make sure VariableDeclaration nodes have at least one decl
      Update lastEnd in tokenizer interface
      Add allowReturnOutsideFunction option
      Don't complain about reserved words in property name position
      Mark version 0.5
      Bump version number post-0.5
      Rename remaining *_t constructors to something sane
      Don't export Node from loose parser, reuse existing Node's proto
      Prevent loose parser from tripping on invalid regexps
      Clean up previous patch
      Check duplicate argument names for rest params
      Add note about browser compatibility to README
      Note partial es6 support in docs
      Mark version 0.6.0
      Bump version number post 0.6
      Fix another bogus piece of code from 31e77b975ed0bf14f68f9b0f6608bbe78d694bf0
      Update docco output for df9eda514ad804258ec84ee437b88493b41be299
      Remove bogus copy-pasted chunk from LICENSE
      Add an AUTHORS list
      Include Harmony tests in test/index.html
      Re-run update_authors.sh to get proper project name in AUTHORS
      More nuanced attribution in comment
      Fix sentence broken by 11dc953bc67195d978d59d106b48f8c0606c5bc0
      Add basic ES6 support in util/walk.js
      Mark version 0.7.0
      Bump version number post 0.7
      Remove trailing whitespace from acorn.js
      [loose parser] Be more careful about calling resetTo
      Add bin/without_eval utility
      Don't keep the docco output in the repository anymore
      Add a prepublish step to package.json
      Really remove html from git repository
      Mark version 0.8.0
      Bump version number post-0.8
      Add parseExpressionAt function to the API
      [loose parser] Don't omit unfinished object literal properties
      [loose parser] Be slightly more agressive about heuristically closing object literals
      [loose parser] Take brace-line indentation into account for objlit closing heuristic
      Add note about deprecated scopeVisitor object
      Mark release 0.9.0
      Bump version number post 0.9
      Adjust start positions of parenthesized expressions to not include parentheses
      Make locations in loose parser consistent with those in regular parser
      Note lack of es6 support in parse_dammit in the README
      [loose parser] Ignore shebang lines
      Remove bogus support for \U escapes
      Only apply kludge from f48503cd31826f8cfb0f0e2b6964879dbe318385 when unicode regexps are not supported
      Remove redundant range info from tests
      Make tests pass for loose parser
      Properly initialize top node start position
      Fix bug in update_authors.sh
      Upgrade jQuery used as test input
      Change token structure of template literals
      Make loose parser parse template strings
      Add allowImportExportEverywhere option
      Mark release 0.10.0
      Bump version number post-0.10
      Give TemplateElements a narrower range
      [loose parser] Improve autoclosing of expression lists
      [loose parser] Make unclosed objects / lists span to the start of the next node
      Mark version 0.11.0
      Bump version number post-0.11
      Note allowHashBang option in README
      Require superclass expressions to be lvals
      Make onToken only fire for actual final tokens
      Revert "Require superclass expressions to be lvals"
      Use parseExprSubscripts instead of parseExpression when parsing superclass
      Make tests pass again for loose parser
      Make tokenizer independent of parser (with regards to '/' disambiguation)
      Slight cleanup of '/' disambiguation
      Remove outdated note about loose parser not supporting ES6
      Restore onToken functionality for loose parser
      [loose parser] Fetch token before comment when tokenizer raises unterminated comment error
      Kill finishNodeAt in acorn_loose as well
      Add a test for issue #201
      Restore patch 9f7cb552648829796ab4d6836d08246e95f16b9d to original shape
      Disallow declaration statements in block-less context

Martin Carlberg (2):
      Unnecessary 'if' as we already know 'ch !== 92'
      Use correct paragraph separator for newline

Mathias Bynens (1):
      Add a script that generates the regular expressions for identifiers

Mathieu 'p01' Henri (1):
      Stricter lineBreak regexp

Max Schaefer (6):
      Remove unused local variables.
      Fix start position for HTML comments and add tests.
      Do not throw syntax error if strict mode function has same name as one of its parameters.
      Only accept for-of loops in ECMA6 mode.
      Guard against missing elements in array patterns when checking function parameters.
      Add option for representing parenthesized expressions in the AST.

Mihai Bazon (1):
      added `sourceFile` and `program` options to parse

Mike Rennie (1):
      Make parse_dammit honour the 'ranges' option

Nicholas C. Zakas (1):
      Ensure empty expression tokens ranges are correct

Nick Fitzgerald (1):
      Add support for running just the tokenizer to the bin/acorn script.

Oskar Schöldström (1):
      Fix \v being treated as v in IE < 9

Paul Harper (2):
      .parse_dammit() now recognizes the locations option, and will add a loc object to the ast nodes as .parse() does
      [loose parser] More fixes to locations

Peter Rust (1):
      [walker] Supply ancestors to visitor functions

PlNG (1):
      Minor: Remove unused argument from readToken_slash

Reyad Attiyat (1):
      Change Literal to JSXText

Rich Harris (1):
      allow `export { default } from "foo"`

Sebastian McKenzie (6):
      add unicode flag support to regex
      make ImportDeclaration and ExportDeclaration semicolons more spec-compliant
      Add support for computed static mutator class methods
      Make semicolon optional in do-while in >=ES6
      Add stray semicolons as class elements
      Add a descriptive error message for two adjacent JSX tags - fixes babel/babel#1682, fixes #19

Shinnosuke Watanabe (2):
      Bump Acorn from v2.x to v3.x
      use `license` instead of deprecated `licenses`

abraidwood (1):
      rearrange isIdentifierStart

impinball (2):
      Add option: `--`
      Split up `parseStatement()`

keeyipchan (1):
      Add testAssert() for arbitrary tests; fix skinLineComments() passing off-by-1 character to onComment(slice(.., end))

krator (1):
      Give true/false/null literals a `raw` property

r-e-d (1):
      Strict mode incorrectly reset after function

zsjforcn (1):
      [package] Add "bin" property to package.json for npm to auto generate exection files.

-----------------------------------------------------------------------

No new revisions were added by this update.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git



More information about the Pkg-javascript-commits mailing list