node_modules/js-tokens/CHANGELOG.md

Version 4.0.0 (2018-01-28)

These are the breaking changes:

Version 3.0.2 (2017-06-28)

Version 3.0.1 (2017-01-30)

Version 3.0.0 (2017-01-11)

This release contains one breaking change, that should improve performance in V8:

So how can you, as a JavaScript developer, ensure that your RegExps are fast? If you are not interested in hooking into RegExp internals, make sure that neither the RegExp instance, nor its prototype is modified in order to get the best performance:

js var re = /./g; re.exec(''); // Fast path. re.new_property = 'slow';

This module used to export a single regex, with .matchToToken bolted on, just like in the above example. This release changes the exports of the module to avoid this issue.

Before:

import jsTokens from "js-tokens"
// or:
var jsTokens = require("js-tokens")
var matchToToken = jsTokens.matchToToken

After:

import jsTokens, {matchToToken} from "js-tokens"
// or:
var jsTokens = require("js-tokens").default
var matchToToken = require("js-tokens").matchToToken

Version 2.0.0 (2016-06-19)

These are the breaking changes:

Version 1.0.3 (2016-03-27)

Version 1.0.2 (2015-10-18)

Version 1.0.1 (2015-06-20)

Version 1.0.0 (2015-02-26)

Version 0.4.1 (2015-02-21)

Version 0.4.0 (2015-02-21)

Version 0.3.1 (2015-01-06)

Version 0.3.0 (2014-12-19)

Version 0.2.0 (2014-06-19)

Version 0.1.0 (2014-03-08)



thisisnic/starrating documentation built on May 18, 2019, 1:32 p.m.