@homebound/truss 2.29.8 → 2.29.9
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/build/plugin/index.js +2 -4
- package/build/plugin/index.js.map +1 -1
- package/build/vitest.d.ts +2 -5
- package/package.json +12 -14
package/build/plugin/index.js
CHANGED
|
@@ -200,11 +200,9 @@ function toImportSpecifier(entry) {
|
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
// src/plugin/babel-utils.ts
|
|
203
|
-
import
|
|
203
|
+
import generate from "@babel/generator";
|
|
204
204
|
import { parse } from "@babel/parser";
|
|
205
|
-
import
|
|
206
|
-
var generate = _generate.default ?? _generate;
|
|
207
|
-
var traverse = _traverse.default ?? _traverse;
|
|
205
|
+
import traverse from "@babel/traverse";
|
|
208
206
|
function parseModule(code, filename) {
|
|
209
207
|
return parse(code, {
|
|
210
208
|
sourceType: "module",
|