Socket
Socket
Sign inDemoInstall

runtime-shared

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runtime-shared - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

5

dist/shared.function.js

@@ -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 = {};

2

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

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