Releases: EricSmekens/jsep
Releases Β· EricSmekens/jsep
@jsep-plugin/comment-v1.0.2
@jsep-plugin/comment-v1.0.2 (2021-10-17)
Bug Fixes
@jsep-plugin/assignment-v1.1.0
@jsep-plugin/assignment-v1.1.0 (2021-10-17)
Bug Fixes
- assignment operators in multiple operator expressions (592b422)
Features
- expose plugin constants to support extensibility (6754d98)
v1.1.1
v1.1.0
@jsep-plugin/ternary-v1.0.1
@jsep-plugin/ternary-v1.0.1 (2021-10-03)
Bug Fixes
@jsep-plugin/object-v1.1.0
@jsep-plugin/object-v1.1.0 (2021-10-03)
Bug Fixes
- add value key for IDENTIFIER object properties for consistency (486525d)
- binary : operator should be greater than assignment operators (6b58011)
Features
- add support for member expressions of an object
{ a: 1 }['a']
(b5bcc60)
v1.0.3
v1.0.2
Republish to include types.
v1.0.1
1.0.0 package missed out on a package.json for the CommonJS module configuration.
This is a republish that will support CommonJS.
v1.0.0
We're current in progress of releasing the 1.0.0 version. We did encounter some publishing issues on the plugins, but they will follow up soon!
Rewrote to ESM, added a plugin system, and fixed numerous grammer issues
Breaking Changes
- renamed
build
folder todist
(#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
- Removed
LogicalExpression
and treat it as aBinaryExpression
(#100) - Call arguments must be either all comma-separated or all space-separated, but not mixed
Added
- Added a plugin system, including plugins for
- arrow expressions (
() => ...
) - assigment and update expressions (
a = 2
,a++
) - comments (
/* .. */
and// ...
) - new expressions (
new Date()
) - object expressions (
{a: 1, b}
) - regex support (
/123/ig
) - spread operator (
fn(...a)
,[1, ...b]
,{...c}
) - template expressions (
`hi ${name}`
,msg`hig ${name}`
)
- arrow expressions (
Updated
(1, 2)
now returns a SequenceExpression instead of throwing anUnclosed (
error- moved the ConditionExpression (ternary) into a plugin, but it is still included by default