Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsep

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsep - npm Package Compare versions

Comparing version 1.3.0-beta.1 to 1.3.0

2

package.json
{
"name": "jsep",
"version": "1.3.0-beta.1",
"version": "1.3.0",
"description": "a tiny JavaScript expression parser",

@@ -5,0 +5,0 @@ "author": "Stephen Oney <swloney@gmail.com> (http://from.so/)",

@@ -97,14 +97,15 @@ ## jsep: A Tiny JavaScript Expression Parser

#### JSEP-provided plugins:
| | |
| ------------------------------------ | ----------------------------------------------------------------------------------------- |
| [ternary](packages/ternary) | Built-in by default, adds support for ternary `a ? b : c` expressions |
| [arrow](packages/arrow) | Adds arrow-function support: `v => !!v` |
| [assignment](packages/assignment) | Adds assignment and update expression support: `a = 2`, `a++` |
| [comment](packages/comment) | Adds support for ignoring comments: `a /* ignore this */ > 1 // ignore this too` |
| [new](packages/new) | Adds 'new' keyword support: `new Date()` |
| [object](packages/object) | Adds object expression support: `{ a: 1, b: { c }}` |
| [regex](packages/regex) | Adds support for regular expression literals: `/[a-z]{2}/ig` |
| [spread](packages/spread) | Adds support for the spread operator, `fn(...[1, ...a])`. Works with `object` plugin, too |
| [template](packages/template) | Adds template literal support: `` `hi ${name}` `` |
| | |
| | |
|-----------------------------------|-------------------------------------------------------------------------------------------|
| [ternary](packages/ternary) | Built-in by default, adds support for ternary `a ? b : c` expressions |
| [arrow](packages/arrow) | Adds arrow-function support: `v => !!v` |
| [assignment](packages/assignment) | Adds assignment and update expression support: `a = 2`, `a++` |
| [comment](packages/comment) | Adds support for ignoring comments: `a /* ignore this */ > 1 // ignore this too` |
| [new](packages/new) | Adds 'new' keyword support: `new Date()` |
| [numbers](packages/numbers) | Adds hex, octal, and binary number support, ignore _ char |
| [object](packages/object) | Adds object expression support: `{ a: 1, b: { c }}` |
| [regex](packages/regex) | Adds support for regular expression literals: `/[a-z]{2}/ig` |
| [spread](packages/spread) | Adds support for the spread operator, `fn(...[1, ...a])`. Works with `object` plugin, too |
| [template](packages/template) | Adds template literal support: `` `hi ${name}` `` |
| | |

@@ -111,0 +112,0 @@ #### How to add plugins:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc