@vitejs/plugin-legacy 6.1.0 → 6.1.1

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.
package/dist/index.d.cts CHANGED
@@ -43,5 +43,5 @@ declare function viteLegacyPlugin(options?: Options): Plugin[];
43
43
  declare function detectPolyfills(code: string, targets: any, assumptions: Record<string, boolean>, list: Set<string>): Promise<void>;
44
44
  declare const cspHashes: string[];
45
45
 
46
- export = viteLegacyPlugin;
47
- export { type Options, cspHashes, detectPolyfills };
46
+ export { cspHashes, viteLegacyPlugin as default, detectPolyfills };
47
+ export type { Options };
package/dist/index.d.mts CHANGED
@@ -43,4 +43,5 @@ declare function viteLegacyPlugin(options?: Options): Plugin[];
43
43
  declare function detectPolyfills(code: string, targets: any, assumptions: Record<string, boolean>, list: Set<string>): Promise<void>;
44
44
  declare const cspHashes: string[];
45
45
 
46
- export { type Options, cspHashes, viteLegacyPlugin as default, detectPolyfills };
46
+ export { cspHashes, viteLegacyPlugin as default, detectPolyfills };
47
+ export type { Options };
package/dist/index.d.ts CHANGED
@@ -43,5 +43,5 @@ declare function viteLegacyPlugin(options?: Options): Plugin[];
43
43
  declare function detectPolyfills(code: string, targets: any, assumptions: Record<string, boolean>, list: Set<string>): Promise<void>;
44
44
  declare const cspHashes: string[];
45
45
 
46
- export = viteLegacyPlugin;
47
- export { type Options, cspHashes, detectPolyfills };
46
+ export { cspHashes, viteLegacyPlugin as default, detectPolyfills };
47
+ export type { Options };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitejs/plugin-legacy",
3
- "version": "6.1.0",
3
+ "version": "6.1.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Evan You",
@@ -52,8 +52,8 @@
52
52
  "devDependencies": {
53
53
  "acorn": "^8.14.1",
54
54
  "picocolors": "^1.1.1",
55
- "unbuild": "^3.5.0",
56
- "vite": "6.3.0"
55
+ "unbuild": "3.4.2",
56
+ "vite": "6.3.3"
57
57
  },
58
58
  "scripts": {
59
59
  "dev": "unbuild --stub",