@hubspot/cms-dev-server 1.2.6 → 1.2.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/dist/app/server/serverEntry.js +4 -4
- package/dist/index.js +1 -1
- package/dist/run.js +1 -1
- package/package.json +3 -3
|
@@ -1611,10 +1611,10 @@ function unstable_usePodcastEpisodes(resolvableIds) {
|
|
|
1611
1611
|
}
|
|
1612
1612
|
return [];
|
|
1613
1613
|
}
|
|
1614
|
-
function useMenu(
|
|
1614
|
+
function useMenu(resolvableIds) {
|
|
1615
1615
|
var _a;
|
|
1616
1616
|
const renderContext = useRenderContext();
|
|
1617
|
-
const uniqueId =
|
|
1617
|
+
const uniqueId = `${resolvableIds.type}:${resolvableIds.value}`;
|
|
1618
1618
|
if (!((_a = renderContext.resolvedDataDependencies) == null ? void 0 : _a.menus)) {
|
|
1619
1619
|
return null;
|
|
1620
1620
|
}
|
|
@@ -1636,10 +1636,10 @@ function useEditorVariableChecks() {
|
|
|
1636
1636
|
var _a;
|
|
1637
1637
|
const renderContext = useRenderContext();
|
|
1638
1638
|
const editorChecksResult = (_a = renderContext.resolvedDataDependencies) == null ? void 0 : _a.editorVariableChecks;
|
|
1639
|
-
if ((editorChecksResult == null ? void 0 : editorChecksResult.
|
|
1639
|
+
if ((editorChecksResult == null ? void 0 : editorChecksResult.type) === "success" && editorChecksResult.data) {
|
|
1640
1640
|
return editorChecksResult.data;
|
|
1641
1641
|
}
|
|
1642
|
-
if ((editorChecksResult == null ? void 0 : editorChecksResult.
|
|
1642
|
+
if ((editorChecksResult == null ? void 0 : editorChecksResult.type) === "error") {
|
|
1643
1643
|
logError(
|
|
1644
1644
|
editorChecksResult.error || "Failed to load editor variable checks"
|
|
1645
1645
|
);
|
package/dist/index.js
CHANGED
|
@@ -1631,7 +1631,7 @@ function trackUsage(action) {
|
|
|
1631
1631
|
eventName: EVENT_NAME,
|
|
1632
1632
|
action,
|
|
1633
1633
|
nodeVersion: getNodeVersionData(),
|
|
1634
|
-
version: "1.2.
|
|
1634
|
+
version: "1.2.9",
|
|
1635
1635
|
os: getPlatform()
|
|
1636
1636
|
};
|
|
1637
1637
|
const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
|
package/dist/run.js
CHANGED
|
@@ -2197,7 +2197,7 @@ function trackUsage(action) {
|
|
|
2197
2197
|
eventName: EVENT_NAME,
|
|
2198
2198
|
action,
|
|
2199
2199
|
nodeVersion: getNodeVersionData(),
|
|
2200
|
-
version: "1.2.
|
|
2200
|
+
version: "1.2.9",
|
|
2201
2201
|
os: getPlatform()
|
|
2202
2202
|
};
|
|
2203
2203
|
const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hubspot/cms-dev-server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@babel/parser": "^7.25.3",
|
|
30
30
|
"@babel/traverse": "^7.25.3",
|
|
31
31
|
"@babel/types": "^7.25.2",
|
|
32
|
-
"@hubspot/cms-components": "^1.2.
|
|
32
|
+
"@hubspot/cms-components": "^1.2.9",
|
|
33
33
|
"@hubspot/local-dev-lib": "4.0.2",
|
|
34
34
|
"@inquirer/select": "^2.0.0",
|
|
35
35
|
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
@@ -133,5 +133,5 @@
|
|
|
133
133
|
"publishConfig": {
|
|
134
134
|
"access": "public"
|
|
135
135
|
},
|
|
136
|
-
"gitHead": "
|
|
136
|
+
"gitHead": "aa364001e6cc06b47b16bd75450483e73c04533b"
|
|
137
137
|
}
|