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

vite-plugin-cdn-import

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-cdn-import - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

5

dist/index.js

@@ -124,2 +124,5 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var __defProp = Object.defineProperty;

}
function isUnpkg(prodUrl) {
return prodUrl.includes("//unpkg.com");
}
function autoComplete(name) {

@@ -131,3 +134,3 @@ const config = modulesConfig[name];

return (prodUrl) => {
if (isJsdeliver(prodUrl)) {
if (isJsdeliver(prodUrl) || isUnpkg(prodUrl)) {
return __spreadValues({

@@ -134,0 +137,0 @@ name,

2

package.json
{
"name": "vite-plugin-cdn-import",
"version": "0.3.0",
"version": "0.3.1",
"description": "Import packages from CDN for the vite plugin",

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

Sorry, the diff of this file is not supported yet

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