Socket
Book a DemoInstallSign in
Socket

intl-fallback-symbol

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intl-fallback-symbol

ECMA-402 Intl spec's internal `FallbackSymbol`

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
12K
-57.15%
Maintainers
1
Weekly downloads
 
Created
Source

intl-fallback-symbol Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

ECMA-402 Intl spec's internal FallbackSymbol.

This Symbol is well-known - shared across realms.

It is present in the following engines with the description "IntlLegacyConstructedSymbol" (spec):

  • node >= 16
  • Chrome >= 91
  • Safari >= 14.1
  • Firefox >= 54

It is present in the following engines with the description "IntlFallback": (The ES2017 Intl spec did not specify a description)

  • node >=8 <16
  • Chrome 57 - 90

When it is present, the package will export it; when not, it will export undefined.

Example

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

var assert = require('assert');

assert(typeof IntlFallbackSymbol === 'symbol');

Tests

Simply clone the repo, npm install, and run npm test

Keywords

javascript

FAQs

Package last updated on 18 Dec 2024

Did you know?

Socket

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.

Install

Related posts