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

es-value-fixtures

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-value-fixtures - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

6

CHANGELOG.md

@@ -8,2 +8,8 @@ # Changelog

## [v1.3.1](https://github.com/ljharb/es-value-fixtures/compare/v1.3.0...v1.3.1) - 2022-04-25
### Commits
- [Fix] add `intl-fallback-symbol` to `wellKnownSymbols` [`50a5740`](https://github.com/ljharb/es-value-fixtures/commit/50a5740c62f2b936c3743d3e5ada6e4a5c012371)
## [v1.3.0](https://github.com/ljharb/es-value-fixtures/compare/v1.2.1...v1.3.0) - 2022-04-24

@@ -10,0 +16,0 @@

4

index.js

@@ -10,2 +10,3 @@ 'use strict';

var asyncFunctions = require('make-async-function').list();
var IntlFallbackSymbol = require('intl-fallback-symbol');

@@ -48,3 +49,4 @@ var coercibleObject = { valueOf: function () { return 3; }, toString: function () { return 42; } };

Symbol.toPrimitive || [],
Symbol.unscopables || []
Symbol.unscopables || [],
IntlFallbackSymbol || []
) : [];

@@ -51,0 +53,0 @@ var bigints = hasBigInts ? [BigInt(42), BigInt(0)] : [];

{
"name": "es-value-fixtures",
"version": "1.3.0",
"version": "1.3.1",
"description": "Fixtures of ES values, for testing purposes",

@@ -62,2 +62,3 @@ "main": "index.js",

"has-symbols": "^1.0.3",
"intl-fallback-symbol": "^1.0.0",
"make-arrow-function": "^1.2.0",

@@ -64,0 +65,0 @@ "make-async-function": "^1.0.0",

@@ -12,2 +12,3 @@ 'use strict';

var description = require('symbol.prototype.description');
var IntlFallbackSymbol = require('intl-fallback-symbol');

@@ -100,3 +101,8 @@ function testItem(t, key, item) {

};
var actual = flatMap(ownKeys(Symbol), function (k) { return typeof Symbol[k] === 'symbol' ? Symbol[k] : []; });
var actual = flatMap(
ownKeys(Symbol),
function (k) { return typeof Symbol[k] === 'symbol' ? Symbol[k] : []; }
).concat(IntlFallbackSymbol || []);
t.deepEqual(

@@ -103,0 +109,0 @@ values.wellKnownSymbols.sort(comparator),

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