@cocreate/element-prototype
Advanced tools
Comparing version 1.22.1 to 1.22.2
@@ -0,1 +1,8 @@ | ||
## [1.22.2](https://github.com/CoCreate-app/CoCreate-element-prototype/compare/v1.22.1...v1.22.2) (2024-04-27) | ||
### Bug Fixes | ||
* try catch block for script insert ([eff2887](https://github.com/CoCreate-app/CoCreate-element-prototype/commit/eff2887588e5a89ac4cb384cc17242ae29ad2363)) | ||
## [1.22.1](https://github.com/CoCreate-app/CoCreate-element-prototype/compare/v1.22.0...v1.22.1) (2024-03-18) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cocreate/element-prototype", | ||
"version": "1.22.1", | ||
"version": "1.22.2", | ||
"description": "A simple element-prototype component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -194,3 +194,7 @@ import { getAttributes } from '@cocreate/utils'; | ||
} | ||
script.replaceWith(newScript); | ||
try { | ||
script.replaceWith(newScript); | ||
} catch (error) { | ||
console.log(error) | ||
} | ||
} | ||
@@ -197,0 +201,0 @@ |
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
133011
589