@alicloud/fetcher-jsonp 1.1.47 → 1.1.51-alpha.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.
@@ -14,7 +14,7 @@ function clearCallbackFn(callbackName) {
14
14
  try {
15
15
  // IE8 throws exception when try to delete a property on window http://stackoverflow.com/a/1824228/751089
16
16
  delete win[callbackName];
17
- } catch (e) {
17
+ } catch (err) {
18
18
  win[callbackName] = undefined;
19
19
  }
20
20
  }
@@ -7,7 +7,7 @@ export default function clearCallbackFn(callbackName) {
7
7
  try {
8
8
  // IE8 throws exception when try to delete a property on window http://stackoverflow.com/a/1824228/751089
9
9
  delete win[callbackName];
10
- } catch (e) {
10
+ } catch (err) {
11
11
  win[callbackName] = undefined;
12
12
  }
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/fetcher-jsonp",
3
- "version": "1.1.47",
3
+ "version": "1.1.51-alpha.4",
4
4
  "description": "fetcher 的底层 jsonp 实现,可独立使用",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
@@ -27,10 +27,10 @@
27
27
  "devDependencies": {
28
28
  "@alicloud/console-toolkit-cli": "^1.2.13",
29
29
  "@alicloud/console-toolkit-preset-component": "^1.2.29",
30
- "@alicloud/fetcher-demo-helpers": "^1.1.46",
31
- "@types/react": "^17.0.19",
30
+ "@alicloud/fetcher-demo-helpers": "^1.1.50-alpha.4",
31
+ "@types/react": "^17.0.20",
32
32
  "react": "^17.0.2",
33
- "typescript": "^4.3.5"
33
+ "typescript": "^4.4.2"
34
34
  },
35
35
  "scripts": {
36
36
  "start": "breezr start-storybook",
@@ -43,5 +43,5 @@
43
43
  "clean": "rm -rf build",
44
44
  "prepublishOnly": "yarn clean && yarn build"
45
45
  },
46
- "gitHead": "99892256a8778b7fac1e2190cb0e8ef7a4eb57ac"
46
+ "gitHead": "807c3fb552090ba4d667b7c04603ccfdd25bd547"
47
47
  }