mount-image
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -21,5 +21,5 @@ export declare interface HTMLImageElementEX extends HTMLImageElement { | ||
*/ | ||
declare function mountImage(src: string, option: ImgOptions): Promise<boolean | string>; | ||
declare function mountImage(src: string, option?: ImgOptions): Promise<boolean | string>; | ||
export default mountImage; | ||
export { } |
{ | ||
"name": "mount-image", | ||
"description": "A simple function for mounting image", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"packageManager": "pnpm@8.5.1", | ||
"main": "dist/mount-image.cjs.js", | ||
"module": "dist/mount-image.esm-bundler.js", | ||
"browser": "dist/mount-image.esm-browser.js", | ||
"unpkg": "dist/mount-image.global.js", | ||
"jsdelivr": "dist/mount-image.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-image.esm-bundler.js", | ||
"require": "./dist/mount-image.cjs.js", | ||
"import": "./dist/mount-image.mjs" | ||
"module": "./dist/index.esm-bundler.js", | ||
"require": "./dist/index.cjs.js", | ||
"import": "./dist/index.mjs" | ||
}, | ||
@@ -104,5 +104,5 @@ "./*": "./*" | ||
"javascript", | ||
"js library", | ||
"js lib", | ||
"js tools", | ||
"mount-img", | ||
"load-img", | ||
"load-image", | ||
"saqqdy" | ||
@@ -109,0 +109,0 @@ ], |
@@ -57,3 +57,3 @@ <div style="text-align: center;" align="center"> | ||
<!-- head --> | ||
<script src="https://unpkg.com/mount-image@1.0.0/dist/mount-image.global.prod.js"></script> | ||
<script src="https://unpkg.com/mount-image@1.0.0/dist/index.global.prod.js"></script> | ||
``` | ||
@@ -77,4 +77,4 @@ | ||
[download-url]: https://npmjs.org/package/mount-image | ||
[gzip-image]: http://img.badgesize.io/https://unpkg.com/mount-image/dist/mount-image.global.prod.js?compression=gzip&label=gzip%20size:%20JS | ||
[gzip-url]: http://img.badgesize.io/https://unpkg.com/mount-image/dist/mount-image.global.prod.js?compression=gzip&label=gzip%20size:%20JS | ||
[gzip-image]: http://img.badgesize.io/https://unpkg.com/mount-image/dist/index.global.prod.js?compression=gzip&label=gzip%20size:%20JS | ||
[gzip-url]: http://img.badgesize.io/https://unpkg.com/mount-image/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
15238