@forge/api 2.20.0-next.2 → 2.20.0-next.2-experimental-5c9420a

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,18 @@
1
1
  # @forge/api
2
2
 
3
+ ## 2.20.0-next.2-experimental-5c9420a
4
+
5
+ ### Minor Changes
6
+
7
+ - 2764115: Prevent forward traversal in route
8
+
9
+ ### Patch Changes
10
+
11
+ - 189720f: Notice of deprecation for properties API
12
+ - 8590410: Bumping dependencies via Renovate:
13
+
14
+ - nock
15
+
3
16
  ## 2.20.0-next.2
4
17
 
5
18
  ### Patch Changes
package/out/safeUrl.js CHANGED
@@ -37,7 +37,7 @@ function escapeParameter(parameter, mode) {
37
37
  if (containsOneOf(DOUBLE_DOT, parameter) ||
38
38
  containsOneOf(ENDS_PATH, parameter) ||
39
39
  containsOneOf(DIRECTORY_PATH, parameter)) {
40
- throw new Error('Disallowing path manipulation attempt. For more information see: https://developer.atlassian.com/platform/forge/runtime-reference/product-fetch-api/#route');
40
+ throw new Error('Disallowing path manipulation attempt. For more information see: https://go.atlassian.com/product-fetch-api-route');
41
41
  }
42
42
  return parameter;
43
43
  case 'query':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/api",
3
- "version": "2.20.0-next.2",
3
+ "version": "2.20.0-next.2-experimental-5c9420a",
4
4
  "description": "Forge API methods",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",
@@ -12,7 +12,7 @@
12
12
  "compile": "tsc -b -v"
13
13
  },
14
14
  "devDependencies": {
15
- "@forge/runtime": "5.1.4-next.0",
15
+ "@forge/runtime": "5.1.4-next.0-experimental-5c9420a",
16
16
  "@types/node": "14.18.63",
17
17
  "expect-type": "^0.17.3",
18
18
  "jest-matcher-specific-error": "^1.0.0",