Skip to content

Commit ba95d08

Browse files
committed
chore(deps): replace json-parse-better-errors to json-parse-even-better-errors
1 parent a72548f commit ba95d08

File tree

7 files changed

+12
-7
lines changed

7 files changed

+12
-7
lines changed

lib/Compiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
"use strict";
77

8-
const parseJson = require("json-parse-better-errors");
8+
const parseJson = require("json-parse-even-better-errors");
99
const asyncLib = require("neo-async");
1010
const {
1111
SyncHook,

lib/DllReferencePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
"use strict";
77

8-
const parseJson = require("json-parse-better-errors");
8+
const parseJson = require("json-parse-even-better-errors");
99
const DelegatedModuleFactoryPlugin = require("./DelegatedModuleFactoryPlugin");
1010
const ExternalModuleFactoryPlugin = require("./ExternalModuleFactoryPlugin");
1111
const WebpackError = require("./WebpackError");

lib/NormalModule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
"use strict";
77

8-
const parseJson = require("json-parse-better-errors");
8+
const parseJson = require("json-parse-even-better-errors");
99
const { getContext, runLoaders } = require("loader-runner");
1010
const querystring = require("querystring");
1111
const { HookMap, SyncHook, AsyncSeriesBailHook } = require("tapable");

lib/json/JsonParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
"use strict";
77

8-
const parseJson = require("json-parse-better-errors");
8+
const parseJson = require("json-parse-even-better-errors");
99
const Parser = require("../Parser");
1010
const JsonExportsDependency = require("../dependencies/JsonExportsDependency");
1111
const JsonData = require("./JsonData");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"events": "^3.2.0",
2121
"glob-to-regexp": "^0.4.1",
2222
"graceful-fs": "^4.2.9",
23-
"json-parse-better-errors": "^1.0.2",
23+
"json-parse-even-better-errors": "^2.3.1",
2424
"loader-runner": "^4.2.0",
2525
"mime-types": "^2.1.27",
2626
"neo-async": "^2.6.2",

test/__snapshots__/StatsTestCases.basictest.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ exports[`StatsTestCases should print correct stats for dll-reference-plugin-issu
10091009
./entry.js 29 bytes [built] [code generated]
10101010
10111011
ERROR in Dll manifest ./blank-manifest.json
1012-
Unexpected end of JSON input while parsing near ''
1012+
Unexpected end of JSON input while parsing empty string
10131013
10141014
webpack x.x.x compiled with 1 error in X ms"
10151015
`;

yarn.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3934,11 +3934,16 @@ json-loader@^0.5.7:
39343934
resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d"
39353935
integrity sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==
39363936

3937-
json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2:
3937+
json-parse-better-errors@^1.0.1:
39383938
version "1.0.2"
39393939
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
39403940
integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==
39413941

3942+
json-parse-even-better-errors@^2.3.1:
3943+
version "2.3.1"
3944+
resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d"
3945+
integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==
3946+
39423947
json-schema-ref-parser@^9.0.1:
39433948
version "9.0.6"
39443949
resolved "https://registry.yarnpkg.com/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz#fc89a5e6b853f2abe8c0af30d3874196526adb60"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy