@jsep-plugin/assignment
Advanced tools
Changelog
1.0.0 - 2021-08-22
Rewrote to ESM, added a plugin system, and fixed numerous grammar issues. For most standard use-cases, this release should not be a breaking change, as every effort was made to maintain compatibility.
build
folder to dist
(#130). The package file structure is now:├── CHANGELOG.md
├── LICENSE
├── README.md
├── package.json
├── dist
│ ├── jsep.js
│ ├── jsep.min.js
│ ├── cjs
│ │ ├── jsep.cjs.js
│ │ ├── jsep.cjs.min.js
│ ├── iife
│ │ ├── jsep.iife.js
│ │ ├── jsep.iife.min.js
LogicalExpression
and treat it as a BinaryExpression
(#100)missing unaryOp argument
unexpected "?"
.
now throws unexpected .
()()
now throws unexpected "("
a.this
, a.true
, a.false
, a.null
now match esprima and treat the property as an identifier instead of a literal or ThisExpression() => ...
)a = 2
, a++
)await a.find(async (v1, v2) => await v1(v2))
)/* .. */
and // ...
)new Date()
){a: 1, b}
)/123/ig
)fn(...a)
, [1, ...b]
, {...c}
)`hi ${name}`
, msg`hig ${name}`
)(1, 2)
now returns a SequenceExpression instead of throwing an Unclosed (
error