@rsdoctor/utils 1.5.10 → 1.5.12

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.
@@ -1,28 +1,28 @@
1
- Copyright (c) 2024, Jason Mulligan
2
- All rights reserved.
3
-
4
- Redistribution and use in source and binary forms, with or without
5
- modification, are permitted provided that the following conditions are met:
6
-
7
- * Redistributions of source code must retain the above copyright notice, this
8
- list of conditions and the following disclaimer.
9
-
10
- * Redistributions in binary form must reproduce the above copyright notice,
11
- this list of conditions and the following disclaimer in the documentation
12
- and/or other materials provided with the distribution.
13
-
14
- * Neither the name of filesize nor the names of its
15
- contributors may be used to endorse or promote products derived from
16
- this software without specific prior written permission.
17
-
18
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
- FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
- OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
-
1
+ Copyright (c) 2026, Jason Mulligan
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ * Neither the name of filesize nor the names of its
15
+ contributors may be used to endorse or promote products derived from
16
+ this software without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+
@@ -1 +1 @@
1
- {"name":"filesize","author":"Jason Mulligan <jason.mulligan@avoidwork.com>","version":"10.1.6","license":"BSD-3-Clause","types":"index.d.ts","type":"commonjs"}
1
+ {"name":"filesize","author":"Jason Mulligan <jason.mulligan@avoidwork.com>","version":"11.0.17","license":"BSD-3-Clause","types":"index.d.ts","type":"commonjs"}
package/dist/build.cjs CHANGED
@@ -136,11 +136,11 @@ __webpack_require__.n = (module)=>{
136
136
  var __webpack_exports__ = {};
137
137
  for(var __rspack_i in (()=>{
138
138
  __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
139
- Server: ()=>server_namespaceObject,
139
+ EnvInfo: ()=>envinfo_namespaceObject,
140
140
  File: ()=>file_namespaceObject,
141
141
  Json: ()=>json_namespaceObject,
142
- EnvInfo: ()=>envinfo_namespaceObject,
143
- Process: ()=>process_namespaceObject
142
+ Process: ()=>process_namespaceObject,
143
+ Server: ()=>server_namespaceObject
144
144
  });
145
145
  var cache_namespaceObject = {};
146
146
  __webpack_require__.r(cache_namespaceObject), __webpack_require__.d(cache_namespaceObject, {
package/dist/common.cjs CHANGED
@@ -3,10 +3,10 @@ const __rslib_import_meta_url__ = "u" < typeof document ? new (require('url'.rep
3
3
  var __webpack_modules__ = {
4
4
  "./src/common/algorithm.ts" (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
5
5
  __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
6
- mergeIntervals: ()=>mergeIntervals,
6
+ compressText: ()=>compressText,
7
7
  decompressText: ()=>decompressText,
8
- random: ()=>random,
9
- compressText: ()=>compressText
8
+ mergeIntervals: ()=>mergeIntervals,
9
+ random: ()=>random
10
10
  });
11
11
  let external_zlib_namespaceObject = require("zlib"), external_buffer_namespaceObject = require("buffer");
12
12
  var logger = __webpack_require__("./src/logger.ts");
@@ -377,26 +377,26 @@ __webpack_require__.n = (module)=>{
377
377
  var __webpack_exports__ = {};
378
378
  for(var __rspack_i in (()=>{
379
379
  __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
380
- Time: ()=>time_namespaceObject,
381
- Rspack: ()=>rspack,
380
+ Alerts: ()=>alerts_namespaceObject,
381
+ Algorithm: ()=>algorithm,
382
+ Bundle: ()=>bundle_namespaceObject,
382
383
  Crypto: ()=>common_crypto,
384
+ Data: ()=>data_namespaceObject,
385
+ Fetch: ()=>fetch,
386
+ File: ()=>common_file,
387
+ GlobalConfig: ()=>global_config_namespaceObject,
388
+ Graph: ()=>graph_namespaceObject,
383
389
  Loader: ()=>loader_namespaceObject,
384
- Summary: ()=>common_summary,
385
- Algorithm: ()=>algorithm,
386
390
  Lodash: ()=>lodash,
387
- GlobalConfig: ()=>global_config_namespaceObject,
388
- Alerts: ()=>alerts_namespaceObject,
391
+ Manifest: ()=>manifest_namespaceObject,
389
392
  Package: ()=>package_namespaceObject,
390
- decycle: ()=>decycle.Y,
391
393
  Plugin: ()=>common_plugin,
392
- Data: ()=>data_namespaceObject,
393
- Fetch: ()=>fetch,
394
- Manifest: ()=>manifest_namespaceObject,
395
394
  Resolver: ()=>resolver_namespaceObject,
396
- File: ()=>common_file,
397
- Graph: ()=>graph_namespaceObject,
398
- Bundle: ()=>bundle_namespaceObject,
399
- Url: ()=>url_namespaceObject
395
+ Rspack: ()=>rspack,
396
+ Summary: ()=>common_summary,
397
+ Time: ()=>time_namespaceObject,
398
+ Url: ()=>url_namespaceObject,
399
+ decycle: ()=>decycle.Y
400
400
  });
401
401
  var url_namespaceObject = {};
402
402
  __webpack_require__.r(url_namespaceObject), __webpack_require__.d(url_namespaceObject, {
package/dist/error.cjs CHANGED
@@ -20,8 +20,8 @@ __webpack_require__.n = (module)=>{
20
20
  };
21
21
  var __webpack_exports__ = {};
22
22
  __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
23
- printErrors: ()=>printErrors,
24
- DevToolError: ()=>DevToolError
23
+ DevToolError: ()=>DevToolError,
24
+ printErrors: ()=>printErrors
25
25
  });
26
26
  const code_frame_namespaceObject = require("@babel/code-frame"), types_namespaceObject = require("@rsdoctor/types"), external_picocolors_namespaceObject = require("picocolors"), external_deep_eql_namespaceObject = require("deep-eql");
27
27
  var external_deep_eql_default = __webpack_require__.n(external_deep_eql_namespaceObject);
package/dist/logger.cjs CHANGED
@@ -33,11 +33,11 @@ __webpack_require__.n = (module)=>{
33
33
  var __webpack_exports__ = {};
34
34
  for(var __rspack_i in (()=>{
35
35
  __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
36
- debug: ()=>debug,
37
36
  chalk: ()=>external_picocolors_default(),
37
+ debug: ()=>debug,
38
38
  logger: ()=>rsdoctorLogger,
39
- timeEnd: ()=>timeEnd,
40
- time: ()=>time
39
+ time: ()=>time,
40
+ timeEnd: ()=>timeEnd
41
41
  });
42
42
  let external_picocolors_namespaceObject = require("picocolors");
43
43
  var external_picocolors_default = __webpack_require__.n(external_picocolors_namespaceObject);
@@ -16,21 +16,21 @@ __webpack_require__.d = (exports1, definition)=>{
16
16
  var __webpack_exports__ = {};
17
17
  __webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, {
18
18
  Document: ()=>Document,
19
- isES6: ()=>isES6,
20
- getIdentifierInDeclaration: ()=>getIdentifierInDeclaration,
21
- canParse: ()=>canParse,
22
19
  ECMAVersion: ()=>types_ECMAVersion,
23
20
  asserts: ()=>asserts,
21
+ canParse: ()=>canParse,
24
22
  clearDocument: ()=>clearDocument,
25
- isES5: ()=>isES5,
26
- getIdentifierInExport: ()=>getIdentifierInExport,
27
- getIdentifierInImport: ()=>getIdentifierInImport,
28
- getDocument: ()=>getDocument,
29
23
  detectECMAVersion: ()=>detectECMAVersion,
30
24
  getDefaultImports: ()=>getDefaultImports,
31
- parser: ()=>parser,
25
+ getDocument: ()=>getDocument,
26
+ getIdentifierInDeclaration: ()=>getIdentifierInDeclaration,
27
+ getIdentifierInExport: ()=>getIdentifierInExport,
28
+ getIdentifierInImport: ()=>getIdentifierInImport,
32
29
  getIdentifierInPattern: ()=>getIdentifierInPattern,
33
- isSameSemantics: ()=>isSameSemantics
30
+ isES5: ()=>isES5,
31
+ isES6: ()=>isES6,
32
+ isSameSemantics: ()=>isSameSemantics,
33
+ parser: ()=>parser
34
34
  });
35
35
  var utils_namespaceObject = {};
36
36
  __webpack_require__.r(utils_namespaceObject), __webpack_require__.d(utils_namespaceObject, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsdoctor/utils",
3
- "version": "1.5.10",
3
+ "version": "1.5.12",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/web-infra-dev/rsdoctor",
@@ -99,9 +99,9 @@
99
99
  "json-stream-stringify": "3.0.1",
100
100
  "lines-and-columns": "2.0.4",
101
101
  "picocolors": "^1.1.1",
102
- "rslog": "^1.3.2",
102
+ "rslog": "^2.1.1",
103
103
  "strip-ansi": "^6.0.1",
104
- "@rsdoctor/types": "1.5.10"
104
+ "@rsdoctor/types": "1.5.12"
105
105
  },
106
106
  "devDependencies": {
107
107
  "@types/babel__code-frame": "7.27.0",
@@ -109,12 +109,12 @@
109
109
  "@types/deep-eql": "4.0.2",
110
110
  "@types/envinfo": "7.8.4",
111
111
  "@types/fs-extra": "^11.0.4",
112
- "@types/node": "^22.8.1",
112
+ "@types/node": "^24.12.3",
113
113
  "prebundle": "1.6.4",
114
- "filesize": "^10.1.6",
114
+ "filesize": "^11.0.17",
115
115
  "connect": "3.7.0",
116
116
  "tslib": "2.8.1",
117
- "typescript": "^5.9.2"
117
+ "typescript": "^6.0.3"
118
118
  },
119
119
  "publishConfig": {
120
120
  "access": "public",