@equinor/fusion-framework-cli 3.0.3 → 3.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.4](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@3.0.3...@equinor/fusion-framework-cli@3.0.4) (2023-01-30)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **cli:** disable 'x-powered-by' ([29cc4a8](https://github.com/equinor/fusion-framework/commit/29cc4a866f3f38a17a2df23eac047e7b82129696))
11
+
6
12
  ## [3.0.3](https://github.com/equinor/fusion-framework/compare/@equinor/fusion-framework-cli@3.0.2...@equinor/fusion-framework-cli@3.0.3) (2023-01-30)
7
13
 
8
14
  **Note:** Version bump only for package @equinor/fusion-framework-cli
package/bin/serve.js CHANGED
@@ -22,6 +22,7 @@ export const server = (config) => __awaiter(void 0, void 0, void 0, function* ()
22
22
  var _a, _b;
23
23
  const { manifest: appManifest } = config.appConfig;
24
24
  const app = express();
25
+ app.disable('x-powered-by');
25
26
  const port = (_b = (_a = config.viteConfig.server) === null || _a === void 0 ? void 0 : _a.port) !== null && _b !== void 0 ? _b : 3000;
26
27
  const host = `http://localhost:${port}`;
27
28
  const spinner = ora('Configuring dev-server').start();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/fusion-framework-cli",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "keywords": [
5
5
  "Fusion",
6
6
  "Fusion Framework",
@@ -52,5 +52,5 @@
52
52
  "react-router-dom": "^6.4.3",
53
53
  "typescript": "^4.9.3"
54
54
  },
55
- "gitHead": "85cb1b4a12ef25787cd6d88da648c566c810b9f5"
55
+ "gitHead": "d62f88a4d0b91214154ab7ac00f8d5cfbb9c05a8"
56
56
  }