mdn-polyfills
Advanced tools
Comparing version 5.6.0 to 5.7.0
{ | ||
"name": "mdn-polyfills", | ||
"version": "5.6.0", | ||
"version": "5.7.0", | ||
"description": "MDN polyfills", | ||
@@ -24,2 +24,3 @@ "scripts": { | ||
"includes", | ||
"some", | ||
"repeat", | ||
@@ -40,2 +41,3 @@ "startsWith", | ||
"Array.prototype.includes", | ||
"Array.prototype.some", | ||
"String.prototype.includes", | ||
@@ -42,0 +44,0 @@ "String.prototype.repeat", |
@@ -76,2 +76,8 @@ [https://msn0.github.io/mdn-polyfills](https://msn0.github.io/mdn-polyfills) | ||
### [Array.prototype.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some#Polyfill) | ||
```js | ||
import 'mdn-polyfills/Array.prototype.some'; // 372 bytes | ||
``` | ||
### [String.prototype.includes](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/includes#Polyfill) | ||
@@ -78,0 +84,0 @@ |
@@ -34,2 +34,3 @@ const babelrc = require('babelrc-rollup').default; | ||
rollup(input('./src/Array.prototype.includes/index.js')).then(output('./Array.prototype.includes.js')); | ||
rollup(input('./src/Array.prototype.some/index.js')).then(output('./Array.prototype.some.js')); | ||
rollup(input('./src/Array.of/index.js')).then(output('./Array.of.js')); | ||
@@ -36,0 +37,0 @@ rollup(input('./src/String.prototype.repeat/index.js')).then(output('./String.prototype.repeat.js')); |
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
45695
94
905
164