runtime-shared
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -1,4 +0,3 @@ | ||
module.exports = function() { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
module.exports = function() { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
@@ -5,0 +4,0 @@ /******/ var installedModules = {}; |
{ | ||
"name": "runtime-shared", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Shared Runtime.", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
@@ -64,4 +64,4 @@ /* eslint no-extend-native: "off", new-cap: "off" */ | ||
// To ensure proper interoperability with other native functions (e.g. Array.from) | ||
// fallback to eventual native implementation of given symbol | ||
// To ensure proper interoperability with other native functions (e.g. Array.from) | ||
// fallback to eventual native implementation of given symbol | ||
hasInstance: {value: SymbolPolyfill('hasInstance')}, | ||
@@ -101,5 +101,5 @@ isConcatSpreadable: {value: SymbolPolyfill('isConcatSpreadable')}, | ||
value: function() { | ||
var symbol = validateSymbol(this); | ||
if (typeof symbol === 'symbol') return symbol; | ||
return symbol.toString(); | ||
var symbol = validateSymbol(this); | ||
if (typeof symbol === 'symbol') return symbol; | ||
return symbol.toString(); | ||
} | ||
@@ -111,3 +111,3 @@ }); | ||
defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toStringTag, | ||
{value: SymbolPolyfill.prototype[SymbolPolyfill.toStringTag]}); | ||
{value: SymbolPolyfill.prototype[SymbolPolyfill.toStringTag]}); | ||
@@ -119,2 +119,2 @@ // Note: It's important to define `toPrimitive` as last one, as some implementations | ||
defineProperty(HiddenSymbol.prototype, SymbolPolyfill.toPrimitive, | ||
{value: SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive]}); | ||
{value: SymbolPolyfill.prototype[SymbolPolyfill.toPrimitive]}); |
@@ -9,3 +9,3 @@ /* eslint no-extend-native: "off" */ | ||
// If data is iterable (indicated by presence of a forEach method), pre-populate the map | ||
// If data is iterable (indicated by presence of a forEach method), pre-populate the map | ||
data && data.forEach && data.forEach(function(item) { | ||
@@ -24,3 +24,3 @@ this.set.apply(this, item); | ||
else | ||
defineProperty(key, this.name, {value: [key, value], writable: true}); | ||
defineProperty(key, this.name, {value: [key, value], writable: true}); | ||
return this; | ||
@@ -32,3 +32,3 @@ }; | ||
return (entry = key[this.name]) && entry[0] === key ? | ||
entry[1] : undefined; | ||
entry[1] : undefined; | ||
}; | ||
@@ -35,0 +35,0 @@ |
Sorry, the diff of this file is not supported yet
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
230922