@forge/runtime 5.1.4 → 5.2.0-next.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @forge/runtime
2
2
 
3
+ ## 5.2.0-next.1
4
+
5
+ ### Minor Changes
6
+
7
+ - e241f90: Replace js-yaml with yaml
8
+
9
+ ## 5.1.5-next.0
10
+
11
+ ### Patch Changes
12
+
13
+ - 859ce64: Bumping dependencies via Renovate:
14
+
15
+ - nock
16
+
3
17
  ## 5.1.4
4
18
 
5
19
  ### Patch Changes
@@ -4,7 +4,7 @@ exports.AppManifest = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const fs_1 = require("fs");
6
6
  const t = tslib_1.__importStar(require("io-ts"));
7
- const js_yaml_1 = tslib_1.__importDefault(require("js-yaml"));
7
+ const yaml_1 = tslib_1.__importDefault(require("yaml"));
8
8
  const path_1 = tslib_1.__importDefault(require("path"));
9
9
  const url_1 = require("url");
10
10
  const bearerMethodShorthands = t.union([
@@ -48,7 +48,7 @@ class AppManifest {
48
48
  static async fromFile(filePath) {
49
49
  const fullPath = path_1.default.join(filePath, AppManifest.FILE_NAME);
50
50
  const manifestContents = (0, fs_1.readFileSync)(fullPath, 'utf-8');
51
- const manifest = js_yaml_1.default.load(manifestContents);
51
+ const manifest = yaml_1.default.parse(manifestContents);
52
52
  return new AppManifest(manifest);
53
53
  }
54
54
  constructor(manifest) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/runtime",
3
- "version": "5.1.4",
3
+ "version": "5.2.0-next.1",
4
4
  "description": "A Node.js runtime for Atlassian app functions",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -14,24 +14,23 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@types/jest": "^29.5.7",
17
- "@types/js-yaml": "^4.0.8",
18
17
  "@types/node": "14.18.63",
19
18
  "@types/node-fetch": "^2.6.8",
20
19
  "@types/ws": "^7.4.7",
21
20
  "jest": "^29.7.0",
22
21
  "jest-junit": "^16.0.0",
23
- "nock": "13.3.7",
22
+ "nock": "13.3.8",
24
23
  "tmp": "^0.2.1",
25
24
  "ts-jest": "^29.1.1",
26
25
  "ts-loader": "^9.5.0",
27
- "typescript": "^4.9.5"
26
+ "typescript": "^4.9.5",
27
+ "yaml": "^2.3.4"
28
28
  },
29
29
  "dependencies": {
30
30
  "@forge/util": "1.3.3",
31
31
  "fp-ts": "^2.16.1",
32
32
  "io-ts": "^2.2.20",
33
33
  "io-ts-reporters": "^2.0.1",
34
- "js-yaml": "^4.1.0",
35
34
  "node-fetch": "2.7.0",
36
35
  "tslib": "^2.6.2",
37
36
  "ws": "^7.5.9"
@@ -50,4 +49,4 @@
50
49
  "jest-junit": {
51
50
  "outputDirectory": "./test-reports"
52
51
  }
53
- }
52
+ }