@atlaskit/polyfills
Advanced tools
Comparing version 1.2.2 to 1.2.3
# @atlaskit/polyfills | ||
## 1.2.3 | ||
- [patch] Removes broken dist builds and simply exposes individual polyfills [c9e83f6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c9e83f6) | ||
## 1.2.2 | ||
@@ -4,0 +7,0 @@ - [patch] Added *.js glob to files property in package.json, moved polyfills to root [96f25cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/96f25cc) |
15
index.js
// @flow | ||
/* | ||
This file is npmignored and is only used so that locally, babel will find the src/index.js | ||
file before looking in package.json:main | ||
Note: This package is different to others where the root index file is just used as a workaround | ||
The polyfills package needs to expose each individual polyfill as well as a single entrance that | ||
pulls them all in | ||
e.g require('@atlaskit/polyfills/object-assign') or require('@atlaskit/polyfills') | ||
It deliberately does not have an atlaskit:src field as this causes issues when we alias pkg's | ||
locally. | ||
This file is also deliberately es5 as we wont be babelifying it. | ||
*/ | ||
export * from './src/'; | ||
require('./array-prototype-includes'); | ||
require('./object-assign'); | ||
require('./string-prototype-includes'); |
{ | ||
"name": "@atlaskit/polyfills", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "A package containing polyfills for native methods.", | ||
"license": "Apache-2.0", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"atlaskit:src": "src/index.js", | ||
"main": "index.js", | ||
"files": [ | ||
"dist", | ||
"*.js" | ||
@@ -12,0 +9,0 @@ ], |
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
4098
71
8