New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-wasm-pack

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-wasm-pack - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

7

dist/index.js

@@ -114,3 +114,8 @@ "use strict";

const jsName = crateName.replace(/\-/g, '_') + '.js';
const jsPath = path_1.default.join('./node_modules', crateName, jsName);
/**
* if use node module and name is '@group/test'
* cratePath === '@group/test'
* crateName === 'test'
*/
const jsPath = path_1.default.join('./node_modules', isNodeModule ? cratePath : crateName, jsName);
const regex = /input = new URL\('(.+)'.+;/g;

@@ -117,0 +122,0 @@ let code = fs_extra_1.default.readFileSync(path_1.default.resolve(jsPath), { encoding: 'utf-8' });

2

package.json
{
"name": "vite-plugin-wasm-pack",
"version": "0.1.10",
"version": "0.1.11",
"description": "Vite plugin for rust using wasm-pack 🦀",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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