@storybook/codemod 7.0.0-alpha.10 → 7.0.0-alpha.13

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.
@@ -30,7 +30,7 @@ function parseIncludeExclude(prop) {
30
30
  code = _prettyPrint2.code; // eslint-disable-next-line no-eval
31
31
 
32
32
 
33
- return eval(code);
33
+ return (0, eval)(code);
34
34
  }
35
35
  /**
36
36
  * Convert a component's module story file into an MDX file
@@ -22,7 +22,7 @@ function parseIncludeExclude(prop) {
22
22
  code = _prettyPrint2.code; // eslint-disable-next-line no-eval
23
23
 
24
24
 
25
- return eval(code);
25
+ return (0, eval)(code);
26
26
  }
27
27
  /**
28
28
  * Convert a component's module story file into an MDX file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/codemod",
3
- "version": "7.0.0-alpha.10",
3
+ "version": "7.0.0-alpha.13",
4
4
  "description": "A collection of codemod scripts written with JSCodeshift",
5
5
  "keywords": [
6
6
  "storybook"
@@ -38,14 +38,15 @@
38
38
  "!__testfixtures__"
39
39
  ],
40
40
  "scripts": {
41
+ "check": "tsc --noEmit",
41
42
  "prepare": "node ../../scripts/prepare.js"
42
43
  },
43
44
  "dependencies": {
44
45
  "@babel/types": "^7.12.11",
45
46
  "@mdx-js/mdx": "^1.6.22",
46
47
  "@storybook/csf": "0.0.2--canary.4566f4d.1",
47
- "@storybook/csf-tools": "7.0.0-alpha.10",
48
- "@storybook/node-logger": "7.0.0-alpha.10",
48
+ "@storybook/csf-tools": "7.0.0-alpha.13",
49
+ "@storybook/node-logger": "7.0.0-alpha.13",
49
50
  "core-js": "^3.8.2",
50
51
  "cross-spawn": "^7.0.3",
51
52
  "globby": "^11.0.2",
@@ -56,10 +57,11 @@
56
57
  },
57
58
  "devDependencies": {
58
59
  "jest": "^26.6.3",
59
- "jest-specific-snapshot": "^4.0.0"
60
+ "jest-specific-snapshot": "^4.0.0",
61
+ "typescript": "~4.6.3"
60
62
  },
61
63
  "publishConfig": {
62
64
  "access": "public"
63
65
  },
64
- "gitHead": "b13dd8fb52819d73d4983148af8ffc5d683e8b75"
66
+ "gitHead": "9ac4d2e0a05eb945713a0e6689abc3b12359e181"
65
67
  }