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

unplugin-auto-import

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-auto-import - npm Package Compare versions

Comparing version 0.1.7 to 0.2.0

dist/chunk-2TXPMTG6.mjs

4

dist/index.js
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js');
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js');
require('./chunk-U6Z5VRX4.js');
exports.default = _chunkG7WHTJIFjs.src_default;
exports.default = _chunkGLANZDAXjs.src_default;
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js');
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js');
require('./chunk-U6Z5VRX4.js');

@@ -11,7 +11,7 @@

config.plugins = config.plugins || [];
config.plugins.unshift(_chunkG7WHTJIFjs.src_default.webpack(options));
config.plugins.unshift(_chunkGLANZDAXjs.src_default.webpack(options));
});
this.nuxt.hook("vite:extend", async (vite) => {
vite.config.plugins = vite.config.plugins || [];
vite.config.plugins.push(_chunkG7WHTJIFjs.src_default.vite(options));
vite.config.plugins.push(_chunkGLANZDAXjs.src_default.vite(options));
});

@@ -18,0 +18,0 @@ }

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js');
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js');
require('./chunk-U6Z5VRX4.js');
// src/rollup.ts
var rollup_default = _chunkG7WHTJIFjs.src_default.rollup;
var rollup_default = _chunkGLANZDAXjs.src_default.rollup;

@@ -9,0 +9,0 @@

@@ -52,2 +52,8 @@ import { Arrayable } from '@antfu/utils';

exclude?: FilterPattern;
/**
* Generate source map.
*
* @default false
*/
sourceMap?: boolean;
}

@@ -57,2 +63,8 @@ interface TransformOptions {

matchRE: RegExp;
/**
* Generate source map.
*
* @default false
*/
sourceMap?: boolean;
}

@@ -59,0 +71,0 @@ interface ResolvedOptions extends Omit<Options, 'imports'>, TransformOptions {

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js');
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js');
require('./chunk-U6Z5VRX4.js');
// src/vite.ts
var vite_default = _chunkG7WHTJIFjs.src_default.vite;
var vite_default = _chunkGLANZDAXjs.src_default.vite;

@@ -9,0 +9,0 @@

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkG7WHTJIFjs = require('./chunk-G7WHTJIF.js');
var _chunkGLANZDAXjs = require('./chunk-GLANZDAX.js');
require('./chunk-U6Z5VRX4.js');
// src/webpack.ts
var webpack_default = _chunkG7WHTJIFjs.src_default.webpack;
var webpack_default = _chunkGLANZDAXjs.src_default.webpack;

@@ -9,0 +9,0 @@

{
"name": "unplugin-auto-import",
"version": "0.1.7",
"version": "0.2.0",
"description": "Register global imports on demand for Vite and Webpack",

@@ -63,3 +63,3 @@ "keywords": [

"magic-string": "^0.25.7",
"unplugin": "^0.2.0"
"unplugin": "^0.2.1"
},

@@ -81,3 +81,3 @@ "devDependencies": {

"tsup": "^4.14.0",
"typescript": "^4.3.5",
"typescript": "^4.4.2",
"vite": "^2.5.1",

@@ -84,0 +84,0 @@ "webpack": "^5.51.1"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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