airbnb-js-shims
Advanced tools
Comparing version 1.5.2 to 1.6.0
@@ -0,1 +1,5 @@ | ||
1.6.0 / 2018-05-31 | ||
================= | ||
* [New] add `String.prototype.matchAll`, and `es2019` target | ||
1.5.2 / 2018-05-27 | ||
@@ -2,0 +6,0 @@ ================= |
{ | ||
"name": "airbnb-js-shims", | ||
"version": "1.5.2", | ||
"version": "1.6.0", | ||
"description": "JS language shims used by Airbnb.", | ||
@@ -36,2 +36,3 @@ "main": "index.js", | ||
"promise.prototype.finally": "^3.1.0", | ||
"string.prototype.matchall": "^3.0.0", | ||
"string.prototype.padend": "^3.0.0", | ||
@@ -38,0 +39,0 @@ "string.prototype.padstart": "^3.0.0", |
@@ -27,2 +27,3 @@ # airbnb-js-shims <sup>[![Version Badge][2]][1]</sup> | ||
- [Symbol.prototype.description](https://npmjs.com/package/symbol.prototype.description) (Stage 3, ES2019 candidate) | ||
- [String.prototype.matchAll](https://npmjs.com/package/string.prototype.matchall) (Stage 3, ES2019 candidate) | ||
@@ -44,4 +45,5 @@ ## Targeting versions | ||
- `airbnb-js-shims/target/es2018` | ||
- `airbnb-js-shims/target/es2019` | ||
[1]: https://npmjs.org/package/airbnb-js-shims | ||
[2]: http://versionbadg.es/airbnb/js-shims.svg |
'use strict'; | ||
// Promise.prototype.finally is stage 3, a possible candidate for ES2018 | ||
if (typeof Promise === 'function') { | ||
require('promise.prototype.finally/shim')(); // eslint-disable-line global-require | ||
require('promise.prototype.finally/auto'); // eslint-disable-line global-require | ||
} | ||
require('array.prototype.flat/shim')(); | ||
// TODO: remove this from next semver-major | ||
require('array.prototype.flatten/shim')(); | ||
require('array.prototype.flatmap/shim')(); | ||
require('symbol.prototype.description/shim')(); | ||
require('./es2019'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13558
14
58
48
15
+ Addedstring.prototype.matchall@3.0.2(transitive)