Socket
Socket
Sign inDemoInstall

mount-image

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mount-image - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

dist/index.cjs.js

2

dist/index.d.ts

@@ -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

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