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

@open-wc/scoped-elements

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-wc/scoped-elements - npm Package Compare versions

Comparing version 2.0.0-next.6 to 2.0.1

41

CHANGELOG.md
# Change Log
## 2.0.1
### Patch Changes
- 1649ba46: Release bump version as major versions have already been used and unpublished in an accidental publish about a year ago.
## 2.0.0
### Major Changes
- edca5a82: Adds compatibility for [lit](https://lit.dev/) with `lit-html v2` and `lit-element v3`.
- This version does NOT work with lit-element v2 - please use Scoped Elements v1 for it
- Uses a `CustomElementsRegistry` instance for each component class instead of for each component instance. In case you need to have a registry for each component instance, you must override the registry `get` and `set` methods to bind the registry to the component instance
```js
/** @override */
get registry() {
return this.__registry;
}
/** @override */
set registry(registry) {
this.__registry = registry;
}
```
- `getScopedTagName` became deprecated - use the native `el.tagName` instead
### Minor Changes
- 1e54d297: Use the webcomponents polyfill instead of the forked one
### Patch Changes
- 4b9ea6f6: Use lit@2.0 stable based dependencies across the project.
- c05d92fb: Mark `loadPolyfill.js` as a side effect
- 0513917c: Keep deprecated static getScopedTagName function
- ff17798f: Adjust the renderBefore node so that any styles in Lit content render before adoptedStyleSheets.
- a0b5e360: fix getScopedTagName returning the tag that was passed in
## 2.0.0-next.6

@@ -4,0 +45,0 @@

3

package.json
{
"name": "@open-wc/scoped-elements",
"version": "2.0.0-next.6",
"version": "2.0.1",
"publishConfig": {

@@ -17,2 +17,3 @@ "access": "public"

"module": "index.js",
"type": "module",
"scripts": {

@@ -19,0 +20,0 @@ "debug": "cd ../../ && yarn debug --group scoped-elements",

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