@rindo/core 2.18.0 → 2.18.1
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.
- package/cli/index.cjs +74 -21
- package/cli/index.js +74 -21
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/rindo.js +203 -724
- package/compiler/rindo.min.js +2 -2
- package/dependencies.json +1 -1
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/client/css-shim.js +1 -1
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +2 -2
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/client/patch-esm.js +1 -1
- package/internal/client/shadow-css.js +1 -1
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.d.ts +1 -1
- package/internal/package.json +1 -1
- package/internal/rindo-public-compiler.d.ts +2 -2
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -2
- package/mock-doc/index.js +1 -2
- package/mock-doc/package.json +1 -1
- package/package.json +9 -9
- package/readme.md +44 -31
- package/screenshot/compare/build/p-f4745c2f.entry.js +1 -1
- package/screenshot/package.json +1 -1
- package/sys/node/autoprefixer.js +5 -5
- package/sys/node/glob.js +1 -1
- package/sys/node/graceful-fs.js +1 -1
- package/sys/node/index.js +2 -2
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +767 -918
- package/testing/package.json +1 -1
package/compiler/rindo.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Rindo Compiler v2.18.
|
|
2
|
+
Rindo Compiler v2.18.1 | MIT Licensed | https://rindojs.web.app
|
|
3
3
|
*/
|
|
4
4
|
(function(exports) {
|
|
5
5
|
'use strict';
|
|
@@ -1979,16 +1979,16 @@ const process$3 = /*#__PURE__*/Object.assign(/*#__PURE__*/Object.create(null), p
|
|
|
1979
1979
|
|
|
1980
1980
|
const EOL = '\n';
|
|
1981
1981
|
const platform = () => OS_PLATFORM;
|
|
1982
|
-
const os$
|
|
1982
|
+
const os$2 = {
|
|
1983
1983
|
EOL,
|
|
1984
1984
|
platform,
|
|
1985
1985
|
};
|
|
1986
1986
|
|
|
1987
|
-
const os$
|
|
1987
|
+
const os$3 = {
|
|
1988
1988
|
__proto__: null,
|
|
1989
1989
|
EOL: EOL,
|
|
1990
1990
|
platform: platform,
|
|
1991
|
-
'default': os$
|
|
1991
|
+
'default': os$2
|
|
1992
1992
|
};
|
|
1993
1993
|
|
|
1994
1994
|
const buildEvents = () => {
|
|
@@ -2781,29 +2781,6 @@ const fs$4 = {
|
|
|
2781
2781
|
'default': fs$3
|
|
2782
2782
|
};
|
|
2783
2783
|
|
|
2784
|
-
const os$2 = /*@__PURE__*/getAugmentedNamespace$1(os$4);
|
|
2785
|
-
|
|
2786
|
-
// adapted from https://github.com/sindresorhus/os-homedir/blob/11e089f4754db38bb535e5a8416320c4446e8cfd/index.js
|
|
2787
|
-
|
|
2788
|
-
var homedir$2 = os$2.homedir || function homedir() {
|
|
2789
|
-
var home = process.env.HOME;
|
|
2790
|
-
var user = process.env.LOGNAME || process.env.USER || process.env.LNAME || process.env.USERNAME;
|
|
2791
|
-
|
|
2792
|
-
if (process.platform === 'win32') {
|
|
2793
|
-
return process.env.USERPROFILE || process.env.HOMEDRIVE + process.env.HOMEPATH || home || null;
|
|
2794
|
-
}
|
|
2795
|
-
|
|
2796
|
-
if (process.platform === 'darwin') {
|
|
2797
|
-
return home || (user ? '/Users/' + user : null);
|
|
2798
|
-
}
|
|
2799
|
-
|
|
2800
|
-
if (process.platform === 'linux') {
|
|
2801
|
-
return home || (process.getuid() === 0 ? '/root' : (user ? '/home/' + user : null)); // eslint-disable-line no-extra-parens
|
|
2802
|
-
}
|
|
2803
|
-
|
|
2804
|
-
return home || null;
|
|
2805
|
-
};
|
|
2806
|
-
|
|
2807
2784
|
var caller = function () {
|
|
2808
2785
|
// see https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi
|
|
2809
2786
|
var origPrepareStackTrace = Error.prepareStackTrace;
|
|
@@ -2892,7 +2869,7 @@ module.exports.win32 = win32.parse;
|
|
|
2892
2869
|
|
|
2893
2870
|
const path$4 = /*@__PURE__*/getAugmentedNamespace$1(path$6);
|
|
2894
2871
|
|
|
2895
|
-
var parse$6 = path$4.parse || pathParse;
|
|
2872
|
+
var parse$6 = path$4.parse || pathParse;
|
|
2896
2873
|
|
|
2897
2874
|
var getNodeModulesDirs = function getNodeModulesDirs(absoluteStart, modules) {
|
|
2898
2875
|
var prefix = '/';
|
|
@@ -3002,20 +2979,17 @@ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
|
3002
2979
|
|
|
3003
2980
|
const assert$2 = true;
|
|
3004
2981
|
const async_hooks$1 = ">= 8";
|
|
3005
|
-
const buffer_ieee754$1 = "
|
|
2982
|
+
const buffer_ieee754$1 = "< 0.9.7";
|
|
3006
2983
|
const buffer$1 = true;
|
|
3007
2984
|
const child_process$1 = true;
|
|
3008
|
-
const cluster$1 =
|
|
2985
|
+
const cluster$1 = true;
|
|
3009
2986
|
const console$2 = true;
|
|
3010
2987
|
const constants$2 = true;
|
|
3011
2988
|
const crypto$2 = true;
|
|
3012
2989
|
const _debug_agent$1 = ">= 1 && < 8";
|
|
3013
2990
|
const _debugger$1 = "< 8";
|
|
3014
2991
|
const dgram$1 = true;
|
|
3015
|
-
const diagnostics_channel$1 =
|
|
3016
|
-
">= 14.17 && < 15",
|
|
3017
|
-
">= 15.1"
|
|
3018
|
-
];
|
|
2992
|
+
const diagnostics_channel$1 = ">= 15.1";
|
|
3019
2993
|
const dns$1 = true;
|
|
3020
2994
|
const domain$1 = ">= 0.7.12";
|
|
3021
2995
|
const events$2 = true;
|
|
@@ -3030,7 +3004,7 @@ const _http_server$1 = ">= 0.11.1";
|
|
|
3030
3004
|
const http$1 = true;
|
|
3031
3005
|
const http2$1 = ">= 8.8";
|
|
3032
3006
|
const https$1 = true;
|
|
3033
|
-
const inspector$1 = ">= 8";
|
|
3007
|
+
const inspector$1 = ">= 8.0.0";
|
|
3034
3008
|
const _linklist$1 = "< 8";
|
|
3035
3009
|
const module$2 = true;
|
|
3036
3010
|
const net$1 = true;
|
|
@@ -3038,7 +3012,7 @@ const os$1 = true;
|
|
|
3038
3012
|
const path$3 = true;
|
|
3039
3013
|
const perf_hooks$1 = ">= 8.5";
|
|
3040
3014
|
const process$2 = ">= 1";
|
|
3041
|
-
const punycode$1 =
|
|
3015
|
+
const punycode$1 = true;
|
|
3042
3016
|
const querystring$1 = true;
|
|
3043
3017
|
const readline$1 = true;
|
|
3044
3018
|
const repl$1 = true;
|
|
@@ -3052,7 +3026,7 @@ const _stream_writable$1 = ">= 0.9.4";
|
|
|
3052
3026
|
const stream$1 = true;
|
|
3053
3027
|
const string_decoder$1 = true;
|
|
3054
3028
|
const sys$1 = [
|
|
3055
|
-
">= 0.
|
|
3029
|
+
">= 0.6 && < 0.7",
|
|
3056
3030
|
">= 0.8"
|
|
3057
3031
|
];
|
|
3058
3032
|
const timers$2 = true;
|
|
@@ -3068,351 +3042,110 @@ const v8$1 = ">= 1";
|
|
|
3068
3042
|
const vm$1 = true;
|
|
3069
3043
|
const wasi$1 = ">= 13.4 && < 13.5";
|
|
3070
3044
|
const worker_threads$1 = ">= 11.7";
|
|
3071
|
-
const zlib$1 =
|
|
3045
|
+
const zlib$1 = true;
|
|
3072
3046
|
const data$2 = {
|
|
3073
3047
|
assert: assert$2,
|
|
3074
|
-
"node:assert": [
|
|
3075
|
-
">= 14.18 && < 15",
|
|
3076
|
-
">= 16"
|
|
3077
|
-
],
|
|
3078
3048
|
"assert/strict": ">= 15",
|
|
3079
|
-
"node:assert/strict": ">= 16",
|
|
3080
3049
|
async_hooks: async_hooks$1,
|
|
3081
|
-
"node:async_hooks": [
|
|
3082
|
-
">= 14.18 && < 15",
|
|
3083
|
-
">= 16"
|
|
3084
|
-
],
|
|
3085
3050
|
buffer_ieee754: buffer_ieee754$1,
|
|
3086
3051
|
buffer: buffer$1,
|
|
3087
|
-
"node:buffer": [
|
|
3088
|
-
">= 14.18 && < 15",
|
|
3089
|
-
">= 16"
|
|
3090
|
-
],
|
|
3091
3052
|
child_process: child_process$1,
|
|
3092
|
-
"node:child_process": [
|
|
3093
|
-
">= 14.18 && < 15",
|
|
3094
|
-
">= 16"
|
|
3095
|
-
],
|
|
3096
3053
|
cluster: cluster$1,
|
|
3097
|
-
"node:cluster": [
|
|
3098
|
-
">= 14.18 && < 15",
|
|
3099
|
-
">= 16"
|
|
3100
|
-
],
|
|
3101
3054
|
console: console$2,
|
|
3102
|
-
"node:console": [
|
|
3103
|
-
">= 14.18 && < 15",
|
|
3104
|
-
">= 16"
|
|
3105
|
-
],
|
|
3106
3055
|
constants: constants$2,
|
|
3107
|
-
"node:constants": [
|
|
3108
|
-
">= 14.18 && < 15",
|
|
3109
|
-
">= 16"
|
|
3110
|
-
],
|
|
3111
3056
|
crypto: crypto$2,
|
|
3112
|
-
"node:crypto": [
|
|
3113
|
-
">= 14.18 && < 15",
|
|
3114
|
-
">= 16"
|
|
3115
|
-
],
|
|
3116
3057
|
_debug_agent: _debug_agent$1,
|
|
3117
3058
|
_debugger: _debugger$1,
|
|
3118
3059
|
dgram: dgram$1,
|
|
3119
|
-
"node:dgram": [
|
|
3120
|
-
">= 14.18 && < 15",
|
|
3121
|
-
">= 16"
|
|
3122
|
-
],
|
|
3123
3060
|
diagnostics_channel: diagnostics_channel$1,
|
|
3124
|
-
"node:diagnostics_channel": [
|
|
3125
|
-
">= 14.18 && < 15",
|
|
3126
|
-
">= 16"
|
|
3127
|
-
],
|
|
3128
3061
|
dns: dns$1,
|
|
3129
|
-
"node:dns": [
|
|
3130
|
-
">= 14.18 && < 15",
|
|
3131
|
-
">= 16"
|
|
3132
|
-
],
|
|
3133
3062
|
"dns/promises": ">= 15",
|
|
3134
|
-
"node:dns/promises": ">= 16",
|
|
3135
3063
|
domain: domain$1,
|
|
3136
|
-
"node:domain": [
|
|
3137
|
-
">= 14.18 && < 15",
|
|
3138
|
-
">= 16"
|
|
3139
|
-
],
|
|
3140
3064
|
events: events$2,
|
|
3141
|
-
"node:events": [
|
|
3142
|
-
">= 14.18 && < 15",
|
|
3143
|
-
">= 16"
|
|
3144
|
-
],
|
|
3145
3065
|
freelist: freelist$1,
|
|
3146
3066
|
fs: fs$2,
|
|
3147
|
-
"node:fs": [
|
|
3148
|
-
">= 14.18 && < 15",
|
|
3149
|
-
">= 16"
|
|
3150
|
-
],
|
|
3151
3067
|
"fs/promises": [
|
|
3152
3068
|
">= 10 && < 10.1",
|
|
3153
3069
|
">= 14"
|
|
3154
|
-
],
|
|
3155
|
-
"node:fs/promises": [
|
|
3156
|
-
">= 14.18 && < 15",
|
|
3157
|
-
">= 16"
|
|
3158
3070
|
],
|
|
3159
3071
|
_http_agent: _http_agent$1,
|
|
3160
|
-
"node:_http_agent": [
|
|
3161
|
-
">= 14.18 && < 15",
|
|
3162
|
-
">= 16"
|
|
3163
|
-
],
|
|
3164
3072
|
_http_client: _http_client$1,
|
|
3165
|
-
"node:_http_client": [
|
|
3166
|
-
">= 14.18 && < 15",
|
|
3167
|
-
">= 16"
|
|
3168
|
-
],
|
|
3169
3073
|
_http_common: _http_common$1,
|
|
3170
|
-
"node:_http_common": [
|
|
3171
|
-
">= 14.18 && < 15",
|
|
3172
|
-
">= 16"
|
|
3173
|
-
],
|
|
3174
3074
|
_http_incoming: _http_incoming$1,
|
|
3175
|
-
"node:_http_incoming": [
|
|
3176
|
-
">= 14.18 && < 15",
|
|
3177
|
-
">= 16"
|
|
3178
|
-
],
|
|
3179
3075
|
_http_outgoing: _http_outgoing$1,
|
|
3180
|
-
"node:_http_outgoing": [
|
|
3181
|
-
">= 14.18 && < 15",
|
|
3182
|
-
">= 16"
|
|
3183
|
-
],
|
|
3184
3076
|
_http_server: _http_server$1,
|
|
3185
|
-
"node:_http_server": [
|
|
3186
|
-
">= 14.18 && < 15",
|
|
3187
|
-
">= 16"
|
|
3188
|
-
],
|
|
3189
3077
|
http: http$1,
|
|
3190
|
-
"node:http": [
|
|
3191
|
-
">= 14.18 && < 15",
|
|
3192
|
-
">= 16"
|
|
3193
|
-
],
|
|
3194
3078
|
http2: http2$1,
|
|
3195
|
-
"node:http2": [
|
|
3196
|
-
">= 14.18 && < 15",
|
|
3197
|
-
">= 16"
|
|
3198
|
-
],
|
|
3199
3079
|
https: https$1,
|
|
3200
|
-
"node:https": [
|
|
3201
|
-
">= 14.18 && < 15",
|
|
3202
|
-
">= 16"
|
|
3203
|
-
],
|
|
3204
3080
|
inspector: inspector$1,
|
|
3205
|
-
"node:inspector": [
|
|
3206
|
-
">= 14.18 && < 15",
|
|
3207
|
-
">= 16"
|
|
3208
|
-
],
|
|
3209
3081
|
_linklist: _linklist$1,
|
|
3210
3082
|
module: module$2,
|
|
3211
|
-
"node:module": [
|
|
3212
|
-
">= 14.18 && < 15",
|
|
3213
|
-
">= 16"
|
|
3214
|
-
],
|
|
3215
3083
|
net: net$1,
|
|
3216
|
-
"node
|
|
3217
|
-
">=
|
|
3218
|
-
">=
|
|
3219
|
-
],
|
|
3220
|
-
"node-inspect/lib/_inspect": ">= 7.6 && < 12",
|
|
3221
|
-
"node-inspect/lib/internal/inspect_client": ">= 7.6 && < 12",
|
|
3222
|
-
"node-inspect/lib/internal/inspect_repl": ">= 7.6 && < 12",
|
|
3084
|
+
"node-inspect/lib/_inspect": ">= 7.6.0 && < 12",
|
|
3085
|
+
"node-inspect/lib/internal/inspect_client": ">= 7.6.0 && < 12",
|
|
3086
|
+
"node-inspect/lib/internal/inspect_repl": ">= 7.6.0 && < 12",
|
|
3223
3087
|
os: os$1,
|
|
3224
|
-
"node:os": [
|
|
3225
|
-
">= 14.18 && < 15",
|
|
3226
|
-
">= 16"
|
|
3227
|
-
],
|
|
3228
3088
|
path: path$3,
|
|
3229
|
-
"node:path": [
|
|
3230
|
-
">= 14.18 && < 15",
|
|
3231
|
-
">= 16"
|
|
3232
|
-
],
|
|
3233
3089
|
"path/posix": ">= 15.3",
|
|
3234
|
-
"node:path/posix": ">= 16",
|
|
3235
3090
|
"path/win32": ">= 15.3",
|
|
3236
|
-
"node:path/win32": ">= 16",
|
|
3237
3091
|
perf_hooks: perf_hooks$1,
|
|
3238
|
-
"node:perf_hooks": [
|
|
3239
|
-
">= 14.18 && < 15",
|
|
3240
|
-
">= 16"
|
|
3241
|
-
],
|
|
3242
3092
|
process: process$2,
|
|
3243
|
-
"node:process": [
|
|
3244
|
-
">= 14.18 && < 15",
|
|
3245
|
-
">= 16"
|
|
3246
|
-
],
|
|
3247
3093
|
punycode: punycode$1,
|
|
3248
|
-
"node:punycode": [
|
|
3249
|
-
">= 14.18 && < 15",
|
|
3250
|
-
">= 16"
|
|
3251
|
-
],
|
|
3252
3094
|
querystring: querystring$1,
|
|
3253
|
-
"node:querystring": [
|
|
3254
|
-
">= 14.18 && < 15",
|
|
3255
|
-
">= 16"
|
|
3256
|
-
],
|
|
3257
3095
|
readline: readline$1,
|
|
3258
|
-
"node:readline": [
|
|
3259
|
-
">= 14.18 && < 15",
|
|
3260
|
-
">= 16"
|
|
3261
|
-
],
|
|
3262
|
-
"readline/promises": ">= 17",
|
|
3263
|
-
"node:readline/promises": ">= 17",
|
|
3264
3096
|
repl: repl$1,
|
|
3265
|
-
"node:repl": [
|
|
3266
|
-
">= 14.18 && < 15",
|
|
3267
|
-
">= 16"
|
|
3268
|
-
],
|
|
3269
3097
|
smalloc: smalloc$1,
|
|
3270
3098
|
_stream_duplex: _stream_duplex$1,
|
|
3271
|
-
"node:_stream_duplex": [
|
|
3272
|
-
">= 14.18 && < 15",
|
|
3273
|
-
">= 16"
|
|
3274
|
-
],
|
|
3275
3099
|
_stream_transform: _stream_transform$1,
|
|
3276
|
-
"node:_stream_transform": [
|
|
3277
|
-
">= 14.18 && < 15",
|
|
3278
|
-
">= 16"
|
|
3279
|
-
],
|
|
3280
3100
|
_stream_wrap: _stream_wrap$1,
|
|
3281
|
-
"node:_stream_wrap": [
|
|
3282
|
-
">= 14.18 && < 15",
|
|
3283
|
-
">= 16"
|
|
3284
|
-
],
|
|
3285
3101
|
_stream_passthrough: _stream_passthrough$1,
|
|
3286
|
-
"node:_stream_passthrough": [
|
|
3287
|
-
">= 14.18 && < 15",
|
|
3288
|
-
">= 16"
|
|
3289
|
-
],
|
|
3290
3102
|
_stream_readable: _stream_readable$1,
|
|
3291
|
-
"node:_stream_readable": [
|
|
3292
|
-
">= 14.18 && < 15",
|
|
3293
|
-
">= 16"
|
|
3294
|
-
],
|
|
3295
3103
|
_stream_writable: _stream_writable$1,
|
|
3296
|
-
"node:_stream_writable": [
|
|
3297
|
-
">= 14.18 && < 15",
|
|
3298
|
-
">= 16"
|
|
3299
|
-
],
|
|
3300
3104
|
stream: stream$1,
|
|
3301
|
-
"node:stream": [
|
|
3302
|
-
">= 14.18 && < 15",
|
|
3303
|
-
">= 16"
|
|
3304
|
-
],
|
|
3305
|
-
"stream/consumers": ">= 16.7",
|
|
3306
|
-
"node:stream/consumers": ">= 16.7",
|
|
3307
3105
|
"stream/promises": ">= 15",
|
|
3308
|
-
"node:stream/promises": ">= 16",
|
|
3309
|
-
"stream/web": ">= 16.5",
|
|
3310
|
-
"node:stream/web": ">= 16.5",
|
|
3311
3106
|
string_decoder: string_decoder$1,
|
|
3312
|
-
"node:string_decoder": [
|
|
3313
|
-
">= 14.18 && < 15",
|
|
3314
|
-
">= 16"
|
|
3315
|
-
],
|
|
3316
3107
|
sys: sys$1,
|
|
3317
|
-
"node:sys": [
|
|
3318
|
-
">= 14.18 && < 15",
|
|
3319
|
-
">= 16"
|
|
3320
|
-
],
|
|
3321
|
-
"node:test": [
|
|
3322
|
-
">= 16.17 && < 17",
|
|
3323
|
-
">= 18"
|
|
3324
|
-
],
|
|
3325
3108
|
timers: timers$2,
|
|
3326
|
-
"node:timers": [
|
|
3327
|
-
">= 14.18 && < 15",
|
|
3328
|
-
">= 16"
|
|
3329
|
-
],
|
|
3330
3109
|
"timers/promises": ">= 15",
|
|
3331
|
-
"node:timers/promises": ">= 16",
|
|
3332
3110
|
_tls_common: _tls_common$1,
|
|
3333
|
-
"node:_tls_common": [
|
|
3334
|
-
">= 14.18 && < 15",
|
|
3335
|
-
">= 16"
|
|
3336
|
-
],
|
|
3337
3111
|
_tls_legacy: _tls_legacy$1,
|
|
3338
3112
|
_tls_wrap: _tls_wrap$1,
|
|
3339
|
-
"node:_tls_wrap": [
|
|
3340
|
-
">= 14.18 && < 15",
|
|
3341
|
-
">= 16"
|
|
3342
|
-
],
|
|
3343
3113
|
tls: tls$1,
|
|
3344
|
-
"node:tls": [
|
|
3345
|
-
">= 14.18 && < 15",
|
|
3346
|
-
">= 16"
|
|
3347
|
-
],
|
|
3348
3114
|
trace_events: trace_events$1,
|
|
3349
|
-
"node:trace_events": [
|
|
3350
|
-
">= 14.18 && < 15",
|
|
3351
|
-
">= 16"
|
|
3352
|
-
],
|
|
3353
3115
|
tty: tty$1,
|
|
3354
|
-
"node:tty": [
|
|
3355
|
-
">= 14.18 && < 15",
|
|
3356
|
-
">= 16"
|
|
3357
|
-
],
|
|
3358
3116
|
url: url$1,
|
|
3359
|
-
"node:url": [
|
|
3360
|
-
">= 14.18 && < 15",
|
|
3361
|
-
">= 16"
|
|
3362
|
-
],
|
|
3363
3117
|
util: util$3,
|
|
3364
|
-
"node:util": [
|
|
3365
|
-
">= 14.18 && < 15",
|
|
3366
|
-
">= 16"
|
|
3367
|
-
],
|
|
3368
3118
|
"util/types": ">= 15.3",
|
|
3369
|
-
"node:util/types": ">= 16",
|
|
3370
3119
|
"v8/tools/arguments": ">= 10 && < 12",
|
|
3371
3120
|
"v8/tools/codemap": [
|
|
3372
|
-
">= 4.4 && < 5",
|
|
3373
|
-
">= 5.2 && < 12"
|
|
3121
|
+
">= 4.4.0 && < 5",
|
|
3122
|
+
">= 5.2.0 && < 12"
|
|
3374
3123
|
],
|
|
3375
3124
|
"v8/tools/consarray": [
|
|
3376
|
-
">= 4.4 && < 5",
|
|
3377
|
-
">= 5.2 && < 12"
|
|
3125
|
+
">= 4.4.0 && < 5",
|
|
3126
|
+
">= 5.2.0 && < 12"
|
|
3378
3127
|
],
|
|
3379
3128
|
"v8/tools/csvparser": [
|
|
3380
|
-
">= 4.4 && < 5",
|
|
3381
|
-
">= 5.2 && < 12"
|
|
3129
|
+
">= 4.4.0 && < 5",
|
|
3130
|
+
">= 5.2.0 && < 12"
|
|
3382
3131
|
],
|
|
3383
3132
|
"v8/tools/logreader": [
|
|
3384
|
-
">= 4.4 && < 5",
|
|
3385
|
-
">= 5.2 && < 12"
|
|
3133
|
+
">= 4.4.0 && < 5",
|
|
3134
|
+
">= 5.2.0 && < 12"
|
|
3386
3135
|
],
|
|
3387
3136
|
"v8/tools/profile_view": [
|
|
3388
|
-
">= 4.4 && < 5",
|
|
3389
|
-
">= 5.2 && < 12"
|
|
3137
|
+
">= 4.4.0 && < 5",
|
|
3138
|
+
">= 5.2.0 && < 12"
|
|
3390
3139
|
],
|
|
3391
3140
|
"v8/tools/splaytree": [
|
|
3392
|
-
">= 4.4 && < 5",
|
|
3393
|
-
">= 5.2 && < 12"
|
|
3141
|
+
">= 4.4.0 && < 5",
|
|
3142
|
+
">= 5.2.0 && < 12"
|
|
3394
3143
|
],
|
|
3395
3144
|
v8: v8$1,
|
|
3396
|
-
"node:v8": [
|
|
3397
|
-
">= 14.18 && < 15",
|
|
3398
|
-
">= 16"
|
|
3399
|
-
],
|
|
3400
3145
|
vm: vm$1,
|
|
3401
|
-
"node:vm": [
|
|
3402
|
-
">= 14.18 && < 15",
|
|
3403
|
-
">= 16"
|
|
3404
|
-
],
|
|
3405
3146
|
wasi: wasi$1,
|
|
3406
3147
|
worker_threads: worker_threads$1,
|
|
3407
|
-
|
|
3408
|
-
">= 14.18 && < 15",
|
|
3409
|
-
">= 16"
|
|
3410
|
-
],
|
|
3411
|
-
zlib: zlib$1,
|
|
3412
|
-
"node:zlib": [
|
|
3413
|
-
">= 14.18 && < 15",
|
|
3414
|
-
">= 16"
|
|
3415
|
-
]
|
|
3148
|
+
zlib: zlib$1
|
|
3416
3149
|
};
|
|
3417
3150
|
|
|
3418
3151
|
function specifierIncluded$1(current, specifier) {
|
|
@@ -3457,7 +3190,7 @@ function versionIncluded$1(nodeVersion, specifierValue) {
|
|
|
3457
3190
|
}
|
|
3458
3191
|
|
|
3459
3192
|
var current = typeof nodeVersion === 'undefined'
|
|
3460
|
-
? process.versions && process.versions.node
|
|
3193
|
+
? process.versions && process.versions.node && process.versions.node
|
|
3461
3194
|
: nodeVersion;
|
|
3462
3195
|
|
|
3463
3196
|
if (typeof current !== 'string') {
|
|
@@ -3483,15 +3216,7 @@ var isCoreModule = function isCore(x, nodeVersion) {
|
|
|
3483
3216
|
|
|
3484
3217
|
const fs$1 = /*@__PURE__*/getAugmentedNamespace$1(fs$4);
|
|
3485
3218
|
|
|
3486
|
-
var realpathFS$1 =
|
|
3487
|
-
|
|
3488
|
-
var homedir$1 = homedir$2();
|
|
3489
|
-
var defaultPaths$1 = function () {
|
|
3490
|
-
return [
|
|
3491
|
-
path$4.join(homedir$1, '.node_modules'),
|
|
3492
|
-
path$4.join(homedir$1, '.node_libraries')
|
|
3493
|
-
];
|
|
3494
|
-
};
|
|
3219
|
+
var realpathFS$1 = fs$1.realpath && typeof fs$1.realpath.native === 'function' ? fs$1.realpath.native : fs$1.realpath;
|
|
3495
3220
|
|
|
3496
3221
|
var defaultIsFile$1 = function isFile(file, cb) {
|
|
3497
3222
|
fs$1.stat(file, function (err, stat) {
|
|
@@ -3584,7 +3309,7 @@ var async = function resolve(x, options, callback) {
|
|
|
3584
3309
|
var basedir = opts.basedir || path$4.dirname(caller());
|
|
3585
3310
|
var parent = opts.filename || basedir;
|
|
3586
3311
|
|
|
3587
|
-
opts.paths = opts.paths ||
|
|
3312
|
+
opts.paths = opts.paths || [];
|
|
3588
3313
|
|
|
3589
3314
|
// ensure that `basedir` is an absolute path at this point, resolving against the process' current working directory
|
|
3590
3315
|
var absoluteStart = path$4.resolve(basedir);
|
|
@@ -3807,20 +3532,17 @@ var async = function resolve(x, options, callback) {
|
|
|
3807
3532
|
|
|
3808
3533
|
const assert$1 = true;
|
|
3809
3534
|
const async_hooks = ">= 8";
|
|
3810
|
-
const buffer_ieee754 = "
|
|
3535
|
+
const buffer_ieee754 = "< 0.9.7";
|
|
3811
3536
|
const buffer = true;
|
|
3812
3537
|
const child_process = true;
|
|
3813
|
-
const cluster =
|
|
3538
|
+
const cluster = true;
|
|
3814
3539
|
const console$1 = true;
|
|
3815
3540
|
const constants$1 = true;
|
|
3816
3541
|
const crypto$1 = true;
|
|
3817
3542
|
const _debug_agent = ">= 1 && < 8";
|
|
3818
3543
|
const _debugger = "< 8";
|
|
3819
3544
|
const dgram = true;
|
|
3820
|
-
const diagnostics_channel =
|
|
3821
|
-
">= 14.17 && < 15",
|
|
3822
|
-
">= 15.1"
|
|
3823
|
-
];
|
|
3545
|
+
const diagnostics_channel = ">= 15.1";
|
|
3824
3546
|
const dns = true;
|
|
3825
3547
|
const domain = ">= 0.7.12";
|
|
3826
3548
|
const events$1 = true;
|
|
@@ -3835,7 +3557,7 @@ const _http_server = ">= 0.11.1";
|
|
|
3835
3557
|
const http = true;
|
|
3836
3558
|
const http2 = ">= 8.8";
|
|
3837
3559
|
const https = true;
|
|
3838
|
-
const inspector = ">= 8";
|
|
3560
|
+
const inspector = ">= 8.0.0";
|
|
3839
3561
|
const _linklist = "< 8";
|
|
3840
3562
|
const module$1 = true;
|
|
3841
3563
|
const net = true;
|
|
@@ -3843,7 +3565,7 @@ const os = true;
|
|
|
3843
3565
|
const path$2 = true;
|
|
3844
3566
|
const perf_hooks = ">= 8.5";
|
|
3845
3567
|
const process$1 = ">= 1";
|
|
3846
|
-
const punycode =
|
|
3568
|
+
const punycode = true;
|
|
3847
3569
|
const querystring = true;
|
|
3848
3570
|
const readline = true;
|
|
3849
3571
|
const repl = true;
|
|
@@ -3857,7 +3579,7 @@ const _stream_writable = ">= 0.9.4";
|
|
|
3857
3579
|
const stream = true;
|
|
3858
3580
|
const string_decoder = true;
|
|
3859
3581
|
const sys = [
|
|
3860
|
-
">= 0.
|
|
3582
|
+
">= 0.6 && < 0.7",
|
|
3861
3583
|
">= 0.8"
|
|
3862
3584
|
];
|
|
3863
3585
|
const timers$1 = true;
|
|
@@ -3873,348 +3595,110 @@ const v8 = ">= 1";
|
|
|
3873
3595
|
const vm = true;
|
|
3874
3596
|
const wasi = ">= 13.4 && < 13.5";
|
|
3875
3597
|
const worker_threads = ">= 11.7";
|
|
3876
|
-
const zlib =
|
|
3598
|
+
const zlib = true;
|
|
3877
3599
|
const data$1 = {
|
|
3878
3600
|
assert: assert$1,
|
|
3879
|
-
"node:assert": [
|
|
3880
|
-
">= 14.18 && < 15",
|
|
3881
|
-
">= 16"
|
|
3882
|
-
],
|
|
3883
3601
|
"assert/strict": ">= 15",
|
|
3884
|
-
"node:assert/strict": ">= 16",
|
|
3885
3602
|
async_hooks: async_hooks,
|
|
3886
|
-
"node:async_hooks": [
|
|
3887
|
-
">= 14.18 && < 15",
|
|
3888
|
-
">= 16"
|
|
3889
|
-
],
|
|
3890
3603
|
buffer_ieee754: buffer_ieee754,
|
|
3891
3604
|
buffer: buffer,
|
|
3892
|
-
"node:buffer": [
|
|
3893
|
-
">= 14.18 && < 15",
|
|
3894
|
-
">= 16"
|
|
3895
|
-
],
|
|
3896
3605
|
child_process: child_process,
|
|
3897
|
-
"node:child_process": [
|
|
3898
|
-
">= 14.18 && < 15",
|
|
3899
|
-
">= 16"
|
|
3900
|
-
],
|
|
3901
3606
|
cluster: cluster,
|
|
3902
|
-
"node:cluster": [
|
|
3903
|
-
">= 14.18 && < 15",
|
|
3904
|
-
">= 16"
|
|
3905
|
-
],
|
|
3906
3607
|
console: console$1,
|
|
3907
|
-
"node:console": [
|
|
3908
|
-
">= 14.18 && < 15",
|
|
3909
|
-
">= 16"
|
|
3910
|
-
],
|
|
3911
3608
|
constants: constants$1,
|
|
3912
|
-
"node:constants": [
|
|
3913
|
-
">= 14.18 && < 15",
|
|
3914
|
-
">= 16"
|
|
3915
|
-
],
|
|
3916
3609
|
crypto: crypto$1,
|
|
3917
|
-
"node:crypto": [
|
|
3918
|
-
">= 14.18 && < 15",
|
|
3919
|
-
">= 16"
|
|
3920
|
-
],
|
|
3921
3610
|
_debug_agent: _debug_agent,
|
|
3922
3611
|
_debugger: _debugger,
|
|
3923
3612
|
dgram: dgram,
|
|
3924
|
-
"node:dgram": [
|
|
3925
|
-
">= 14.18 && < 15",
|
|
3926
|
-
">= 16"
|
|
3927
|
-
],
|
|
3928
3613
|
diagnostics_channel: diagnostics_channel,
|
|
3929
|
-
"node:diagnostics_channel": [
|
|
3930
|
-
">= 14.18 && < 15",
|
|
3931
|
-
">= 16"
|
|
3932
|
-
],
|
|
3933
3614
|
dns: dns,
|
|
3934
|
-
"node:dns": [
|
|
3935
|
-
">= 14.18 && < 15",
|
|
3936
|
-
">= 16"
|
|
3937
|
-
],
|
|
3938
3615
|
"dns/promises": ">= 15",
|
|
3939
|
-
"node:dns/promises": ">= 16",
|
|
3940
3616
|
domain: domain,
|
|
3941
|
-
"node:domain": [
|
|
3942
|
-
">= 14.18 && < 15",
|
|
3943
|
-
">= 16"
|
|
3944
|
-
],
|
|
3945
3617
|
events: events$1,
|
|
3946
|
-
"node:events": [
|
|
3947
|
-
">= 14.18 && < 15",
|
|
3948
|
-
">= 16"
|
|
3949
|
-
],
|
|
3950
3618
|
freelist: freelist,
|
|
3951
3619
|
fs: fs,
|
|
3952
|
-
"node:fs": [
|
|
3953
|
-
">= 14.18 && < 15",
|
|
3954
|
-
">= 16"
|
|
3955
|
-
],
|
|
3956
3620
|
"fs/promises": [
|
|
3957
3621
|
">= 10 && < 10.1",
|
|
3958
3622
|
">= 14"
|
|
3959
|
-
],
|
|
3960
|
-
"node:fs/promises": [
|
|
3961
|
-
">= 14.18 && < 15",
|
|
3962
|
-
">= 16"
|
|
3963
3623
|
],
|
|
3964
3624
|
_http_agent: _http_agent,
|
|
3965
|
-
"node:_http_agent": [
|
|
3966
|
-
">= 14.18 && < 15",
|
|
3967
|
-
">= 16"
|
|
3968
|
-
],
|
|
3969
3625
|
_http_client: _http_client,
|
|
3970
|
-
"node:_http_client": [
|
|
3971
|
-
">= 14.18 && < 15",
|
|
3972
|
-
">= 16"
|
|
3973
|
-
],
|
|
3974
3626
|
_http_common: _http_common,
|
|
3975
|
-
"node:_http_common": [
|
|
3976
|
-
">= 14.18 && < 15",
|
|
3977
|
-
">= 16"
|
|
3978
|
-
],
|
|
3979
3627
|
_http_incoming: _http_incoming,
|
|
3980
|
-
"node:_http_incoming": [
|
|
3981
|
-
">= 14.18 && < 15",
|
|
3982
|
-
">= 16"
|
|
3983
|
-
],
|
|
3984
3628
|
_http_outgoing: _http_outgoing,
|
|
3985
|
-
"node:_http_outgoing": [
|
|
3986
|
-
">= 14.18 && < 15",
|
|
3987
|
-
">= 16"
|
|
3988
|
-
],
|
|
3989
3629
|
_http_server: _http_server,
|
|
3990
|
-
"node:_http_server": [
|
|
3991
|
-
">= 14.18 && < 15",
|
|
3992
|
-
">= 16"
|
|
3993
|
-
],
|
|
3994
3630
|
http: http,
|
|
3995
|
-
"node:http": [
|
|
3996
|
-
">= 14.18 && < 15",
|
|
3997
|
-
">= 16"
|
|
3998
|
-
],
|
|
3999
3631
|
http2: http2,
|
|
4000
|
-
"node:http2": [
|
|
4001
|
-
">= 14.18 && < 15",
|
|
4002
|
-
">= 16"
|
|
4003
|
-
],
|
|
4004
3632
|
https: https,
|
|
4005
|
-
"node:https": [
|
|
4006
|
-
">= 14.18 && < 15",
|
|
4007
|
-
">= 16"
|
|
4008
|
-
],
|
|
4009
3633
|
inspector: inspector,
|
|
4010
|
-
"node:inspector": [
|
|
4011
|
-
">= 14.18 && < 15",
|
|
4012
|
-
">= 16"
|
|
4013
|
-
],
|
|
4014
3634
|
_linklist: _linklist,
|
|
4015
3635
|
module: module$1,
|
|
4016
|
-
"node:module": [
|
|
4017
|
-
">= 14.18 && < 15",
|
|
4018
|
-
">= 16"
|
|
4019
|
-
],
|
|
4020
3636
|
net: net,
|
|
4021
|
-
"node
|
|
4022
|
-
">=
|
|
4023
|
-
">=
|
|
4024
|
-
],
|
|
4025
|
-
"node-inspect/lib/_inspect": ">= 7.6 && < 12",
|
|
4026
|
-
"node-inspect/lib/internal/inspect_client": ">= 7.6 && < 12",
|
|
4027
|
-
"node-inspect/lib/internal/inspect_repl": ">= 7.6 && < 12",
|
|
3637
|
+
"node-inspect/lib/_inspect": ">= 7.6.0 && < 12",
|
|
3638
|
+
"node-inspect/lib/internal/inspect_client": ">= 7.6.0 && < 12",
|
|
3639
|
+
"node-inspect/lib/internal/inspect_repl": ">= 7.6.0 && < 12",
|
|
4028
3640
|
os: os,
|
|
4029
|
-
"node:os": [
|
|
4030
|
-
">= 14.18 && < 15",
|
|
4031
|
-
">= 16"
|
|
4032
|
-
],
|
|
4033
3641
|
path: path$2,
|
|
4034
|
-
"node:path": [
|
|
4035
|
-
">= 14.18 && < 15",
|
|
4036
|
-
">= 16"
|
|
4037
|
-
],
|
|
4038
3642
|
"path/posix": ">= 15.3",
|
|
4039
|
-
"node:path/posix": ">= 16",
|
|
4040
3643
|
"path/win32": ">= 15.3",
|
|
4041
|
-
"node:path/win32": ">= 16",
|
|
4042
3644
|
perf_hooks: perf_hooks,
|
|
4043
|
-
"node:perf_hooks": [
|
|
4044
|
-
">= 14.18 && < 15",
|
|
4045
|
-
">= 16"
|
|
4046
|
-
],
|
|
4047
3645
|
process: process$1,
|
|
4048
|
-
"node:process": [
|
|
4049
|
-
">= 14.18 && < 15",
|
|
4050
|
-
">= 16"
|
|
4051
|
-
],
|
|
4052
3646
|
punycode: punycode,
|
|
4053
|
-
"node:punycode": [
|
|
4054
|
-
">= 14.18 && < 15",
|
|
4055
|
-
">= 16"
|
|
4056
|
-
],
|
|
4057
3647
|
querystring: querystring,
|
|
4058
|
-
"node:querystring": [
|
|
4059
|
-
">= 14.18 && < 15",
|
|
4060
|
-
">= 16"
|
|
4061
|
-
],
|
|
4062
3648
|
readline: readline,
|
|
4063
|
-
"node:readline": [
|
|
4064
|
-
">= 14.18 && < 15",
|
|
4065
|
-
">= 16"
|
|
4066
|
-
],
|
|
4067
|
-
"readline/promises": ">= 17",
|
|
4068
|
-
"node:readline/promises": ">= 17",
|
|
4069
3649
|
repl: repl,
|
|
4070
|
-
"node:repl": [
|
|
4071
|
-
">= 14.18 && < 15",
|
|
4072
|
-
">= 16"
|
|
4073
|
-
],
|
|
4074
3650
|
smalloc: smalloc,
|
|
4075
3651
|
_stream_duplex: _stream_duplex,
|
|
4076
|
-
"node:_stream_duplex": [
|
|
4077
|
-
">= 14.18 && < 15",
|
|
4078
|
-
">= 16"
|
|
4079
|
-
],
|
|
4080
3652
|
_stream_transform: _stream_transform,
|
|
4081
|
-
"node:_stream_transform": [
|
|
4082
|
-
">= 14.18 && < 15",
|
|
4083
|
-
">= 16"
|
|
4084
|
-
],
|
|
4085
3653
|
_stream_wrap: _stream_wrap,
|
|
4086
|
-
"node:_stream_wrap": [
|
|
4087
|
-
">= 14.18 && < 15",
|
|
4088
|
-
">= 16"
|
|
4089
|
-
],
|
|
4090
3654
|
_stream_passthrough: _stream_passthrough,
|
|
4091
|
-
"node:_stream_passthrough": [
|
|
4092
|
-
">= 14.18 && < 15",
|
|
4093
|
-
">= 16"
|
|
4094
|
-
],
|
|
4095
3655
|
_stream_readable: _stream_readable,
|
|
4096
|
-
"node:_stream_readable": [
|
|
4097
|
-
">= 14.18 && < 15",
|
|
4098
|
-
">= 16"
|
|
4099
|
-
],
|
|
4100
3656
|
_stream_writable: _stream_writable,
|
|
4101
|
-
"node:_stream_writable": [
|
|
4102
|
-
">= 14.18 && < 15",
|
|
4103
|
-
">= 16"
|
|
4104
|
-
],
|
|
4105
3657
|
stream: stream,
|
|
4106
|
-
"node:stream": [
|
|
4107
|
-
">= 14.18 && < 15",
|
|
4108
|
-
">= 16"
|
|
4109
|
-
],
|
|
4110
|
-
"stream/consumers": ">= 16.7",
|
|
4111
|
-
"node:stream/consumers": ">= 16.7",
|
|
4112
3658
|
"stream/promises": ">= 15",
|
|
4113
|
-
"node:stream/promises": ">= 16",
|
|
4114
|
-
"stream/web": ">= 16.5",
|
|
4115
|
-
"node:stream/web": ">= 16.5",
|
|
4116
3659
|
string_decoder: string_decoder,
|
|
4117
|
-
"node:string_decoder": [
|
|
4118
|
-
">= 14.18 && < 15",
|
|
4119
|
-
">= 16"
|
|
4120
|
-
],
|
|
4121
3660
|
sys: sys,
|
|
4122
|
-
"node:sys": [
|
|
4123
|
-
">= 14.18 && < 15",
|
|
4124
|
-
">= 16"
|
|
4125
|
-
],
|
|
4126
|
-
"node:test": ">= 18",
|
|
4127
3661
|
timers: timers$1,
|
|
4128
|
-
"node:timers": [
|
|
4129
|
-
">= 14.18 && < 15",
|
|
4130
|
-
">= 16"
|
|
4131
|
-
],
|
|
4132
3662
|
"timers/promises": ">= 15",
|
|
4133
|
-
"node:timers/promises": ">= 16",
|
|
4134
3663
|
_tls_common: _tls_common,
|
|
4135
|
-
"node:_tls_common": [
|
|
4136
|
-
">= 14.18 && < 15",
|
|
4137
|
-
">= 16"
|
|
4138
|
-
],
|
|
4139
3664
|
_tls_legacy: _tls_legacy,
|
|
4140
3665
|
_tls_wrap: _tls_wrap,
|
|
4141
|
-
"node:_tls_wrap": [
|
|
4142
|
-
">= 14.18 && < 15",
|
|
4143
|
-
">= 16"
|
|
4144
|
-
],
|
|
4145
3666
|
tls: tls,
|
|
4146
|
-
"node:tls": [
|
|
4147
|
-
">= 14.18 && < 15",
|
|
4148
|
-
">= 16"
|
|
4149
|
-
],
|
|
4150
3667
|
trace_events: trace_events,
|
|
4151
|
-
"node:trace_events": [
|
|
4152
|
-
">= 14.18 && < 15",
|
|
4153
|
-
">= 16"
|
|
4154
|
-
],
|
|
4155
3668
|
tty: tty,
|
|
4156
|
-
"node:tty": [
|
|
4157
|
-
">= 14.18 && < 15",
|
|
4158
|
-
">= 16"
|
|
4159
|
-
],
|
|
4160
3669
|
url: url,
|
|
4161
|
-
"node:url": [
|
|
4162
|
-
">= 14.18 && < 15",
|
|
4163
|
-
">= 16"
|
|
4164
|
-
],
|
|
4165
3670
|
util: util$2,
|
|
4166
|
-
"node:util": [
|
|
4167
|
-
">= 14.18 && < 15",
|
|
4168
|
-
">= 16"
|
|
4169
|
-
],
|
|
4170
3671
|
"util/types": ">= 15.3",
|
|
4171
|
-
"node:util/types": ">= 16",
|
|
4172
3672
|
"v8/tools/arguments": ">= 10 && < 12",
|
|
4173
3673
|
"v8/tools/codemap": [
|
|
4174
|
-
">= 4.4 && < 5",
|
|
4175
|
-
">= 5.2 && < 12"
|
|
3674
|
+
">= 4.4.0 && < 5",
|
|
3675
|
+
">= 5.2.0 && < 12"
|
|
4176
3676
|
],
|
|
4177
3677
|
"v8/tools/consarray": [
|
|
4178
|
-
">= 4.4 && < 5",
|
|
4179
|
-
">= 5.2 && < 12"
|
|
3678
|
+
">= 4.4.0 && < 5",
|
|
3679
|
+
">= 5.2.0 && < 12"
|
|
4180
3680
|
],
|
|
4181
3681
|
"v8/tools/csvparser": [
|
|
4182
|
-
">= 4.4 && < 5",
|
|
4183
|
-
">= 5.2 && < 12"
|
|
3682
|
+
">= 4.4.0 && < 5",
|
|
3683
|
+
">= 5.2.0 && < 12"
|
|
4184
3684
|
],
|
|
4185
3685
|
"v8/tools/logreader": [
|
|
4186
|
-
">= 4.4 && < 5",
|
|
4187
|
-
">= 5.2 && < 12"
|
|
3686
|
+
">= 4.4.0 && < 5",
|
|
3687
|
+
">= 5.2.0 && < 12"
|
|
4188
3688
|
],
|
|
4189
3689
|
"v8/tools/profile_view": [
|
|
4190
|
-
">= 4.4 && < 5",
|
|
4191
|
-
">= 5.2 && < 12"
|
|
3690
|
+
">= 4.4.0 && < 5",
|
|
3691
|
+
">= 5.2.0 && < 12"
|
|
4192
3692
|
],
|
|
4193
3693
|
"v8/tools/splaytree": [
|
|
4194
|
-
">= 4.4 && < 5",
|
|
4195
|
-
">= 5.2 && < 12"
|
|
3694
|
+
">= 4.4.0 && < 5",
|
|
3695
|
+
">= 5.2.0 && < 12"
|
|
4196
3696
|
],
|
|
4197
3697
|
v8: v8,
|
|
4198
|
-
"node:v8": [
|
|
4199
|
-
">= 14.18 && < 15",
|
|
4200
|
-
">= 16"
|
|
4201
|
-
],
|
|
4202
3698
|
vm: vm,
|
|
4203
|
-
"node:vm": [
|
|
4204
|
-
">= 14.18 && < 15",
|
|
4205
|
-
">= 16"
|
|
4206
|
-
],
|
|
4207
3699
|
wasi: wasi,
|
|
4208
3700
|
worker_threads: worker_threads,
|
|
4209
|
-
|
|
4210
|
-
">= 14.18 && < 15",
|
|
4211
|
-
">= 16"
|
|
4212
|
-
],
|
|
4213
|
-
zlib: zlib,
|
|
4214
|
-
"node:zlib": [
|
|
4215
|
-
">= 14.18 && < 15",
|
|
4216
|
-
">= 16"
|
|
4217
|
-
]
|
|
3701
|
+
zlib: zlib
|
|
4218
3702
|
};
|
|
4219
3703
|
|
|
4220
3704
|
var current = (process.versions && process.versions.node && process.versions.node.split('.')) || [];
|
|
@@ -4234,8 +3718,9 @@ function specifierIncluded(specifier) {
|
|
|
4234
3718
|
return cur < ver;
|
|
4235
3719
|
} else if (op === '>=') {
|
|
4236
3720
|
return cur >= ver;
|
|
3721
|
+
} else {
|
|
3722
|
+
return false;
|
|
4237
3723
|
}
|
|
4238
|
-
return false;
|
|
4239
3724
|
}
|
|
4240
3725
|
return op === '>=';
|
|
4241
3726
|
}
|
|
@@ -4274,34 +3759,26 @@ var isCore = function isCore(x) {
|
|
|
4274
3759
|
return isCoreModule(x);
|
|
4275
3760
|
};
|
|
4276
3761
|
|
|
4277
|
-
var realpathFS =
|
|
4278
|
-
|
|
4279
|
-
var homedir = homedir$2();
|
|
4280
|
-
var defaultPaths = function () {
|
|
4281
|
-
return [
|
|
4282
|
-
path$4.join(homedir, '.node_modules'),
|
|
4283
|
-
path$4.join(homedir, '.node_libraries')
|
|
4284
|
-
];
|
|
4285
|
-
};
|
|
3762
|
+
var realpathFS = fs$1.realpathSync && typeof fs$1.realpathSync.native === 'function' ? fs$1.realpathSync.native : fs$1.realpathSync;
|
|
4286
3763
|
|
|
4287
3764
|
var defaultIsFile = function isFile(file) {
|
|
4288
3765
|
try {
|
|
4289
|
-
var stat = fs$1.statSync(file
|
|
3766
|
+
var stat = fs$1.statSync(file);
|
|
4290
3767
|
} catch (e) {
|
|
4291
3768
|
if (e && (e.code === 'ENOENT' || e.code === 'ENOTDIR')) return false;
|
|
4292
3769
|
throw e;
|
|
4293
3770
|
}
|
|
4294
|
-
return
|
|
3771
|
+
return stat.isFile() || stat.isFIFO();
|
|
4295
3772
|
};
|
|
4296
3773
|
|
|
4297
3774
|
var defaultIsDir = function isDirectory(dir) {
|
|
4298
3775
|
try {
|
|
4299
|
-
var stat = fs$1.statSync(dir
|
|
3776
|
+
var stat = fs$1.statSync(dir);
|
|
4300
3777
|
} catch (e) {
|
|
4301
3778
|
if (e && (e.code === 'ENOENT' || e.code === 'ENOTDIR')) return false;
|
|
4302
3779
|
throw e;
|
|
4303
3780
|
}
|
|
4304
|
-
return
|
|
3781
|
+
return stat.isDirectory();
|
|
4305
3782
|
};
|
|
4306
3783
|
|
|
4307
3784
|
var defaultRealpathSync = function realpathSync(x) {
|
|
@@ -4359,7 +3836,7 @@ var sync$1 = function resolveSync(x, options) {
|
|
|
4359
3836
|
var basedir = opts.basedir || path$4.dirname(caller());
|
|
4360
3837
|
var parent = opts.filename || basedir;
|
|
4361
3838
|
|
|
4362
|
-
opts.paths = opts.paths ||
|
|
3839
|
+
opts.paths = opts.paths || [];
|
|
4363
3840
|
|
|
4364
3841
|
// ensure that `basedir` is an absolute path at this point, resolving against the process' current working directory
|
|
4365
3842
|
var absoluteStart = maybeRealpathSync(realpathSync, path$4.resolve(basedir), opts);
|
|
@@ -4588,16 +4065,16 @@ const createCustomResolverAsync = (sys, inMemoryFs, exts) => {
|
|
|
4588
4065
|
};
|
|
4589
4066
|
};
|
|
4590
4067
|
|
|
4591
|
-
const buildId = '
|
|
4068
|
+
const buildId = '20230503113252';
|
|
4592
4069
|
const minfyJsId = 'terser5.6.1_7';
|
|
4593
|
-
const optimizeCssId = 'autoprefixer10.2.5_postcss8.
|
|
4070
|
+
const optimizeCssId = 'autoprefixer10.2.5_postcss8.2.13_7';
|
|
4594
4071
|
const parse5Version = '6.0.1';
|
|
4595
4072
|
const rollupVersion = '2.42.3';
|
|
4596
4073
|
const sizzleVersion = '2.42.3';
|
|
4597
4074
|
const terserVersion = '5.6.1';
|
|
4598
4075
|
const typescriptVersion = '4.7.4';
|
|
4599
|
-
const vermoji = '
|
|
4600
|
-
const version$3 = '2.18.
|
|
4076
|
+
const vermoji = '⚾️';
|
|
4077
|
+
const version$3 = '2.18.1';
|
|
4601
4078
|
const versions = {
|
|
4602
4079
|
rindo: version$3,
|
|
4603
4080
|
parse5: parse5Version,
|
|
@@ -9821,7 +9298,7 @@ const removeRindoScripts = (doc) => {
|
|
|
9821
9298
|
}
|
|
9822
9299
|
};
|
|
9823
9300
|
const hasRindoScript = (doc) => {
|
|
9824
|
-
return !!doc.querySelector('script[rindo]');
|
|
9301
|
+
return !!doc.querySelector('script[data-rindo]');
|
|
9825
9302
|
};
|
|
9826
9303
|
const hashAssets = async (sys, prerenderCtx, diagnostics, hydrateOpts, appDir, doc, currentUrl) => {
|
|
9827
9304
|
// do one at a time to prevent too many opened files and memory usage issues
|
|
@@ -10593,7 +10070,7 @@ var Chunk$3 = function Chunk(start, end, content) {
|
|
|
10593
10070
|
// we make these non-enumerable, for sanity while debugging
|
|
10594
10071
|
Object.defineProperties(this, {
|
|
10595
10072
|
previous: { writable: true, value: null },
|
|
10596
|
-
next:
|
|
10073
|
+
next: { writable: true, value: null }
|
|
10597
10074
|
});
|
|
10598
10075
|
};
|
|
10599
10076
|
|
|
@@ -10703,6 +10180,7 @@ Chunk$3.prototype.trimEnd = function trimEnd (rx) {
|
|
|
10703
10180
|
this.split(this.start + trimmed.length).edit('', undefined, true);
|
|
10704
10181
|
}
|
|
10705
10182
|
return true;
|
|
10183
|
+
|
|
10706
10184
|
} else {
|
|
10707
10185
|
this.edit('', undefined, true);
|
|
10708
10186
|
|
|
@@ -10723,6 +10201,7 @@ Chunk$3.prototype.trimStart = function trimStart (rx) {
|
|
|
10723
10201
|
this.edit('', undefined, true);
|
|
10724
10202
|
}
|
|
10725
10203
|
return true;
|
|
10204
|
+
|
|
10726
10205
|
} else {
|
|
10727
10206
|
this.edit('', undefined, true);
|
|
10728
10207
|
|
|
@@ -10907,7 +10386,7 @@ var n$2 = '\n';
|
|
|
10907
10386
|
var warned$2 = {
|
|
10908
10387
|
insertLeft: false,
|
|
10909
10388
|
insertRight: false,
|
|
10910
|
-
storeName: false
|
|
10389
|
+
storeName: false
|
|
10911
10390
|
};
|
|
10912
10391
|
|
|
10913
10392
|
var MagicString$2 = function MagicString(string, options) {
|
|
@@ -10916,19 +10395,19 @@ var MagicString$2 = function MagicString(string, options) {
|
|
|
10916
10395
|
var chunk = new Chunk$3(0, string.length, string);
|
|
10917
10396
|
|
|
10918
10397
|
Object.defineProperties(this, {
|
|
10919
|
-
original:
|
|
10920
|
-
outro:
|
|
10921
|
-
intro:
|
|
10922
|
-
firstChunk:
|
|
10923
|
-
lastChunk:
|
|
10924
|
-
lastSearchedChunk:
|
|
10925
|
-
byStart:
|
|
10926
|
-
byEnd:
|
|
10927
|
-
filename:
|
|
10398
|
+
original: { writable: true, value: string },
|
|
10399
|
+
outro: { writable: true, value: '' },
|
|
10400
|
+
intro: { writable: true, value: '' },
|
|
10401
|
+
firstChunk: { writable: true, value: chunk },
|
|
10402
|
+
lastChunk: { writable: true, value: chunk },
|
|
10403
|
+
lastSearchedChunk: { writable: true, value: chunk },
|
|
10404
|
+
byStart: { writable: true, value: {} },
|
|
10405
|
+
byEnd: { writable: true, value: {} },
|
|
10406
|
+
filename: { writable: true, value: options.filename },
|
|
10928
10407
|
indentExclusionRanges: { writable: true, value: options.indentExclusionRanges },
|
|
10929
|
-
sourcemapLocations:
|
|
10930
|
-
storedNames:
|
|
10931
|
-
indentStr:
|
|
10408
|
+
sourcemapLocations: { writable: true, value: new BitSet$2() },
|
|
10409
|
+
storedNames: { writable: true, value: {} },
|
|
10410
|
+
indentStr: { writable: true, value: guessIndent$2(string) }
|
|
10932
10411
|
});
|
|
10933
10412
|
|
|
10934
10413
|
this.byStart[0] = chunk;
|
|
@@ -11014,7 +10493,7 @@ MagicString$2.prototype.clone = function clone () {
|
|
|
11014
10493
|
};
|
|
11015
10494
|
|
|
11016
10495
|
MagicString$2.prototype.generateDecodedMap = function generateDecodedMap (options) {
|
|
11017
|
-
var this$1
|
|
10496
|
+
var this$1 = this;
|
|
11018
10497
|
|
|
11019
10498
|
options = options || {};
|
|
11020
10499
|
|
|
@@ -11041,7 +10520,7 @@ MagicString$2.prototype.generateDecodedMap = function generateDecodedMap (option
|
|
|
11041
10520
|
chunk.storeName ? names.indexOf(chunk.original) : -1
|
|
11042
10521
|
);
|
|
11043
10522
|
} else {
|
|
11044
|
-
mappings.addUneditedChunk(sourceIndex, chunk, this$1
|
|
10523
|
+
mappings.addUneditedChunk(sourceIndex, chunk, this$1.original, loc, this$1.sourcemapLocations);
|
|
11045
10524
|
}
|
|
11046
10525
|
|
|
11047
10526
|
if (chunk.outro.length) { mappings.advance(chunk.outro); }
|
|
@@ -11052,7 +10531,7 @@ MagicString$2.prototype.generateDecodedMap = function generateDecodedMap (option
|
|
|
11052
10531
|
sources: [options.source ? getRelativePath$2(options.file || '', options.source) : null],
|
|
11053
10532
|
sourcesContent: options.includeContent ? [this.original] : [null],
|
|
11054
10533
|
names: names,
|
|
11055
|
-
mappings: mappings.raw
|
|
10534
|
+
mappings: mappings.raw
|
|
11056
10535
|
};
|
|
11057
10536
|
};
|
|
11058
10537
|
|
|
@@ -11150,16 +10629,12 @@ MagicString$2.prototype.indent = function indent (indentStr, options) {
|
|
|
11150
10629
|
};
|
|
11151
10630
|
|
|
11152
10631
|
MagicString$2.prototype.insert = function insert () {
|
|
11153
|
-
throw new Error(
|
|
11154
|
-
'magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)'
|
|
11155
|
-
);
|
|
10632
|
+
throw new Error('magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)');
|
|
11156
10633
|
};
|
|
11157
10634
|
|
|
11158
10635
|
MagicString$2.prototype.insertLeft = function insertLeft (index, content) {
|
|
11159
10636
|
if (!warned$2.insertLeft) {
|
|
11160
|
-
console.warn(
|
|
11161
|
-
'magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead'
|
|
11162
|
-
); // eslint-disable-line no-console
|
|
10637
|
+
console.warn('magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead'); // eslint-disable-line no-console
|
|
11163
10638
|
warned$2.insertLeft = true;
|
|
11164
10639
|
}
|
|
11165
10640
|
|
|
@@ -11168,9 +10643,7 @@ MagicString$2.prototype.insertLeft = function insertLeft (index, content) {
|
|
|
11168
10643
|
|
|
11169
10644
|
MagicString$2.prototype.insertRight = function insertRight (index, content) {
|
|
11170
10645
|
if (!warned$2.insertRight) {
|
|
11171
|
-
console.warn(
|
|
11172
|
-
'magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead'
|
|
11173
|
-
); // eslint-disable-line no-console
|
|
10646
|
+
console.warn('magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead'); // eslint-disable-line no-console
|
|
11174
10647
|
warned$2.insertRight = true;
|
|
11175
10648
|
}
|
|
11176
10649
|
|
|
@@ -11222,18 +10695,14 @@ MagicString$2.prototype.overwrite = function overwrite (start, end, content, opt
|
|
|
11222
10695
|
|
|
11223
10696
|
if (end > this.original.length) { throw new Error('end is out of bounds'); }
|
|
11224
10697
|
if (start === end)
|
|
11225
|
-
{ throw new Error(
|
|
11226
|
-
'Cannot overwrite a zero-length range – use appendLeft or prependRight instead'
|
|
11227
|
-
); }
|
|
10698
|
+
{ throw new Error('Cannot overwrite a zero-length range – use appendLeft or prependRight instead'); }
|
|
11228
10699
|
|
|
11229
10700
|
this._split(start);
|
|
11230
10701
|
this._split(end);
|
|
11231
10702
|
|
|
11232
10703
|
if (options === true) {
|
|
11233
10704
|
if (!warned$2.storeName) {
|
|
11234
|
-
console.warn(
|
|
11235
|
-
'The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string'
|
|
11236
|
-
); // eslint-disable-line no-console
|
|
10705
|
+
console.warn('The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string'); // eslint-disable-line no-console
|
|
11237
10706
|
warned$2.storeName = true;
|
|
11238
10707
|
}
|
|
11239
10708
|
|
|
@@ -11244,23 +10713,28 @@ MagicString$2.prototype.overwrite = function overwrite (start, end, content, opt
|
|
|
11244
10713
|
|
|
11245
10714
|
if (storeName) {
|
|
11246
10715
|
var original = this.original.slice(start, end);
|
|
11247
|
-
|
|
10716
|
+
this.storedNames[original] = true;
|
|
11248
10717
|
}
|
|
11249
10718
|
|
|
11250
10719
|
var first = this.byStart[start];
|
|
11251
10720
|
var last = this.byEnd[end];
|
|
11252
10721
|
|
|
11253
10722
|
if (first) {
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
if (chunk.next !== this.byStart[chunk.end]) {
|
|
11257
|
-
throw new Error('Cannot overwrite across a split point');
|
|
11258
|
-
}
|
|
11259
|
-
chunk = chunk.next;
|
|
11260
|
-
chunk.edit('', false);
|
|
10723
|
+
if (end > first.end && first.next !== this.byStart[first.end]) {
|
|
10724
|
+
throw new Error('Cannot overwrite across a split point');
|
|
11261
10725
|
}
|
|
11262
10726
|
|
|
11263
10727
|
first.edit(content, storeName, contentOnly);
|
|
10728
|
+
|
|
10729
|
+
if (first !== last) {
|
|
10730
|
+
var chunk = first.next;
|
|
10731
|
+
while (chunk !== last) {
|
|
10732
|
+
chunk.edit('', false);
|
|
10733
|
+
chunk = chunk.next;
|
|
10734
|
+
}
|
|
10735
|
+
|
|
10736
|
+
chunk.edit('', false);
|
|
10737
|
+
}
|
|
11264
10738
|
} else {
|
|
11265
10739
|
// must be inserting at the end
|
|
11266
10740
|
var newChunk = new Chunk$3(start, end, '').edit(content, storeName);
|
|
@@ -11334,43 +10808,53 @@ MagicString$2.prototype.remove = function remove (start, end) {
|
|
|
11334
10808
|
};
|
|
11335
10809
|
|
|
11336
10810
|
MagicString$2.prototype.lastChar = function lastChar () {
|
|
11337
|
-
if (this.outro.length)
|
|
10811
|
+
if (this.outro.length)
|
|
10812
|
+
{ return this.outro[this.outro.length - 1]; }
|
|
11338
10813
|
var chunk = this.lastChunk;
|
|
11339
10814
|
do {
|
|
11340
|
-
if (chunk.outro.length)
|
|
11341
|
-
|
|
11342
|
-
if (chunk.
|
|
11343
|
-
|
|
11344
|
-
|
|
10815
|
+
if (chunk.outro.length)
|
|
10816
|
+
{ return chunk.outro[chunk.outro.length - 1]; }
|
|
10817
|
+
if (chunk.content.length)
|
|
10818
|
+
{ return chunk.content[chunk.content.length - 1]; }
|
|
10819
|
+
if (chunk.intro.length)
|
|
10820
|
+
{ return chunk.intro[chunk.intro.length - 1]; }
|
|
10821
|
+
} while (chunk = chunk.previous);
|
|
10822
|
+
if (this.intro.length)
|
|
10823
|
+
{ return this.intro[this.intro.length - 1]; }
|
|
11345
10824
|
return '';
|
|
11346
10825
|
};
|
|
11347
10826
|
|
|
11348
10827
|
MagicString$2.prototype.lastLine = function lastLine () {
|
|
11349
10828
|
var lineIndex = this.outro.lastIndexOf(n$2);
|
|
11350
|
-
if (lineIndex !== -1)
|
|
10829
|
+
if (lineIndex !== -1)
|
|
10830
|
+
{ return this.outro.substr(lineIndex + 1); }
|
|
11351
10831
|
var lineStr = this.outro;
|
|
11352
10832
|
var chunk = this.lastChunk;
|
|
11353
10833
|
do {
|
|
11354
10834
|
if (chunk.outro.length > 0) {
|
|
11355
10835
|
lineIndex = chunk.outro.lastIndexOf(n$2);
|
|
11356
|
-
if (lineIndex !== -1)
|
|
10836
|
+
if (lineIndex !== -1)
|
|
10837
|
+
{ return chunk.outro.substr(lineIndex + 1) + lineStr; }
|
|
11357
10838
|
lineStr = chunk.outro + lineStr;
|
|
11358
10839
|
}
|
|
11359
10840
|
|
|
11360
10841
|
if (chunk.content.length > 0) {
|
|
11361
10842
|
lineIndex = chunk.content.lastIndexOf(n$2);
|
|
11362
|
-
if (lineIndex !== -1)
|
|
10843
|
+
if (lineIndex !== -1)
|
|
10844
|
+
{ return chunk.content.substr(lineIndex + 1) + lineStr; }
|
|
11363
10845
|
lineStr = chunk.content + lineStr;
|
|
11364
10846
|
}
|
|
11365
10847
|
|
|
11366
10848
|
if (chunk.intro.length > 0) {
|
|
11367
10849
|
lineIndex = chunk.intro.lastIndexOf(n$2);
|
|
11368
|
-
if (lineIndex !== -1)
|
|
10850
|
+
if (lineIndex !== -1)
|
|
10851
|
+
{ return chunk.intro.substr(lineIndex + 1) + lineStr; }
|
|
11369
10852
|
lineStr = chunk.intro + lineStr;
|
|
11370
10853
|
}
|
|
11371
|
-
} while (
|
|
10854
|
+
} while (chunk = chunk.previous);
|
|
11372
10855
|
lineIndex = this.intro.lastIndexOf(n$2);
|
|
11373
|
-
if (lineIndex !== -1)
|
|
10856
|
+
if (lineIndex !== -1)
|
|
10857
|
+
{ return this.intro.substr(lineIndex + 1) + lineStr; }
|
|
11374
10858
|
return this.intro + lineStr;
|
|
11375
10859
|
};
|
|
11376
10860
|
|
|
@@ -11484,13 +10968,11 @@ MagicString$2.prototype.toString = function toString () {
|
|
|
11484
10968
|
MagicString$2.prototype.isEmpty = function isEmpty () {
|
|
11485
10969
|
var chunk = this.firstChunk;
|
|
11486
10970
|
do {
|
|
11487
|
-
if (
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
(chunk.outro.length && chunk.outro.trim())
|
|
11491
|
-
)
|
|
10971
|
+
if (chunk.intro.length && chunk.intro.trim() ||
|
|
10972
|
+
chunk.content.length && chunk.content.trim() ||
|
|
10973
|
+
chunk.outro.length && chunk.outro.trim())
|
|
11492
10974
|
{ return false; }
|
|
11493
|
-
} while (
|
|
10975
|
+
} while (chunk = chunk.next);
|
|
11494
10976
|
return true;
|
|
11495
10977
|
};
|
|
11496
10978
|
|
|
@@ -11499,7 +10981,7 @@ MagicString$2.prototype.length = function length () {
|
|
|
11499
10981
|
var length = 0;
|
|
11500
10982
|
do {
|
|
11501
10983
|
length += chunk.intro.length + chunk.content.length + chunk.outro.length;
|
|
11502
|
-
} while (
|
|
10984
|
+
} while (chunk = chunk.next);
|
|
11503
10985
|
return length;
|
|
11504
10986
|
};
|
|
11505
10987
|
|
|
@@ -12413,7 +11895,7 @@ const isLocalCssImport$1 = (srcImport) => {
|
|
|
12413
11895
|
* Given a file path and a mode name, create an appropriate variable name
|
|
12414
11896
|
*
|
|
12415
11897
|
* @param filePath the path we want to use
|
|
12416
|
-
* @param modeName the name for the current style mode (i.e. `md` or `ios` on
|
|
11898
|
+
* @param modeName the name for the current style mode (i.e. `md` or `ios` on Family)
|
|
12417
11899
|
* @returns an appropriate Css var name
|
|
12418
11900
|
*/
|
|
12419
11901
|
const createCssVarName = (filePath, modeName) => {
|
|
@@ -12929,9 +12411,6 @@ function range$1(a, b, str) {
|
|
|
12929
12411
|
var i = ai;
|
|
12930
12412
|
|
|
12931
12413
|
if (ai >= 0 && bi > 0) {
|
|
12932
|
-
if(a===b) {
|
|
12933
|
-
return [ai, bi];
|
|
12934
|
-
}
|
|
12935
12414
|
begs = [];
|
|
12936
12415
|
left = str.length;
|
|
12937
12416
|
|
|
@@ -16089,7 +15568,6 @@ function getParser(ownerDocument) {
|
|
|
16089
15568
|
if (parseOptions != null) {
|
|
16090
15569
|
return parseOptions;
|
|
16091
15570
|
}
|
|
16092
|
-
// @ts-ignore
|
|
16093
15571
|
const treeAdapter = {
|
|
16094
15572
|
createDocument() {
|
|
16095
15573
|
const doc = ownerDocument.createElement("#document" /* NODE_NAMES.DOCUMENT_NODE */);
|
|
@@ -20449,11 +19927,11 @@ const transformToAbs = (copyTask, dest) => {
|
|
|
20449
19927
|
const removeCollectionImports = (compilerCtx) => {
|
|
20450
19928
|
/*
|
|
20451
19929
|
// remove side effect collection imports like:
|
|
20452
|
-
import '
|
|
19930
|
+
import 'famicons';
|
|
20453
19931
|
|
|
20454
19932
|
// do not remove collection imports with importClauses:
|
|
20455
|
-
import * as asdf '
|
|
20456
|
-
import { asdf } '@
|
|
19933
|
+
import * as asdf 'famicons';
|
|
19934
|
+
import { asdf } '@familyjs/core';
|
|
20457
19935
|
*/
|
|
20458
19936
|
return () => {
|
|
20459
19937
|
return (tsSourceFile) => {
|
|
@@ -45600,7 +45078,7 @@ var Chunk = function Chunk(start, end, content) {
|
|
|
45600
45078
|
// we make these non-enumerable, for sanity while debugging
|
|
45601
45079
|
Object.defineProperties(this, {
|
|
45602
45080
|
previous: { writable: true, value: null },
|
|
45603
|
-
next:
|
|
45081
|
+
next: { writable: true, value: null }
|
|
45604
45082
|
});
|
|
45605
45083
|
};
|
|
45606
45084
|
|
|
@@ -45710,6 +45188,7 @@ Chunk.prototype.trimEnd = function trimEnd (rx) {
|
|
|
45710
45188
|
this.split(this.start + trimmed.length).edit('', undefined, true);
|
|
45711
45189
|
}
|
|
45712
45190
|
return true;
|
|
45191
|
+
|
|
45713
45192
|
} else {
|
|
45714
45193
|
this.edit('', undefined, true);
|
|
45715
45194
|
|
|
@@ -45730,6 +45209,7 @@ Chunk.prototype.trimStart = function trimStart (rx) {
|
|
|
45730
45209
|
this.edit('', undefined, true);
|
|
45731
45210
|
}
|
|
45732
45211
|
return true;
|
|
45212
|
+
|
|
45733
45213
|
} else {
|
|
45734
45214
|
this.edit('', undefined, true);
|
|
45735
45215
|
|
|
@@ -45914,7 +45394,7 @@ var n = '\n';
|
|
|
45914
45394
|
var warned = {
|
|
45915
45395
|
insertLeft: false,
|
|
45916
45396
|
insertRight: false,
|
|
45917
|
-
storeName: false
|
|
45397
|
+
storeName: false
|
|
45918
45398
|
};
|
|
45919
45399
|
|
|
45920
45400
|
var MagicString = function MagicString(string, options) {
|
|
@@ -45923,19 +45403,19 @@ var MagicString = function MagicString(string, options) {
|
|
|
45923
45403
|
var chunk = new Chunk(0, string.length, string);
|
|
45924
45404
|
|
|
45925
45405
|
Object.defineProperties(this, {
|
|
45926
|
-
original:
|
|
45927
|
-
outro:
|
|
45928
|
-
intro:
|
|
45929
|
-
firstChunk:
|
|
45930
|
-
lastChunk:
|
|
45931
|
-
lastSearchedChunk:
|
|
45932
|
-
byStart:
|
|
45933
|
-
byEnd:
|
|
45934
|
-
filename:
|
|
45406
|
+
original: { writable: true, value: string },
|
|
45407
|
+
outro: { writable: true, value: '' },
|
|
45408
|
+
intro: { writable: true, value: '' },
|
|
45409
|
+
firstChunk: { writable: true, value: chunk },
|
|
45410
|
+
lastChunk: { writable: true, value: chunk },
|
|
45411
|
+
lastSearchedChunk: { writable: true, value: chunk },
|
|
45412
|
+
byStart: { writable: true, value: {} },
|
|
45413
|
+
byEnd: { writable: true, value: {} },
|
|
45414
|
+
filename: { writable: true, value: options.filename },
|
|
45935
45415
|
indentExclusionRanges: { writable: true, value: options.indentExclusionRanges },
|
|
45936
|
-
sourcemapLocations:
|
|
45937
|
-
storedNames:
|
|
45938
|
-
indentStr:
|
|
45416
|
+
sourcemapLocations: { writable: true, value: new BitSet() },
|
|
45417
|
+
storedNames: { writable: true, value: {} },
|
|
45418
|
+
indentStr: { writable: true, value: guessIndent(string) }
|
|
45939
45419
|
});
|
|
45940
45420
|
|
|
45941
45421
|
this.byStart[0] = chunk;
|
|
@@ -46021,7 +45501,7 @@ MagicString.prototype.clone = function clone () {
|
|
|
46021
45501
|
};
|
|
46022
45502
|
|
|
46023
45503
|
MagicString.prototype.generateDecodedMap = function generateDecodedMap (options) {
|
|
46024
|
-
var this$1
|
|
45504
|
+
var this$1 = this;
|
|
46025
45505
|
|
|
46026
45506
|
options = options || {};
|
|
46027
45507
|
|
|
@@ -46048,7 +45528,7 @@ MagicString.prototype.generateDecodedMap = function generateDecodedMap (options)
|
|
|
46048
45528
|
chunk.storeName ? names.indexOf(chunk.original) : -1
|
|
46049
45529
|
);
|
|
46050
45530
|
} else {
|
|
46051
|
-
mappings.addUneditedChunk(sourceIndex, chunk, this$1
|
|
45531
|
+
mappings.addUneditedChunk(sourceIndex, chunk, this$1.original, loc, this$1.sourcemapLocations);
|
|
46052
45532
|
}
|
|
46053
45533
|
|
|
46054
45534
|
if (chunk.outro.length) { mappings.advance(chunk.outro); }
|
|
@@ -46059,7 +45539,7 @@ MagicString.prototype.generateDecodedMap = function generateDecodedMap (options)
|
|
|
46059
45539
|
sources: [options.source ? getRelativePath(options.file || '', options.source) : null],
|
|
46060
45540
|
sourcesContent: options.includeContent ? [this.original] : [null],
|
|
46061
45541
|
names: names,
|
|
46062
|
-
mappings: mappings.raw
|
|
45542
|
+
mappings: mappings.raw
|
|
46063
45543
|
};
|
|
46064
45544
|
};
|
|
46065
45545
|
|
|
@@ -46157,16 +45637,12 @@ MagicString.prototype.indent = function indent (indentStr, options) {
|
|
|
46157
45637
|
};
|
|
46158
45638
|
|
|
46159
45639
|
MagicString.prototype.insert = function insert () {
|
|
46160
|
-
throw new Error(
|
|
46161
|
-
'magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)'
|
|
46162
|
-
);
|
|
45640
|
+
throw new Error('magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)');
|
|
46163
45641
|
};
|
|
46164
45642
|
|
|
46165
45643
|
MagicString.prototype.insertLeft = function insertLeft (index, content) {
|
|
46166
45644
|
if (!warned.insertLeft) {
|
|
46167
|
-
console.warn(
|
|
46168
|
-
'magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead'
|
|
46169
|
-
); // eslint-disable-line no-console
|
|
45645
|
+
console.warn('magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead'); // eslint-disable-line no-console
|
|
46170
45646
|
warned.insertLeft = true;
|
|
46171
45647
|
}
|
|
46172
45648
|
|
|
@@ -46175,9 +45651,7 @@ MagicString.prototype.insertLeft = function insertLeft (index, content) {
|
|
|
46175
45651
|
|
|
46176
45652
|
MagicString.prototype.insertRight = function insertRight (index, content) {
|
|
46177
45653
|
if (!warned.insertRight) {
|
|
46178
|
-
console.warn(
|
|
46179
|
-
'magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead'
|
|
46180
|
-
); // eslint-disable-line no-console
|
|
45654
|
+
console.warn('magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead'); // eslint-disable-line no-console
|
|
46181
45655
|
warned.insertRight = true;
|
|
46182
45656
|
}
|
|
46183
45657
|
|
|
@@ -46229,18 +45703,14 @@ MagicString.prototype.overwrite = function overwrite (start, end, content, optio
|
|
|
46229
45703
|
|
|
46230
45704
|
if (end > this.original.length) { throw new Error('end is out of bounds'); }
|
|
46231
45705
|
if (start === end)
|
|
46232
|
-
{ throw new Error(
|
|
46233
|
-
'Cannot overwrite a zero-length range – use appendLeft or prependRight instead'
|
|
46234
|
-
); }
|
|
45706
|
+
{ throw new Error('Cannot overwrite a zero-length range – use appendLeft or prependRight instead'); }
|
|
46235
45707
|
|
|
46236
45708
|
this._split(start);
|
|
46237
45709
|
this._split(end);
|
|
46238
45710
|
|
|
46239
45711
|
if (options === true) {
|
|
46240
45712
|
if (!warned.storeName) {
|
|
46241
|
-
console.warn(
|
|
46242
|
-
'The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string'
|
|
46243
|
-
); // eslint-disable-line no-console
|
|
45713
|
+
console.warn('The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string'); // eslint-disable-line no-console
|
|
46244
45714
|
warned.storeName = true;
|
|
46245
45715
|
}
|
|
46246
45716
|
|
|
@@ -46251,23 +45721,28 @@ MagicString.prototype.overwrite = function overwrite (start, end, content, optio
|
|
|
46251
45721
|
|
|
46252
45722
|
if (storeName) {
|
|
46253
45723
|
var original = this.original.slice(start, end);
|
|
46254
|
-
|
|
45724
|
+
this.storedNames[original] = true;
|
|
46255
45725
|
}
|
|
46256
45726
|
|
|
46257
45727
|
var first = this.byStart[start];
|
|
46258
45728
|
var last = this.byEnd[end];
|
|
46259
45729
|
|
|
46260
45730
|
if (first) {
|
|
46261
|
-
|
|
46262
|
-
|
|
46263
|
-
if (chunk.next !== this.byStart[chunk.end]) {
|
|
46264
|
-
throw new Error('Cannot overwrite across a split point');
|
|
46265
|
-
}
|
|
46266
|
-
chunk = chunk.next;
|
|
46267
|
-
chunk.edit('', false);
|
|
45731
|
+
if (end > first.end && first.next !== this.byStart[first.end]) {
|
|
45732
|
+
throw new Error('Cannot overwrite across a split point');
|
|
46268
45733
|
}
|
|
46269
45734
|
|
|
46270
45735
|
first.edit(content, storeName, contentOnly);
|
|
45736
|
+
|
|
45737
|
+
if (first !== last) {
|
|
45738
|
+
var chunk = first.next;
|
|
45739
|
+
while (chunk !== last) {
|
|
45740
|
+
chunk.edit('', false);
|
|
45741
|
+
chunk = chunk.next;
|
|
45742
|
+
}
|
|
45743
|
+
|
|
45744
|
+
chunk.edit('', false);
|
|
45745
|
+
}
|
|
46271
45746
|
} else {
|
|
46272
45747
|
// must be inserting at the end
|
|
46273
45748
|
var newChunk = new Chunk(start, end, '').edit(content, storeName);
|
|
@@ -46341,43 +45816,53 @@ MagicString.prototype.remove = function remove (start, end) {
|
|
|
46341
45816
|
};
|
|
46342
45817
|
|
|
46343
45818
|
MagicString.prototype.lastChar = function lastChar () {
|
|
46344
|
-
if (this.outro.length)
|
|
45819
|
+
if (this.outro.length)
|
|
45820
|
+
{ return this.outro[this.outro.length - 1]; }
|
|
46345
45821
|
var chunk = this.lastChunk;
|
|
46346
45822
|
do {
|
|
46347
|
-
if (chunk.outro.length)
|
|
46348
|
-
|
|
46349
|
-
if (chunk.
|
|
46350
|
-
|
|
46351
|
-
|
|
45823
|
+
if (chunk.outro.length)
|
|
45824
|
+
{ return chunk.outro[chunk.outro.length - 1]; }
|
|
45825
|
+
if (chunk.content.length)
|
|
45826
|
+
{ return chunk.content[chunk.content.length - 1]; }
|
|
45827
|
+
if (chunk.intro.length)
|
|
45828
|
+
{ return chunk.intro[chunk.intro.length - 1]; }
|
|
45829
|
+
} while (chunk = chunk.previous);
|
|
45830
|
+
if (this.intro.length)
|
|
45831
|
+
{ return this.intro[this.intro.length - 1]; }
|
|
46352
45832
|
return '';
|
|
46353
45833
|
};
|
|
46354
45834
|
|
|
46355
45835
|
MagicString.prototype.lastLine = function lastLine () {
|
|
46356
45836
|
var lineIndex = this.outro.lastIndexOf(n);
|
|
46357
|
-
if (lineIndex !== -1)
|
|
45837
|
+
if (lineIndex !== -1)
|
|
45838
|
+
{ return this.outro.substr(lineIndex + 1); }
|
|
46358
45839
|
var lineStr = this.outro;
|
|
46359
45840
|
var chunk = this.lastChunk;
|
|
46360
45841
|
do {
|
|
46361
45842
|
if (chunk.outro.length > 0) {
|
|
46362
45843
|
lineIndex = chunk.outro.lastIndexOf(n);
|
|
46363
|
-
if (lineIndex !== -1)
|
|
45844
|
+
if (lineIndex !== -1)
|
|
45845
|
+
{ return chunk.outro.substr(lineIndex + 1) + lineStr; }
|
|
46364
45846
|
lineStr = chunk.outro + lineStr;
|
|
46365
45847
|
}
|
|
46366
45848
|
|
|
46367
45849
|
if (chunk.content.length > 0) {
|
|
46368
45850
|
lineIndex = chunk.content.lastIndexOf(n);
|
|
46369
|
-
if (lineIndex !== -1)
|
|
45851
|
+
if (lineIndex !== -1)
|
|
45852
|
+
{ return chunk.content.substr(lineIndex + 1) + lineStr; }
|
|
46370
45853
|
lineStr = chunk.content + lineStr;
|
|
46371
45854
|
}
|
|
46372
45855
|
|
|
46373
45856
|
if (chunk.intro.length > 0) {
|
|
46374
45857
|
lineIndex = chunk.intro.lastIndexOf(n);
|
|
46375
|
-
if (lineIndex !== -1)
|
|
45858
|
+
if (lineIndex !== -1)
|
|
45859
|
+
{ return chunk.intro.substr(lineIndex + 1) + lineStr; }
|
|
46376
45860
|
lineStr = chunk.intro + lineStr;
|
|
46377
45861
|
}
|
|
46378
|
-
} while (
|
|
45862
|
+
} while (chunk = chunk.previous);
|
|
46379
45863
|
lineIndex = this.intro.lastIndexOf(n);
|
|
46380
|
-
if (lineIndex !== -1)
|
|
45864
|
+
if (lineIndex !== -1)
|
|
45865
|
+
{ return this.intro.substr(lineIndex + 1) + lineStr; }
|
|
46381
45866
|
return this.intro + lineStr;
|
|
46382
45867
|
};
|
|
46383
45868
|
|
|
@@ -46491,13 +45976,11 @@ MagicString.prototype.toString = function toString () {
|
|
|
46491
45976
|
MagicString.prototype.isEmpty = function isEmpty () {
|
|
46492
45977
|
var chunk = this.firstChunk;
|
|
46493
45978
|
do {
|
|
46494
|
-
if (
|
|
46495
|
-
|
|
46496
|
-
|
|
46497
|
-
(chunk.outro.length && chunk.outro.trim())
|
|
46498
|
-
)
|
|
45979
|
+
if (chunk.intro.length && chunk.intro.trim() ||
|
|
45980
|
+
chunk.content.length && chunk.content.trim() ||
|
|
45981
|
+
chunk.outro.length && chunk.outro.trim())
|
|
46499
45982
|
{ return false; }
|
|
46500
|
-
} while (
|
|
45983
|
+
} while (chunk = chunk.next);
|
|
46501
45984
|
return true;
|
|
46502
45985
|
};
|
|
46503
45986
|
|
|
@@ -46506,7 +45989,7 @@ MagicString.prototype.length = function length () {
|
|
|
46506
45989
|
var length = 0;
|
|
46507
45990
|
do {
|
|
46508
45991
|
length += chunk.intro.length + chunk.content.length + chunk.outro.length;
|
|
46509
|
-
} while (
|
|
45992
|
+
} while (chunk = chunk.next);
|
|
46510
45993
|
return length;
|
|
46511
45994
|
};
|
|
46512
45995
|
|
|
@@ -47015,9 +46498,6 @@ function range(a, b, str) {
|
|
|
47015
46498
|
var i = ai;
|
|
47016
46499
|
|
|
47017
46500
|
if (ai >= 0 && bi > 0) {
|
|
47018
|
-
if(a===b) {
|
|
47019
|
-
return [ai, bi];
|
|
47020
|
-
}
|
|
47021
46501
|
begs = [];
|
|
47022
46502
|
left = str.length;
|
|
47023
46503
|
|
|
@@ -53108,7 +52588,7 @@ const ignoreList = [
|
|
|
53108
52588
|
];
|
|
53109
52589
|
|
|
53110
52590
|
// eslint-disable-next-line node/no-deprecated-api
|
|
53111
|
-
var builtinModules_1 = (builtinModules
|
|
52591
|
+
var builtinModules_1 = (builtinModules)
|
|
53112
52592
|
.filter(x => !/^_|^(internal|v8|node-inspect)\/|\//.test(x) && !ignoreList.includes(x))
|
|
53113
52593
|
.sort();
|
|
53114
52594
|
|
|
@@ -57162,7 +56642,7 @@ const parseTypeIntoValues = (type) => {
|
|
|
57162
56642
|
return;
|
|
57163
56643
|
}
|
|
57164
56644
|
if (/^("|').+("|')$/gm.test(u)) {
|
|
57165
|
-
//
|
|
56645
|
+
// family is a string
|
|
57166
56646
|
parsedUnions.push({
|
|
57167
56647
|
value: u.slice(1, -1),
|
|
57168
56648
|
type: 'string',
|
|
@@ -65659,7 +65139,7 @@ const patchFs = (userSys) => {
|
|
|
65659
65139
|
|
|
65660
65140
|
/**
|
|
65661
65141
|
* Generate a Rindo compiler instance
|
|
65662
|
-
* @param userConfig a user-provided
|
|
65142
|
+
* @param userConfig a user-provided Rindo configuration to apply to the compiler instance
|
|
65663
65143
|
* @returns a new instance of a Rindo compiler
|
|
65664
65144
|
* @public
|
|
65665
65145
|
*/
|
|
@@ -66343,7 +65823,7 @@ const getComponentPathContent = (componentGraph, outputTarget) => {
|
|
|
66343
65823
|
const dependencies = [
|
|
66344
65824
|
{
|
|
66345
65825
|
name: "@rindo/core",
|
|
66346
|
-
version: "2.18.
|
|
65826
|
+
version: "2.18.1",
|
|
66347
65827
|
main: "compiler/rindo.js",
|
|
66348
65828
|
resources: [
|
|
66349
65829
|
"package.json",
|
|
@@ -68029,7 +67509,6 @@ const loadConfig = async (init = {}) => {
|
|
|
68029
67509
|
}
|
|
68030
67510
|
else {
|
|
68031
67511
|
// no rindo.config.ts or .js file, which is fine
|
|
68032
|
-
// #0CJS ¯\_(ツ)_/¯
|
|
68033
67512
|
unknownConfig.config = { ...config };
|
|
68034
67513
|
unknownConfig.config.configPath = null;
|
|
68035
67514
|
unknownConfig.config.rootDir = normalizePath$1(sys.getCurrentDirectory());
|