@rsdoctor/core 1.2.4-beta.1 → 1.2.4-beta.3
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.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Copyright (c) 2014-present Matt Zabriskie & Collaborators
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"axios","author":"Matt Zabriskie","version":"1.12.0","license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -40,8 +40,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
40
40
|
getInternalLoaderOptions: ()=>getInternalLoaderOptions,
|
|
41
41
|
getLoaderOptionsWithoutInternalKeys: ()=>getLoaderOptionsWithoutInternalKeys
|
|
42
42
|
});
|
|
43
|
-
const
|
|
44
|
-
var
|
|
43
|
+
const index_js_namespaceObject = require("../../../compiled/axios/index.js");
|
|
44
|
+
var index_js_default = /*#__PURE__*/ __webpack_require__.n(index_js_namespaceObject);
|
|
45
45
|
const external_enhanced_resolve_namespaceObject = require("enhanced-resolve");
|
|
46
46
|
var external_enhanced_resolve_default = /*#__PURE__*/ __webpack_require__.n(external_enhanced_resolve_namespaceObject);
|
|
47
47
|
const external_fs_namespaceObject = require("fs");
|
|
@@ -199,12 +199,12 @@ async function reportLoader(ctx, start, startHRTime, isPitch, sync, code, err, r
|
|
|
199
199
|
return loaderData;
|
|
200
200
|
}
|
|
201
201
|
await Promise.all([
|
|
202
|
-
|
|
202
|
+
index_js_default().post(`${host}${types_namespaceObject.SDK.ServerAPI.API.ReportLoader}`, loaderData, {
|
|
203
203
|
timeout: 8888
|
|
204
204
|
}).catch((err)=>{
|
|
205
205
|
logger_namespaceObject.logger.debug(`${err.message}`, '[WebpackPlugin.ReportLoader][error]');
|
|
206
206
|
}),
|
|
207
|
-
|
|
207
|
+
index_js_default().post(`${host}${types_namespaceObject.SDK.ServerAPI.API.ReportSourceMap}`, sourceMapData, {
|
|
208
208
|
timeout: 8888
|
|
209
209
|
}).catch((err)=>{
|
|
210
210
|
logger_namespaceObject.logger.debug(`${err.message}`, '[WebpackPlugin.ReportSourceMap][error]');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdoctor/core",
|
|
3
|
-
"version": "1.2.4-beta.
|
|
3
|
+
"version": "1.2.4-beta.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/rsdoctor",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"main": "dist/index.cjs",
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
12
12
|
"files": [
|
|
13
|
-
"dist"
|
|
13
|
+
"dist",
|
|
14
|
+
"compiled"
|
|
14
15
|
],
|
|
15
16
|
"type": "module",
|
|
16
17
|
"exports": {
|
|
@@ -61,27 +62,25 @@
|
|
|
61
62
|
},
|
|
62
63
|
"dependencies": {
|
|
63
64
|
"browserslist-load-config": "^1.0.1",
|
|
65
|
+
"filesize": "^10.1.6",
|
|
64
66
|
"fs-extra": "^11.1.1",
|
|
65
67
|
"lodash-es": "^4.17.21",
|
|
66
68
|
"semver": "^7.7.2",
|
|
67
69
|
"source-map": "^0.7.6",
|
|
68
|
-
"@rsdoctor/graph": "1.2.4-beta.
|
|
69
|
-
"@rsdoctor/
|
|
70
|
-
"@rsdoctor/
|
|
71
|
-
"@rsdoctor/
|
|
70
|
+
"@rsdoctor/graph": "1.2.4-beta.3",
|
|
71
|
+
"@rsdoctor/sdk": "1.2.4-beta.3",
|
|
72
|
+
"@rsdoctor/utils": "1.2.4-beta.3",
|
|
73
|
+
"@rsdoctor/types": "1.2.4-beta.3"
|
|
72
74
|
},
|
|
73
75
|
"devDependencies": {
|
|
74
76
|
"@rsbuild/plugin-check-syntax": "1.4.0",
|
|
75
77
|
"axios": "^1.12.0",
|
|
76
|
-
"path-browserify": "1.0.1",
|
|
77
78
|
"enhanced-resolve": "5.12.0",
|
|
78
|
-
"filesize": "^10.1.6",
|
|
79
79
|
"@rspack/core": "1.5.2",
|
|
80
80
|
"@types/fs-extra": "^11.0.4",
|
|
81
81
|
"@types/lodash-es": "^4.17.12",
|
|
82
82
|
"@types/node": "^22.8.1",
|
|
83
83
|
"@types/node-fetch": "^2.6.12",
|
|
84
|
-
"@types/path-browserify": "1.0.3",
|
|
85
84
|
"@types/semver": "^7.7.0",
|
|
86
85
|
"@types/tapable": "2.2.7",
|
|
87
86
|
"babel-loader": "10.0.0",
|
|
@@ -99,7 +98,7 @@
|
|
|
99
98
|
},
|
|
100
99
|
"scripts": {
|
|
101
100
|
"dev": "npm run start",
|
|
102
|
-
"build": "rslib build",
|
|
101
|
+
"build": "npm run prebundle && rslib build",
|
|
103
102
|
"start": "rslib build -w",
|
|
104
103
|
"test": "rstest run",
|
|
105
104
|
"prebundle": "prebundle"
|