New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

es-symbol

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-symbol - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

ie8-test.html

4

dist/symbol.js

@@ -101,3 +101,3 @@ "use strict";

keyFor: defValue(function (sym) {
if (!isSymbol(sym)) {
if (supportsAccessors && !isSymbol(sym)) {
throw new TypeError("" + sym + " is not a symbol");

@@ -108,3 +108,3 @@ }

if (globalSymbolRegistryList[key] === sym) {
return globalSymbolRegistryList[key].__description__;
return supportsAccessors ? globalSymbolRegistryList[key].__description__ : globalSymbolRegistryList[key].substr(7, globalSymbolRegistryList[key].length - 8);
}

@@ -111,0 +111,0 @@ }

{
"name": "es-symbol",
"version": "1.1.1",
"version": "1.1.2",
"description": "A spec-compliant as much as it could be, small, and tested ES6 Symbol implementation.",

@@ -5,0 +5,0 @@ "main": "dist/symbol.js",

@@ -11,3 +11,3 @@ # es-symbol

* No unnecessary dependencies
* Works in node + browser
* Works in node + browser (IE8--Modern browsers)
* Uses native `Symbol` if possible otherwise exports a polyfill

@@ -14,0 +14,0 @@

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