@salesforce/storefront-next-dev 1.5.0-alpha.0 → 1.5.0-alpha.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/README.md +6 -0
- package/dist/audit/ui/assets/{index-aSdbHIeq.js → index-DM8l6IcE.js} +1 -1
- package/dist/audit/ui/index.html +1 -1
- package/dist/audit.js +2 -3
- package/dist/catalog.js +1 -1
- package/dist/commands/audit/catalog.js +3 -2
- package/dist/commands/audit/finalize.js +6 -5
- package/dist/commands/audit/prepare.js +8 -4
- package/dist/commands/audit/progress.js +3 -3
- package/dist/commands/audit/serve.js +4 -1
- package/dist/events.js +3 -511
- package/dist/flags2.js +150 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/mrt/ssr.mjs +50 -50
- package/dist/mrt/ssr.mjs.map +1 -1
- package/dist/mrt/streamingHandler.mjs +56 -56
- package/dist/mrt/streamingHandler.mjs.map +1 -1
- package/dist/package.js +1 -1
- package/dist/results.js +718 -0
- package/dist/server.js +30 -1
- package/dist/server2.js +2 -3
- package/package.json +2 -2
- package/dist/assets.js +0 -25
- package/dist/sanitize.js +0 -185
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";
|
|
@@ -396,7 +396,7 @@ const patchReactRouterPlugin = () => {
|
|
|
396
396
|
|
|
397
397
|
//#endregion
|
|
398
398
|
//#region src/extensibility/target-utils.ts
|
|
399
|
-
const traverse$1 =
|
|
399
|
+
const traverse$1 = traverseModule.default || traverseModule;
|
|
400
400
|
const TARGET_COMPONENT_TAG = "UITarget";
|
|
401
401
|
const TARGET_PROVIDERS_TAG = "UITargetProviders";
|
|
402
402
|
const TARGET_ID_ATTRIBUTE = "targetId";
|
|
@@ -1822,7 +1822,7 @@ const workspacePlugin = () => {
|
|
|
1822
1822
|
|
|
1823
1823
|
//#endregion
|
|
1824
1824
|
//#region src/plugins/componentLoaders.ts
|
|
1825
|
-
const traverse =
|
|
1825
|
+
const traverse = traverseModule.default || traverseModule;
|
|
1826
1826
|
const generate$1 = generate.default || generate;
|
|
1827
1827
|
/**
|
|
1828
1828
|
* Names of exports to strip per environment.
|