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

@atlaskit/polyfills

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/polyfills - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

string-prototype-includes.js

14

CHANGELOG.md

@@ -1,6 +0,16 @@

<a name="1.1.0"></a>
# 1.1.0 (2017-10-13)
<a name="1.2.0"></a>
# 1.2.0 (2017-11-13)
<a name="1.2.0"></a>
# 1.2.0 (2017-11-13)
### Features
* **component:** add a polyfill for String.prototype.includes ([094f25b](https://bitbucket.org/atlassian/atlaskit/commits/094f25b))
<a name="1.1.0"></a>

@@ -7,0 +17,0 @@ # 1.1.0 (2017-10-13)

@@ -73,3 +73,3 @@ module.exports = /******/

"use strict";
__webpack_require__(2), __webpack_require__(3);
__webpack_require__(2), __webpack_require__(3), __webpack_require__(5);
}, /* 2 */

@@ -117,2 +117,12 @@ /***/

module.exports = require("babel-runtime/core-js/object/assign");
}, /* 5 */
/***/
function(module, exports) {
"use strict";
/* eslint-disable */
String.prototype.includes || Object.defineProperty(String.prototype, "includes", {
value: function(search, start) {
return "number" != typeof start && (start = 0), !(start + search.length > this.length) && this.indexOf(search, start) !== -1;
}
});
} ]);

2

dist/bundle-cjs.min.js

@@ -1,1 +0,1 @@

module.exports=function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}var e={};return r.m=t,r.c=e,r.p="",r(0)}([function(t,r,e){t.exports=e(1)},function(t,r,e){"use strict";e(2),e(3)},function(t,r){"use strict";Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,r){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if(0===n)return!1;for(var o=0|r,u=Math.max(o>=0?o:n-Math.abs(o),0);u<n;){if(function(t,r){return t===r||"number"==typeof t&&"number"==typeof r&&isNaN(t)&&isNaN(r)}(e[u],t))return!0;u++}return!1}})},function(t,r,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=e(4),u=n(o);"function"!=typeof u.default&&(Object.assign=function(t,r){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var u in o)Object.prototype.hasOwnProperty.call(o,u)&&(e[u]=o[u])}return e})},function(t,r){t.exports=require("babel-runtime/core-js/object/assign")}]);
module.exports=function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){t.exports=r(1)},function(t,e,r){"use strict";r(2),r(3),r(5)},function(t,e){"use strict";Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var r=Object(this),n=r.length>>>0;if(0===n)return!1;for(var o=0|e,i=Math.max(o>=0?o:n-Math.abs(o),0);i<n;){if(function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}(r[i],t))return!0;i++}return!1}})},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}var o=r(4),i=n(o);"function"!=typeof i.default&&(Object.assign=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r})},function(t,e){t.exports=require("babel-runtime/core-js/object/assign")},function(t,e){"use strict";String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(t,e){return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&this.indexOf(t,e)!==-1}})}]);

@@ -76,3 +76,3 @@ !function(root, factory) {

"use strict";
__webpack_require__(2), __webpack_require__(3);
__webpack_require__(2), __webpack_require__(3), __webpack_require__(5);
}, /* 2 */

@@ -120,3 +120,13 @@ /***/

module.exports = __WEBPACK_EXTERNAL_MODULE_4__;
}, /* 5 */
/***/
function(module, exports) {
"use strict";
/* eslint-disable */
String.prototype.includes || Object.defineProperty(String.prototype, "includes", {
value: function(search, start) {
return "number" != typeof start && (start = 0), !(start + search.length > this.length) && this.indexOf(search, start) !== -1;
}
});
} ]);
});

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/core-js/object/assign")):"function"==typeof define&&define.amd?define(["babel-runtime/core-js/object/assign"],t):"object"==typeof exports?exports["@atlaskit/polyfills"]=t(require("babel-runtime/core-js/object/assign")):e["@atlaskit/polyfills"]=t(e["babel-runtime/core-js/object/assign"])}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(1)},function(e,t,r){"use strict";r(2),r(3)},function(e,t){"use strict";Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var r=Object(this),n=r.length>>>0;if(0===n)return!1;for(var o=0|t,i=Math.max(o>=0?o:n-Math.abs(o),0);i<n;){if(function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}(r[i],e))return!0;i++}return!1}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var o=r(4),i=n(o);"function"!=typeof i.default&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r})},function(t,r){t.exports=e}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("babel-runtime/core-js/object/assign")):"function"==typeof define&&define.amd?define(["babel-runtime/core-js/object/assign"],t):"object"==typeof exports?exports["@atlaskit/polyfills"]=t(require("babel-runtime/core-js/object/assign")):e["@atlaskit/polyfills"]=t(e["babel-runtime/core-js/object/assign"])}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){e.exports=r(1)},function(e,t,r){"use strict";r(2),r(3),r(5)},function(e,t){"use strict";Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var r=Object(this),n=r.length>>>0;if(0===n)return!1;for(var o=0|t,i=Math.max(o>=0?o:n-Math.abs(o),0);i<n;){if(function(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}(r[i],e))return!0;i++}return!1}})},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var o=r(4),i=n(o);"function"!=typeof i.default&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(e),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(r[i]=o[i])}return r})},function(t,r){t.exports=e},function(e,t){"use strict";String.prototype.includes||Object.defineProperty(String.prototype,"includes",{value:function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&this.indexOf(e,t)!==-1}})}])});
import '../array-prototype-includes';
import '../object-assign';
import '../object-assign';
import '../string-prototype-includes';
{
"name": "@atlaskit/polyfills",
"version": "1.1.0",
"version": "1.2.0",
"config": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -12,3 +12,3 @@ [![AtlasKit component registry](https://img.shields.io/badge/AtlasKit-components-FF5230.svg)](http://atlaskit.atlassian.com)

Interact with a [live demo of the @atlaskit/polyfills component](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/polyfills/1.1.0/).
Interact with a [live demo of the @atlaskit/polyfills component](https://aui-cdn.atlassian.com/atlaskit/stories/@atlaskit/polyfills/1.2.0/).

@@ -15,0 +15,0 @@ ## Installation

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