Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
well-known-symbols
Advanced tools
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
New Well-Known Symbols will be added after they reach stage 3.
This package implements the es-shim API “multi” interface. It works in an ES3-supported environment and complies with the spec.
Note: functionality provided by this package prior to v4 can be found in:
npm install --save well-known-symbols
const assert = require('assert');
require('well-known-symbols/auto');
assert.equal(typeof Symbol.asyncIterator, 'symbol');
assert.equal(typeof Symbol.hasInstance, 'symbol');
assert.equal(typeof Symbol.isConcatSpreadable, 'symbol');
assert.equal(typeof Symbol.iterator, 'symbol');
assert.equal(typeof Symbol.match, 'symbol');
assert.equal(typeof Symbol.matchAll, 'symbol');
assert.equal(typeof Symbol.replace, 'symbol');
assert.equal(typeof Symbol.search, 'symbol');
assert.equal(typeof Symbol.species, 'symbol');
assert.equal(typeof Symbol.split, 'symbol');
assert.equal(typeof Symbol.toPrimitive, 'symbol');
assert.equal(typeof Symbol.toStringTag, 'symbol');
assert.equal(typeof Symbol.unscopables, 'symbol');
Clone the repo, npm install
, and run npm test
v4.1.0 - 2025-01-06
Symbol.dispose
, Symbol.asyncDispose
303b0a6
@es-shims/api
, @ljharb/eslint-config
, auto-changelog
, is-registered-symbol
, is-symbol
, is-well-known-symbol
, npmignore
, tape
7316942
get-intrinsic
, has-symbols
7f58dbd
@es-shims/api
2e14122
engines.node
c14741e
aud
with npm audit
828e18f
prepublishOnly
script cbd7521
f178b97
FAQs
An ESnext spec-compliant shim/polyfill/replacement for all Well-Known Symbols that works in any environment with Symbols.
The npm package well-known-symbols receives a total of 489,731 weekly downloads. As such, well-known-symbols popularity was classified as popular.
We found that well-known-symbols demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.