Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

element-internals-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

element-internals-polyfill - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

dist/aom.d.ts

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [0.0.23](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.0.21...v0.0.23) (2020-10-14)
### [0.0.22](https://github.com/calebdwilliams/element-internals-polyfill/compare/v0.0.21...v0.0.22) (2020-07-09)

@@ -7,0 +9,0 @@

14

package.json
{
"name": "element-internals-polyfill",
"version": "0.0.22",
"version": "0.0.23",
"description": "A polyfill for the element internals specification",
"main": "dist/element-internals.js",
"module": "dist/element-internals.js",
"main": "dist/index.js",
"module": "dist/index.js",
"files": [
"dist/element-internals.js"
"dist"
],
"types": "dist/index.d.ts",
"scripts": {

@@ -49,2 +50,3 @@ "test": "karma start karma.conf.js --coverage",

"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-typescript": "^6.0.0",
"babel-plugin-istanbul": "^6.0.0",

@@ -70,5 +72,7 @@ "babel-plugin-transform-async-to-promises": "^0.8.15",

"sinon": "^9.0.2",
"standard-version": "^7.0.0"
"standard-version": "^8.0.1",
"tsc": "^1.20150623.0",
"typescript": "^4.0.3"
},
"dependencies": {}
}

@@ -13,3 +13,3 @@ # Element Internals Polyfill

This package is available on `npm` under the name `construct-style-sheet-polyfill`
This package is available on `npm` under the name `element-internals-polyfill`
and can be installed with [npm](https://docs.npmjs.com/getting-started),

@@ -134,2 +134,2 @@ [yarn](https://yarnpkg.com/en/docs/getting-started), [unpkg](https://unpkg.com)

- Right now providing a cross-browser compliant version of `ElementInternals.reportValidity` is not supported. The method essentially behaves as a proxy for `ElementInternals.checkValidity`.
- The polyfill does support the outcomes of the [Accessibility Object Model](https://wicg.github.io/aom/explainer.html#) for applying accessibility rules on the DOM object. However, the spec states that updates using AOM will not be reflected by DOM attributes, but only on the element's accesibility object. However, to emulate this behavior before it is fully supported, it is necessary to use the attributes. If you choose to use this feature, please note that behavior in polyfilled browsers and non-polyfilled browsers will be different; however, the outcome for users will be the same.
- The polyfill does support the outcomes of the [Accessibility Object Model](https://wicg.github.io/aom/explainer.html#) for applying accessibility rules on the DOM object. However, the spec states that updates using AOM will not be reflected by DOM attributes, but only on the element's accesibility object. However, to emulate this behavior before it is fully supported, it is necessary to use the attributes. If you choose to use this feature, please note that behavior in polyfilled browsers and non-polyfilled browsers will be different; however, the outcome for users will be the same.
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