vite 4.0.2 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of vite might be problematic. Click here for more details.
- package/LICENSE.md +0 -29
- package/dist/node/chunks/{dep-e4585742.js → dep-3049ac5d.js} +216 -108
- package/dist/node/chunks/{dep-a1fa0d33.js → dep-53dc1ef4.js} +15 -7
- package/dist/node/chunks/{dep-6305614c.js → dep-5e7f419b.js} +1133 -2160
- package/dist/node/cli.js +12 -12
- package/dist/node/index.d.ts +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node-cjs/publicUtils.cjs +52 -23
- package/package.json +3 -3
|
@@ -99,9 +99,17 @@ var resolveId$1 = function (id, base, options) {
|
|
|
99
99
|
})
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
var
|
|
102
|
+
var readCacheExports = {};
|
|
103
|
+
var readCache$1 = {
|
|
104
|
+
get exports(){ return readCacheExports; },
|
|
105
|
+
set exports(v){ readCacheExports = v; },
|
|
106
|
+
};
|
|
103
107
|
|
|
104
|
-
var
|
|
108
|
+
var pifyExports = {};
|
|
109
|
+
var pify$2 = {
|
|
110
|
+
get exports(){ return pifyExports; },
|
|
111
|
+
set exports(v){ pifyExports = v; },
|
|
112
|
+
};
|
|
105
113
|
|
|
106
114
|
var processFn = function (fn, P, opts) {
|
|
107
115
|
return function () {
|
|
@@ -172,7 +180,7 @@ pify$1.all = pify$1;
|
|
|
172
180
|
|
|
173
181
|
var fs = require$$0__default;
|
|
174
182
|
var path$2 = require$$0;
|
|
175
|
-
var pify =
|
|
183
|
+
var pify = pifyExports;
|
|
176
184
|
|
|
177
185
|
var stat = pify(fs.stat);
|
|
178
186
|
var readFile = pify(fs.readFile);
|
|
@@ -211,7 +219,7 @@ readCache$1.exports = function (path, encoding) {
|
|
|
211
219
|
});
|
|
212
220
|
};
|
|
213
221
|
|
|
214
|
-
|
|
222
|
+
readCacheExports.sync = function (path, encoding) {
|
|
215
223
|
path = resolve(path);
|
|
216
224
|
|
|
217
225
|
try {
|
|
@@ -237,7 +245,7 @@ readCache$1.exports.sync = function (path, encoding) {
|
|
|
237
245
|
|
|
238
246
|
};
|
|
239
247
|
|
|
240
|
-
|
|
248
|
+
readCacheExports.get = function (path, encoding) {
|
|
241
249
|
path = resolve(path);
|
|
242
250
|
if (cache[path]) {
|
|
243
251
|
return convert(cache[path].content, encoding);
|
|
@@ -245,7 +253,7 @@ readCache$1.exports.get = function (path, encoding) {
|
|
|
245
253
|
return null;
|
|
246
254
|
};
|
|
247
255
|
|
|
248
|
-
|
|
256
|
+
readCacheExports.clear = function () {
|
|
249
257
|
cache = Object.create(null);
|
|
250
258
|
};
|
|
251
259
|
|
|
@@ -265,7 +273,7 @@ var dataUrl = {
|
|
|
265
273
|
contents,
|
|
266
274
|
};
|
|
267
275
|
|
|
268
|
-
const readCache =
|
|
276
|
+
const readCache = readCacheExports;
|
|
269
277
|
const dataURL$1 = dataUrl;
|
|
270
278
|
|
|
271
279
|
var loadContent$1 = filename => {
|