包详细信息

intl-fallback-symbol

ljharb12kMIT1.1.1

ECMA-402 Intl spec's internal FallbackSymbol

javascript, ecmascript, intl, fallback

自述文件

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

更新日志

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v1.1.1 - 2024-12-18

Commits

  • [actions] split out node 10-20, and 20+ 5f0a813
  • [Dev Deps] update @arethetypeswrong/cli, @ljharb/tsconfig, @types/tape, auto-changelog, has-symbols, tape 139a406
  • [Refactor] use call-bound directly d191f54
  • [Dev Deps] update @types/tape 1d3f606
  • [Deps] update call-bind e243755

v1.1.0 - 2024-08-06

Commits

  • [meta] use npmignore to autogenerate an npmignore file 7fa49f3
  • [New] add TS types 6c409dc
  • [Dev Deps] update @ljharb/eslint-config, aud, npmignore, symbol.prototype.description, tape 99075c7
  • [actions] update checkout action a30893a
  • [Deps] update array.prototype.find, call-bind 0767a7e
  • [Dev Deps] update aud, tape 2527f60
  • [Tests] replace aud with npm audit e0649f8

v1.0.0 - 2022-04-25

Commits