@hubspot/cms-dev-server 1.0.0 → 1.0.4

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 CHANGED
@@ -1465,7 +1465,7 @@ function trackUsage(action) {
1465
1465
  eventName: EVENT_NAME,
1466
1466
  action,
1467
1467
  nodeVersion: getNodeVersionData(),
1468
- version: "1.0.0",
1468
+ version: "1.0.4",
1469
1469
  os: getPlatform()
1470
1470
  };
1471
1471
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
@@ -5250,7 +5250,7 @@ Local proxy functionality and module preview routes will not work without settin
5250
5250
  expressServer.locals.domainsToProxy = domainsToProxy;
5251
5251
  expressServer.locals.localPreviewToken = _localPreviewToken;
5252
5252
  expressServer.use(bodyParser.json());
5253
- const __dirname2 = path15.dirname(url2.fileURLToPath(import.meta.url));
5253
+ const __dirname2 = path15.dirname(url2.fileURLToPath(new URL(import.meta.url)));
5254
5254
  const appWebRoot = normalizePath9(path15.resolve(__dirname2, "../app"));
5255
5255
  const reqLocals = {
5256
5256
  themeWebRoot: absoluteWebRoot,
package/dist/run.js CHANGED
@@ -2095,7 +2095,7 @@ function trackUsage(action) {
2095
2095
  eventName: EVENT_NAME,
2096
2096
  action,
2097
2097
  nodeVersion: getNodeVersionData(),
2098
- version: "1.0.0",
2098
+ version: "1.0.4",
2099
2099
  os: getPlatform()
2100
2100
  };
2101
2101
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
@@ -5988,7 +5988,7 @@ Local proxy functionality and module preview routes will not work without settin
5988
5988
  expressServer.locals.domainsToProxy = domainsToProxy;
5989
5989
  expressServer.locals.localPreviewToken = _localPreviewToken;
5990
5990
  expressServer.use(bodyParser.json());
5991
- const __dirname2 = path16.dirname(url2.fileURLToPath(import.meta.url));
5991
+ const __dirname2 = path16.dirname(url2.fileURLToPath(new URL(import.meta.url)));
5992
5992
  const appWebRoot = normalizePath9(path16.resolve(__dirname2, "../app"));
5993
5993
  const reqLocals = {
5994
5994
  themeWebRoot: absoluteWebRoot,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cms-dev-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.4",
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.0",
32
+ "@hubspot/cms-components": "^1.0.4",
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": "6d1a617c937cae27b0c74ee4be6b8fdbe3fb484c"
134
+ "gitHead": "7139eb8f1b96f886e803a9178f00dea63f4483af"
135
135
  }