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

airbnb-js-shims

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airbnb-js-shims - npm Package Compare versions

Comparing version 1.5.2 to 1.6.0

target/es2019.js

4

CHANGELOG.md

@@ -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 @@ =================

3

package.json
{
"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');
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