New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

all-polyfills

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

all-polyfills

all polyfills can be installed separately

  • 0.8.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

all-polyfills

build version package dependencies minified linter tests license hits

The lastest version of this document is available on Github > all-polyfills

You can load all features: (18 Ko)

<script src="node_modules/all-polyfills/distrib/all-polyfills.min.js"></script>

You can load only required features:

<script src="node_modules/all-polyfills/distrib/fn/Math/acosh.min.js"></script>

You can load only required categories features:

categories features are :

  • Array
  • ArrayBuffer
  • Element
  • IDBKeyRange
  • Math
  • NodeList
  • Number
  • Object
  • Reflect
  • Regex
  • String
  • window

example for category Math

<script src="node_modules/all-polyfills/distrib/Math.min.js"></script>

You can embed only required features not minified in others scripts:

<script src="node_modules/all-polyfills/distrib/fn/Math/acosh.js"></script>

Availables polyfills

Array

copyWithin
every
fill
filter
find
findIndex
flat
flatMap
from
includes
indexOf
isArray
lastIndexOf
of
reduce
reduceRight
some
toLocaleString

ArrayBuffer

transfer

Element

after
before
childElementCount
children
closest
getAttributeNames
hasAttribute
hasAttributes
hasChildNodes
insertAdjacentText
isFinite
lastElementChild
matches
prepend
remove
replaceWith
toggleAttribute

IDBKeyRange

includes

Math

acosh
atanh
cbrt
clz32
cosh
expm1
fround
hypot
imul
log10
log1p
log2
sign
sinh
tanh
trunc

NodeList

forEach

Number

EPSILON
isInteger
isNaN
isSafeInteger
MAX_SAFE_INTEGER
parseFloat
parseInt

Object

assign
create
entries
is
keys
values

Reflect

getOwnPropertySymbols
ownKeys

Regex

flags

String

codePointAt
endsWith
fromCodePoint
includes
padEnd
padStart
repeat
startsWith
substr
trim
trimLeft
trimRight

window

CustomEvent
screenLeft
screenTop

Keywords

FAQs

Package last updated on 18 Jul 2020

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

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