mount-script
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -19,3 +19,3 @@ export declare interface HTMLScriptElementEX extends HTMLScriptElement { | ||
*/ | ||
declare function mountScript(src: string, option: JsOptions): Promise<boolean>; | ||
declare function mountScript(src: string, option?: JsOptions): Promise<boolean>; | ||
export default mountScript; | ||
@@ -22,0 +22,0 @@ |
{ | ||
"name": "mount-script", | ||
"description": "A simple function for mounting javascript", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"packageManager": "pnpm@8.5.1", | ||
"main": "dist/mount-script.cjs.js", | ||
"module": "dist/mount-script.esm-bundler.js", | ||
"browser": "dist/mount-script.esm-browser.js", | ||
"unpkg": "dist/mount-script.global.js", | ||
"jsdelivr": "dist/mount-script.global.js", | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.esm-bundler.js", | ||
"browser": "dist/index.esm-browser.js", | ||
"unpkg": "dist/index.global.js", | ||
"jsdelivr": "dist/index.global.js", | ||
"types": "dist/index.d.ts", | ||
@@ -15,5 +15,5 @@ "exports": { | ||
"types": "./dist/index.d.ts", | ||
"module": "./dist/mount-script.esm-bundler.js", | ||
"require": "./dist/mount-script.cjs.js", | ||
"import": "./dist/mount-script.mjs" | ||
"module": "./dist/index.esm-bundler.js", | ||
"require": "./dist/index.cjs.js", | ||
"import": "./dist/index.mjs" | ||
}, | ||
@@ -20,0 +20,0 @@ "./*": "./*" |
@@ -57,3 +57,3 @@ <div style="text-align: center;" align="center"> | ||
<!-- head --> | ||
<script src="https://unpkg.com/mount-script@1.0.0/dist/mount-script.global.prod.js"></script> | ||
<script src="https://unpkg.com/mount-script@1.1.0/dist/index.global.prod.js"></script> | ||
``` | ||
@@ -77,4 +77,4 @@ | ||
[download-url]: https://npmjs.org/package/mount-script | ||
[gzip-image]: http://img.badgesize.io/https://unpkg.com/mount-script/dist/mount-script.global.prod.js?compression=gzip&label=gzip%20size:%20JS | ||
[gzip-url]: http://img.badgesize.io/https://unpkg.com/mount-script/dist/mount-script.global.prod.js?compression=gzip&label=gzip%20size:%20JS | ||
[gzip-image]: http://img.badgesize.io/https://unpkg.com/mount-script/dist/index.global.prod.js?compression=gzip&label=gzip%20size:%20JS | ||
[gzip-url]: http://img.badgesize.io/https://unpkg.com/mount-script/dist/index.global.prod.js?compression=gzip&label=gzip%20size:%20JS | ||
[license-image]: https://img.shields.io/badge/License-MIT-blue.svg | ||
@@ -81,0 +81,0 @@ [license-url]: LICENSE |
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
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
279
15318