vite-plugin-utils
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -75,2 +75,3 @@ import path from 'node:path'; | ||
for (const key of Object.keys(ast)) { | ||
// @ts-ignore | ||
await (typeof ast[key] === 'object' && walk(ast[key], visitors, ancestors)); | ||
@@ -93,2 +94,3 @@ } | ||
for (const key of Object.keys(ast)) { | ||
// @ts-ignore | ||
typeof ast[key] === 'object' && walkSync(ast[key], visitors, ancestors); | ||
@@ -95,0 +97,0 @@ } |
@@ -14,3 +14,3 @@ import path from 'node:path' | ||
export class MagicString { | ||
private overwrites: { loc: [number, number]; content: string }[] | ||
private overwrites!: { loc: [number, number]; content: string }[] | ||
private starts = '' | ||
@@ -90,2 +90,3 @@ private ends = '' | ||
for (const key of Object.keys(ast)) { | ||
// @ts-ignore | ||
await (typeof ast[key] === 'object' && walk(ast[key], visitors, ancestors)) | ||
@@ -114,2 +115,3 @@ } | ||
for (const key of Object.keys(ast)) { | ||
// @ts-ignore | ||
typeof ast[key] === 'object' && walkSync(ast[key], visitors, ancestors) | ||
@@ -116,0 +118,0 @@ } |
{ | ||
"name": "vite-plugin-utils", | ||
"description": "A collection of opinionated Vite plugin utils", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "main": "", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28146
851