Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mount-script

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-script - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

dist/index.cjs.js

2

dist/index.d.ts

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

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