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

js-tokens

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-tokens - npm Package Versions

12

0.3.1

Diff

Changelog

Source

Version 0.3.1 (2015-01-06)

  • Fixed: Support for unicode spaces. They used to be allowed in names (which is very confusing), and some unicode newlines were wrongly allowed in strings and regexes.
lydell
published 0.3.0 •

Changelog

Source

Version 0.3.0 (2014-12-19)

  • Changed: The jsTokens.names array has been replaced with the jsTokens.matchToToken function. The capturing groups of jsTokens are no longer part of the public API; instead use said function. See this [gist] for an example. (Backwards-incompatible change.)
  • Changed: The empty string is now considered an “invalid” token, instead an “empty” token (its own group). (Backwards-incompatible change.)
  • Removed: component support. (Backwards-incompatible change.)
lydell
published 0.2.0 •

Changelog

Source

Version 0.2.0 (2014-06-19)

  • Changed: Match ES6 function arrows (=>) as an operator, instead of its own category (“functionArrow”), for simplicity. (Backwards-incompatible change.)
  • Added: ES6 splats (...) are now matched as an operator (instead of three punctuations). (Backwards-incompatible change.)
lydell
published 0.1.0 •

Changelog

Source

Version 0.1.0 (2014-03-08)

  • Initial release.
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