Skip to content

Commit 2af696d

Browse files
authored
housekeeping: @kyleshockey/js-yaml -> js-yaml (via #5511)
* `@kyleshockey/js-yaml` -> `js-yaml` * externalize `esprima`
1 parent 97260cf commit 2af696d

File tree

5 files changed

+18
-12
lines changed

5 files changed

+18
-12
lines changed

package-lock.json

Lines changed: 14 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
"dependencies": {
5050
"@babel/runtime-corejs2": "^7.5.5",
5151
"@braintree/sanitize-url": "^2.0.2",
52-
"@kyleshockey/js-yaml": "^1.0.1",
5352
"@kyleshockey/object-assign-deep": "^0.4.2",
5453
"@kyleshockey/xml": "^1.0.2",
5554
"base64-js": "^1.2.0",
@@ -61,6 +60,7 @@
6160
"ieee754": "^1.1.8",
6261
"immutable": "^3.x.x",
6362
"js-file-download": "^0.4.1",
63+
"js-yaml": "^3.13.1",
6464
"lodash": "^4.17.14",
6565
"memoizee": "^0.4.12",
6666
"prop-types": "^15.5.10",

src/core/plugins/configs/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import YAML from "@kyleshockey/js-yaml"
1+
import YAML from "js-yaml"
22

33
export const parseYamlConfig = (yaml, system) => {
44
try {

src/core/plugins/spec/actions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import YAML from "@kyleshockey/js-yaml"
1+
import YAML from "js-yaml"
22
import { Map } from "immutable"
33
import parseUrl from "url-parse"
44
import serializeError from "serialize-error"

webpack/_config-builder.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export default function buildConfig(
9696
? {
9797
// json-react-schema/deeper depends on buffertools, which fails.
9898
buffertools: true,
99+
esprima: true,
99100
}
100101
: (context, request, cb) => {
101102
// webpack injects some stuff into the resulting file,
@@ -114,9 +115,6 @@ export default function buildConfig(
114115
resolve: {
115116
modules: [path.join(projectBasePath, "./src"), "node_modules"],
116117
extensions: [".web.js", ".js", ".jsx", ".json", ".less"],
117-
alias: {
118-
"js-yaml": "@kyleshockey/js-yaml", // TODO: fix??
119-
},
120118
},
121119

122120
// If we're mangling, size is a concern -- so use trace-only sourcemaps

0 commit comments

Comments
 (0)