@open-wc/scoped-elements
Advanced tools
Comparing version 2.0.0-next.0 to 2.0.0-next.2
# Change Log | ||
## 2.0.0-next.2 | ||
### Patch Changes | ||
- a0b5e360: fix getScopedTagName returning the tag that was passed in | ||
## 2.0.0-next.1 | ||
### Patch Changes | ||
- c05d92fb: Mark `loadPolyfill.js` as a side effect | ||
## 2.0.0-next.0 | ||
@@ -4,0 +16,0 @@ |
{ | ||
"name": "@open-wc/scoped-elements", | ||
"version": "2.0.0-next.0", | ||
"version": "2.0.0-next.2", | ||
"publishConfig": { | ||
@@ -49,3 +49,5 @@ "access": "public" | ||
"types": "types/index.d.ts", | ||
"sideEffects": false | ||
"sideEffects": [ | ||
"./src/loadPolyfill.js" | ||
] | ||
} |
@@ -13,3 +13,3 @@ # Development >> Scoped Elements ||40 | ||
Version 2 of Scoped Elements only supports [lit](https://github.com/open-wc/open-wc/blob/e99947128fdda2411387a171de74519331c0e8e8/docs/docs/development/lit.dev) with `lit-element 3.x`. If you need to support `lit-element 2.x` be sure to use version 1 of Scoped Elements. | ||
Version 2 of Scoped Elements only supports [lit](https://lit.dev/) with `lit-element 3.x`. If you need to support `lit-element 2.x` be sure to use version 1 of Scoped Elements. | ||
@@ -16,0 +16,0 @@ </inline-notification> |
@@ -132,6 +132,9 @@ import './loadPolyfill.js'; | ||
* @deprecated use the native el.tagName instead | ||
* | ||
* @param {string} tagName | ||
* @returns {string} the tag name in lowercase | ||
*/ | ||
getScopedTagName() { | ||
return this.tagName.toLowerCase(); | ||
// eslint-disable-next-line class-methods-use-this | ||
getScopedTagName(tagName) { | ||
return tagName; | ||
} | ||
@@ -138,0 +141,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
66540
561
0