@hubspot/cms-dev-server 1.0.10 → 1.0.16

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.
@@ -193,7 +193,8 @@ var ClientRenderContextProvider = ({
193
193
  hydrationFinished,
194
194
  island,
195
195
  entryPointBasePath: basePath,
196
- supplementalFieldValues: island == null ? void 0 : island.supplementalFieldValues
196
+ supplementalFieldValues: island == null ? void 0 : island.supplementalFieldValues,
197
+ resolvedDataDependencies: island == null ? void 0 : island.resolvedDataDependencies
197
198
  };
198
199
  useLayoutEffect(() => {
199
200
  if (hydrationFinished.current) {
@@ -9,7 +9,7 @@ import { normalizePath as normalizePath2 } from "vite";
9
9
  import { createServer as createViteServer } from "vite";
10
10
  import { default as react } from "@vitejs/plugin-react";
11
11
 
12
- // ../cms-js-internal/dist/types-CnX5J5m1.js
12
+ // ../cms-js-internal/dist/types-CtlqY6u0.js
13
13
  import path from "path";
14
14
  var viteRoot;
15
15
  var viteCommand;
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { createServer as createViteServer } from "vite";
3
3
  import { default as react } from "@vitejs/plugin-react";
4
4
 
5
- // ../cms-js-internal/dist/types-CnX5J5m1.js
5
+ // ../cms-js-internal/dist/types-CtlqY6u0.js
6
6
  import path from "path";
7
7
  import { createHash } from "crypto";
8
8
  import fs, { readFileSync, existsSync, readdirSync, lstatSync } from "fs";
@@ -1515,7 +1515,7 @@ function trackUsage(action) {
1515
1515
  eventName: EVENT_NAME,
1516
1516
  action,
1517
1517
  nodeVersion: getNodeVersionData(),
1518
- version: "1.0.10",
1518
+ version: "1.0.16",
1519
1519
  os: getPlatform()
1520
1520
  };
1521
1521
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
@@ -1,4 +1,4 @@
1
- // ../cms-js-internal/dist/types-CnX5J5m1.js
1
+ // ../cms-js-internal/dist/types-CtlqY6u0.js
2
2
  import path from "path";
3
3
  import { createHash } from "crypto";
4
4
  import fs, { readFileSync, existsSync, readdirSync, lstatSync } from "fs";
@@ -322,7 +322,8 @@ var GATES = [
322
322
  "CMS:JSRenderer:RemoveMockClientEntryPlugin",
323
323
  "CMS:JSRenderer:AnalyzeCmsModules",
324
324
  "CMS:JSRenderer:ClientOnlySupplementalFieldSerialization",
325
- "CMS:React:UnifiedThemePreview"
325
+ "CMS:React:UnifiedThemePreview",
326
+ "CMS:JSRenderer:CompressResponse"
326
327
  ];
327
328
  var ENABLED_FEATURES_GATE_MAP = {
328
329
  "cms:jsr:getServerSideProps": "CMS:JSRenderer:GetServerSideProps",
package/dist/run.js CHANGED
@@ -811,7 +811,7 @@ function packagePath(metaUrl, projectPath) {
811
811
  );
812
812
  }
813
813
 
814
- // ../cms-js-internal/dist/types-CnX5J5m1.js
814
+ // ../cms-js-internal/dist/types-CtlqY6u0.js
815
815
  import path3 from "path";
816
816
  import { createHash } from "crypto";
817
817
  import fs2, { readFileSync, existsSync as existsSync2, readdirSync, lstatSync } from "fs";
@@ -2097,7 +2097,7 @@ function trackUsage(action) {
2097
2097
  eventName: EVENT_NAME,
2098
2098
  action,
2099
2099
  nodeVersion: getNodeVersionData(),
2100
- version: "1.0.10",
2100
+ version: "1.0.16",
2101
2101
  os: getPlatform()
2102
2102
  };
2103
2103
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
@@ -1,7 +1,7 @@
1
1
  // src/storybook/moduleStory.tsx
2
2
  import { useEffect } from "react";
3
3
 
4
- // ../cms-js-internal/dist/types-CnX5J5m1.js
4
+ // ../cms-js-internal/dist/types-CtlqY6u0.js
5
5
  function namespaceModulePropsShape(props) {
6
6
  const {
7
7
  dataQueryResult,
@@ -8,7 +8,7 @@ var __export = (target, all) => {
8
8
  __defProp(target, name, { get: all[name], enumerable: true });
9
9
  };
10
10
 
11
- // ../cms-js-internal/dist/types-CnX5J5m1.js
11
+ // ../cms-js-internal/dist/types-CtlqY6u0.js
12
12
  import path from "path";
13
13
  import { createHash } from "crypto";
14
14
  import fs, { readFileSync, existsSync, readdirSync, lstatSync } from "fs";
@@ -313,8 +313,8 @@ function isStylesheetAsset(staticAsset) {
313
313
  return staticAsset.type === "stylesheet";
314
314
  }
315
315
  var COMPONENT_EXTENSIONS, ENTRY_POINTS_PATH, MODULE_FOLDER_PATH, TEMPLATE_FOLDER_PATH, VIRTUAL_ISLAND_RUNTIME, VIRTUAL_CONFIG_SETUP, CSS_LANGS_RE, collectCssModules, collectCssInDev, badInlineJsChars, inlineJsEscapeChars, viteRoot, viteCommand, clientRenderIsland, virtualClientRenderIslandModuleId, scriptTagToLogServerMessages, getComponentExtension, hasComponentExtension, isStorybookStory, removeComponentExtension, COMBINED_REACT_BASE_PATH, ISLAND_RUNTIME_CONFIG_BASE_PATH, removeIndexFromPath, removeIndexOrTrailingJsFromPath, HEALTHCHECKS_ENABLED_DEFAULT, HEALTHCHECKS_STRICT_DEFAULT, BUILD_INFO_PATH, GATES, ENABLED_FEATURES_GATE_MAP, findAllComponentsIn;
316
- var init_types_CnX5J5m1 = __esm({
317
- "../cms-js-internal/dist/types-CnX5J5m1.js"() {
316
+ var init_types_CtlqY6u0 = __esm({
317
+ "../cms-js-internal/dist/types-CtlqY6u0.js"() {
318
318
  COMPONENT_EXTENSIONS = [".jsx", ".tsx", ".js", ".ts"];
319
319
  ENTRY_POINTS_PATH = "components/partials/";
320
320
  MODULE_FOLDER_PATH = "components/modules/";
@@ -437,7 +437,8 @@ ${groupEnd}</script>
437
437
  "CMS:JSRenderer:RemoveMockClientEntryPlugin",
438
438
  "CMS:JSRenderer:AnalyzeCmsModules",
439
439
  "CMS:JSRenderer:ClientOnlySupplementalFieldSerialization",
440
- "CMS:React:UnifiedThemePreview"
440
+ "CMS:React:UnifiedThemePreview",
441
+ "CMS:JSRenderer:CompressResponse"
441
442
  ];
442
443
  ENABLED_FEATURES_GATE_MAP = {
443
444
  "cms:jsr:getServerSideProps": "CMS:JSRenderer:GetServerSideProps",
@@ -1097,8 +1098,8 @@ function ModuleSlot(props) {
1097
1098
  var setProperty, getProperty, hasProperty, serializeIslandDataForInlineScript, writeSharedStateToJsGlobal, createIslandsGlobalJsForClientInDev, traverse, CMS_MODULE_COMPONENT_NAME, DND_AREA_COMPONENT_NAME, PLUGIN_NAME, promiseForNewWritableStream, renderStreamToPromise, createServerRenderContextV22, createServerRenderContext2, renderServerSidePropsWithAsyncLocalStoreContext, bootStrapRenderContext;
1098
1099
  var init_dist = __esm({
1099
1100
  "../cms-js-internal/dist/index.js"() {
1100
- init_types_CnX5J5m1();
1101
- init_types_CnX5J5m1();
1101
+ init_types_CtlqY6u0();
1102
+ init_types_CtlqY6u0();
1102
1103
  ({ setProperty, getProperty, hasProperty } = dotProp);
1103
1104
  serializeIslandDataForInlineScript = (tweakedIslandsArray, perServerRequestData, baseIndent = 0, prettyPrint, isUngatedForClientOnlySupplementalFieldSerialization = false) => {
1104
1105
  const islandsArrayToSerialize = tweakedIslandsArray.map(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cms-dev-server",
3
- "version": "1.0.10",
3
+ "version": "1.0.16",
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.0.10",
32
+ "@hubspot/cms-components": "^1.0.16",
33
33
  "@hubspot/local-dev-lib": "2.0.1",
34
34
  "@inquirer/select": "^2.0.0",
35
35
  "@originjs/vite-plugin-commonjs": "^1.0.3",
@@ -131,5 +131,5 @@
131
131
  "publishConfig": {
132
132
  "access": "public"
133
133
  },
134
- "gitHead": "95335ef8cf0d3f3892dddc0a5e480859e632eaf4"
134
+ "gitHead": "fc7238384759fd4b7e55a16e3f005f257c5ae9b7"
135
135
  }