Socket
Socket
Sign inDemoInstall

vite-plugin-resolve

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-resolve - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

index.js

@@ -34,7 +34,7 @@ /**

},
async load(id, opts) {
load(id, opts) {
if (resolveKeysWithPrefix.includes(id)) {
const stringOrFunction = resolves[id.replace(prefix, '')];
return typeof stringOrFunction === 'function'
? await stringOrFunction(id, opts)
? stringOrFunction(id, opts)
: stringOrFunction;

@@ -41,0 +41,0 @@ }

{
"name": "vite-plugin-resolve",
"version": "2.0.0",
"version": "2.0.1",
"description": "Custom resolve module content.",

@@ -15,6 +15,6 @@ "main": "index.js",

"vite",
"plugin",
"resolve",
"external",
"vite-plugin-resolve"
"external"
]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc