@salesforce/storefront-next-dev 1.3.1-alpha.0 → 1.3.2
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/logger.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { fileURLToPath } from "url";
|
|
|
7
7
|
import { parse } from "@babel/parser";
|
|
8
8
|
import { isArrayPattern, isClassDeclaration, isExportSpecifier, isFunctionDeclaration, isIdentifier, isJSXAttribute, isJSXElement, isJSXFragment, isJSXIdentifier, isMemberExpression, isObjectPattern, isObjectProperty, isRestElement, isVariableDeclaration, jsxClosingElement, jsxClosingFragment, jsxElement, jsxFragment, jsxIdentifier, jsxOpeningElement, jsxOpeningFragment, jsxText } from "@babel/types";
|
|
9
9
|
import { generate } from "@babel/generator";
|
|
10
|
-
import
|
|
10
|
+
import traverseModule from "@babel/traverse";
|
|
11
11
|
import { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from "fs";
|
|
12
12
|
import { glob } from "glob";
|
|
13
13
|
import { Node, Project, ts } from "ts-morph";
|
|
@@ -373,7 +373,7 @@ const patchReactRouterPlugin = () => {
|
|
|
373
373
|
|
|
374
374
|
//#endregion
|
|
375
375
|
//#region src/extensibility/target-utils.ts
|
|
376
|
-
const traverse$1 =
|
|
376
|
+
const traverse$1 = traverseModule.default || traverseModule;
|
|
377
377
|
const TARGET_COMPONENT_TAG = "UITarget";
|
|
378
378
|
const TARGET_PROVIDERS_TAG = "UITargetProviders";
|
|
379
379
|
const TARGET_ID_ATTRIBUTE = "targetId";
|
|
@@ -1799,7 +1799,7 @@ const workspacePlugin = () => {
|
|
|
1799
1799
|
|
|
1800
1800
|
//#endregion
|
|
1801
1801
|
//#region src/plugins/componentLoaders.ts
|
|
1802
|
-
const traverse =
|
|
1802
|
+
const traverse = traverseModule.default || traverseModule;
|
|
1803
1803
|
const generate$1 = generate.default || generate;
|
|
1804
1804
|
/**
|
|
1805
1805
|
* Names of exports to strip per environment.
|