es-value-fixtures
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -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 @@ |
@@ -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), |
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
19404
256
7
+ Addedintl-fallback-symbol@^1.0.0
+ Addedarray-buffer-byte-length@1.0.1(transitive)
+ Addedarray.prototype.find@2.2.3(transitive)
+ Addedarraybuffer.prototype.slice@1.0.3(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addeddata-view-buffer@1.0.1(transitive)
+ Addeddata-view-byte-length@1.0.1(transitive)
+ Addeddata-view-byte-offset@1.0.0(transitive)
+ Addedes-abstract@1.23.3(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedes-set-tostringtag@2.0.3(transitive)
+ Addedes-shim-unscopables@1.0.2(transitive)
+ Addedes-to-primitive@1.2.1(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction.prototype.name@1.1.6(transitive)
+ Addedfunctions-have-names@1.2.3(transitive)
+ Addedget-symbol-description@1.0.2(transitive)
+ Addedglobalthis@1.0.4(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedinternal-slot@1.0.7(transitive)
+ Addedintl-fallback-symbol@1.1.0(transitive)
+ Addedis-array-buffer@3.0.4(transitive)
+ Addedis-bigint@1.0.4(transitive)
+ Addedis-boolean-object@1.1.2(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-data-view@1.0.1(transitive)
+ Addedis-date-object@1.0.5(transitive)
+ Addedis-negative-zero@2.0.3(transitive)
+ Addedis-number-object@1.0.7(transitive)
+ Addedis-regex@1.1.4(transitive)
+ Addedis-shared-array-buffer@1.0.3(transitive)
+ Addedis-string@1.0.7(transitive)
+ Addedis-symbol@1.0.4(transitive)
+ Addedis-typed-array@1.1.13(transitive)
+ Addedis-weakref@1.0.2(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedobject-inspect@1.13.3(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedregexp.prototype.flags@1.5.3(transitive)
+ Addedsafe-array-concat@1.1.2(transitive)
+ Addedsafe-regex-test@1.0.3(transitive)
+ Addedset-function-name@2.0.2(transitive)
+ Addedside-channel@1.0.6(transitive)
+ Addedstring.prototype.trim@1.2.9(transitive)
+ Addedstring.prototype.trimend@1.0.8(transitive)
+ Addedstring.prototype.trimstart@1.0.8(transitive)
+ Addedtyped-array-buffer@1.0.2(transitive)
+ Addedtyped-array-byte-length@1.0.1(transitive)
+ Addedtyped-array-byte-offset@1.0.2(transitive)
+ Addedtyped-array-length@1.0.6(transitive)
+ Addedunbox-primitive@1.0.2(transitive)
+ Addedwhich-boxed-primitive@1.0.2(transitive)
+ Addedwhich-typed-array@1.1.15(transitive)