tnp 16.5.5 → 16.5.8
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,6 +1,6 @@
|
|
|
1
1
|
THIS FILE IS GENERATED. THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
|
2
2
|
|
|
3
|
-
Assets from this folder are being shipped with this npm package (tnp@16.5.
|
|
3
|
+
Assets from this folder are being shipped with this npm package (tnp@16.5.8)
|
|
4
4
|
created from this project.
|
|
5
5
|
|
|
6
6
|
THIS FILE IS GENERATED.THIS FILE IS GENERATED. THIS FILE IS GENERATED.
|
package/cli.js
CHANGED
|
@@ -1,166 +1,6 @@
|
|
|
1
1
|
/******/ (() => { // webpackBootstrap
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/ 90400:
|
|
5
|
-
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
6
|
-
|
|
7
|
-
const {createWrapper} = __nccwpck_require__(60776);
|
|
8
|
-
|
|
9
|
-
let name = `@parcel/watcher-${process.platform}-${process.arch}`;
|
|
10
|
-
if (process.platform === 'linux') {
|
|
11
|
-
const { MUSL, family } = __nccwpck_require__(29337);
|
|
12
|
-
if (family === MUSL) {
|
|
13
|
-
name += '-musl';
|
|
14
|
-
} else {
|
|
15
|
-
name += '-glibc';
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
let binding;
|
|
20
|
-
try {
|
|
21
|
-
binding = __nccwpck_require__(49258);
|
|
22
|
-
} catch (err) {
|
|
23
|
-
try {
|
|
24
|
-
binding = __nccwpck_require__(27524);
|
|
25
|
-
} catch (err) {
|
|
26
|
-
try {
|
|
27
|
-
binding = __nccwpck_require__(88115);
|
|
28
|
-
} catch (err) {
|
|
29
|
-
throw new Error(`No prebuild or local build of @parcel/watcher found. Tried ${name}. Please ensure it is installed (don't use --no-optional when installing with npm). Otherwise it is possible we don't support your platform yet. If this is the case, please report an issue to https://github.com/parcel-bundler/watcher.`);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function normalizeOptions(dir, opts = {}) {
|
|
35
|
-
const { ignore, ...rest } = opts;
|
|
36
|
-
|
|
37
|
-
if (Array.isArray(ignore)) {
|
|
38
|
-
opts = { ...rest };
|
|
39
|
-
|
|
40
|
-
for (const value of ignore) {
|
|
41
|
-
if (isGlob(value)) {
|
|
42
|
-
if (!opts.ignoreGlobs) {
|
|
43
|
-
opts.ignoreGlobs = [];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const regex = micromatch.makeRe(value, {
|
|
47
|
-
// We set `dot: true` to workaround an issue with the
|
|
48
|
-
// regular expression on Linux where the resulting
|
|
49
|
-
// negative lookahead `(?!(\\/|^)` was never matching
|
|
50
|
-
// in some cases. See also https://bit.ly/3UZlQDm
|
|
51
|
-
dot: true,
|
|
52
|
-
// C++ does not support lookbehind regex patterns, they
|
|
53
|
-
// were only added later to JavaScript engines
|
|
54
|
-
// (https://bit.ly/3V7S6UL)
|
|
55
|
-
lookbehinds: false
|
|
56
|
-
});
|
|
57
|
-
opts.ignoreGlobs.push(regex.source);
|
|
58
|
-
} else {
|
|
59
|
-
if (!opts.ignorePaths) {
|
|
60
|
-
opts.ignorePaths = [];
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
opts.ignorePaths.push(path.resolve(dir, value));
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return opts;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
const wrapper = createWrapper(binding);
|
|
72
|
-
exports.writeSnapshot = wrapper.writeSnapshot;
|
|
73
|
-
exports.getEventsSince = wrapper.getEventsSince;
|
|
74
|
-
exports.subscribe = wrapper.subscribe;
|
|
75
|
-
exports.unsubscribe = wrapper.unsubscribe;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
/***/ }),
|
|
79
|
-
|
|
80
|
-
/***/ 60776:
|
|
81
|
-
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
82
|
-
|
|
83
|
-
const path = __nccwpck_require__(71017);
|
|
84
|
-
const micromatch = __nccwpck_require__(73228);
|
|
85
|
-
const isGlob = __nccwpck_require__(24925);
|
|
86
|
-
|
|
87
|
-
function normalizeOptions(dir, opts = {}) {
|
|
88
|
-
const { ignore, ...rest } = opts;
|
|
89
|
-
|
|
90
|
-
if (Array.isArray(ignore)) {
|
|
91
|
-
opts = { ...rest };
|
|
92
|
-
|
|
93
|
-
for (const value of ignore) {
|
|
94
|
-
if (isGlob(value)) {
|
|
95
|
-
if (!opts.ignoreGlobs) {
|
|
96
|
-
opts.ignoreGlobs = [];
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
const regex = micromatch.makeRe(value, {
|
|
100
|
-
// We set `dot: true` to workaround an issue with the
|
|
101
|
-
// regular expression on Linux where the resulting
|
|
102
|
-
// negative lookahead `(?!(\\/|^)` was never matching
|
|
103
|
-
// in some cases. See also https://bit.ly/3UZlQDm
|
|
104
|
-
dot: true,
|
|
105
|
-
// C++ does not support lookbehind regex patterns, they
|
|
106
|
-
// were only added later to JavaScript engines
|
|
107
|
-
// (https://bit.ly/3V7S6UL)
|
|
108
|
-
lookbehinds: false
|
|
109
|
-
});
|
|
110
|
-
opts.ignoreGlobs.push(regex.source);
|
|
111
|
-
} else {
|
|
112
|
-
if (!opts.ignorePaths) {
|
|
113
|
-
opts.ignorePaths = [];
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
opts.ignorePaths.push(path.resolve(dir, value));
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
return opts;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
exports.createWrapper = (binding) => {
|
|
125
|
-
return {
|
|
126
|
-
writeSnapshot(dir, snapshot, opts) {
|
|
127
|
-
return binding.writeSnapshot(
|
|
128
|
-
path.resolve(dir),
|
|
129
|
-
path.resolve(snapshot),
|
|
130
|
-
normalizeOptions(dir, opts),
|
|
131
|
-
);
|
|
132
|
-
},
|
|
133
|
-
getEventsSince(dir, snapshot, opts) {
|
|
134
|
-
return binding.getEventsSince(
|
|
135
|
-
path.resolve(dir),
|
|
136
|
-
path.resolve(snapshot),
|
|
137
|
-
normalizeOptions(dir, opts),
|
|
138
|
-
);
|
|
139
|
-
},
|
|
140
|
-
async subscribe(dir, fn, opts) {
|
|
141
|
-
dir = path.resolve(dir);
|
|
142
|
-
opts = normalizeOptions(dir, opts);
|
|
143
|
-
await binding.subscribe(dir, fn, opts);
|
|
144
|
-
|
|
145
|
-
return {
|
|
146
|
-
unsubscribe() {
|
|
147
|
-
return binding.unsubscribe(dir, fn, opts);
|
|
148
|
-
},
|
|
149
|
-
};
|
|
150
|
-
},
|
|
151
|
-
unsubscribe(dir, fn, opts) {
|
|
152
|
-
return binding.unsubscribe(
|
|
153
|
-
path.resolve(dir),
|
|
154
|
-
fn,
|
|
155
|
-
normalizeOptions(dir, opts),
|
|
156
|
-
);
|
|
157
|
-
}
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
/***/ }),
|
|
163
|
-
|
|
164
4
|
/***/ 82464:
|
|
165
5
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
166
6
|
|
|
@@ -87456,106 +87296,6 @@ function toString (obj) {
|
|
|
87456
87296
|
}
|
|
87457
87297
|
|
|
87458
87298
|
|
|
87459
|
-
/***/ }),
|
|
87460
|
-
|
|
87461
|
-
/***/ 29337:
|
|
87462
|
-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
87463
|
-
|
|
87464
|
-
"use strict";
|
|
87465
|
-
|
|
87466
|
-
|
|
87467
|
-
var platform = (__nccwpck_require__(22037).platform)();
|
|
87468
|
-
var spawnSync = (__nccwpck_require__(32081).spawnSync);
|
|
87469
|
-
var readdirSync = (__nccwpck_require__(57147).readdirSync);
|
|
87470
|
-
|
|
87471
|
-
var GLIBC = 'glibc';
|
|
87472
|
-
var MUSL = 'musl';
|
|
87473
|
-
|
|
87474
|
-
var spawnOptions = {
|
|
87475
|
-
encoding: 'utf8',
|
|
87476
|
-
env: process.env
|
|
87477
|
-
};
|
|
87478
|
-
|
|
87479
|
-
if (!spawnSync) {
|
|
87480
|
-
spawnSync = function () {
|
|
87481
|
-
return { status: 126, stdout: '', stderr: '' };
|
|
87482
|
-
};
|
|
87483
|
-
}
|
|
87484
|
-
|
|
87485
|
-
function contains (needle) {
|
|
87486
|
-
return function (haystack) {
|
|
87487
|
-
return haystack.indexOf(needle) !== -1;
|
|
87488
|
-
};
|
|
87489
|
-
}
|
|
87490
|
-
|
|
87491
|
-
function versionFromMuslLdd (out) {
|
|
87492
|
-
return out.split(/[\r\n]+/)[1].trim().split(/\s/)[1];
|
|
87493
|
-
}
|
|
87494
|
-
|
|
87495
|
-
function safeReaddirSync (path) {
|
|
87496
|
-
try {
|
|
87497
|
-
return readdirSync(path);
|
|
87498
|
-
} catch (e) {}
|
|
87499
|
-
return [];
|
|
87500
|
-
}
|
|
87501
|
-
|
|
87502
|
-
var family = '';
|
|
87503
|
-
var version = '';
|
|
87504
|
-
var method = '';
|
|
87505
|
-
|
|
87506
|
-
if (platform === 'linux') {
|
|
87507
|
-
// Try getconf
|
|
87508
|
-
var glibc = spawnSync('getconf', ['GNU_LIBC_VERSION'], spawnOptions);
|
|
87509
|
-
if (glibc.status === 0) {
|
|
87510
|
-
family = GLIBC;
|
|
87511
|
-
version = glibc.stdout.trim().split(' ')[1];
|
|
87512
|
-
method = 'getconf';
|
|
87513
|
-
} else {
|
|
87514
|
-
// Try ldd
|
|
87515
|
-
var ldd = spawnSync('ldd', ['--version'], spawnOptions);
|
|
87516
|
-
if (ldd.status === 0 && ldd.stdout.indexOf(MUSL) !== -1) {
|
|
87517
|
-
family = MUSL;
|
|
87518
|
-
version = versionFromMuslLdd(ldd.stdout);
|
|
87519
|
-
method = 'ldd';
|
|
87520
|
-
} else if (ldd.status === 1 && ldd.stderr.indexOf(MUSL) !== -1) {
|
|
87521
|
-
family = MUSL;
|
|
87522
|
-
version = versionFromMuslLdd(ldd.stderr);
|
|
87523
|
-
method = 'ldd';
|
|
87524
|
-
} else {
|
|
87525
|
-
// Try filesystem (family only)
|
|
87526
|
-
var lib = safeReaddirSync('/lib');
|
|
87527
|
-
if (lib.some(contains('-linux-gnu'))) {
|
|
87528
|
-
family = GLIBC;
|
|
87529
|
-
method = 'filesystem';
|
|
87530
|
-
} else if (lib.some(contains('libc.musl-'))) {
|
|
87531
|
-
family = MUSL;
|
|
87532
|
-
method = 'filesystem';
|
|
87533
|
-
} else if (lib.some(contains('ld-musl-'))) {
|
|
87534
|
-
family = MUSL;
|
|
87535
|
-
method = 'filesystem';
|
|
87536
|
-
} else {
|
|
87537
|
-
var usrSbin = safeReaddirSync('/usr/sbin');
|
|
87538
|
-
if (usrSbin.some(contains('glibc'))) {
|
|
87539
|
-
family = GLIBC;
|
|
87540
|
-
method = 'filesystem';
|
|
87541
|
-
}
|
|
87542
|
-
}
|
|
87543
|
-
}
|
|
87544
|
-
}
|
|
87545
|
-
}
|
|
87546
|
-
|
|
87547
|
-
var isNonGlibcLinux = (family !== '' && family !== GLIBC);
|
|
87548
|
-
|
|
87549
|
-
module.exports = {
|
|
87550
|
-
GLIBC: GLIBC,
|
|
87551
|
-
MUSL: MUSL,
|
|
87552
|
-
family: family,
|
|
87553
|
-
version: version,
|
|
87554
|
-
method: method,
|
|
87555
|
-
isNonGlibcLinux: isNonGlibcLinux
|
|
87556
|
-
};
|
|
87557
|
-
|
|
87558
|
-
|
|
87559
87299
|
/***/ }),
|
|
87560
87300
|
|
|
87561
87301
|
/***/ 39069:
|
|
@@ -240794,7 +240534,7 @@ IconvLiteDecoderStream.prototype.collect = function(cb) {
|
|
|
240794
240534
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
240795
240535
|
var tslib_1 = __nccwpck_require__(93011);
|
|
240796
240536
|
tslib_1.__exportStar(__nccwpck_require__(27875), exports);
|
|
240797
|
-
//# sourceMappingURL=index.js.map
|
|
240537
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/index.js.map
|
|
240798
240538
|
|
|
240799
240539
|
/***/ }),
|
|
240800
240540
|
|
|
@@ -241116,7 +240856,7 @@ var BaseClientCompiler = /** @class */ (function () {
|
|
|
241116
240856
|
return BaseClientCompiler;
|
|
241117
240857
|
}());
|
|
241118
240858
|
exports.BaseClientCompiler = BaseClientCompiler;
|
|
241119
|
-
//# sourceMappingURL=base-client-compiler.backend.js.map
|
|
240859
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/base-client-compiler.backend.js.map
|
|
241120
240860
|
|
|
241121
240861
|
/***/ }),
|
|
241122
240862
|
|
|
@@ -241177,7 +240917,7 @@ var ChangeOfFile = /** @class */ (function () {
|
|
|
241177
240917
|
return ChangeOfFile;
|
|
241178
240918
|
}());
|
|
241179
240919
|
exports.ChangeOfFile = ChangeOfFile;
|
|
241180
|
-
//# sourceMappingURL=change-of-file.backend.js.map
|
|
240920
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/change-of-file.backend.js.map
|
|
241181
240921
|
|
|
241182
240922
|
/***/ }),
|
|
241183
240923
|
|
|
@@ -241516,7 +241256,7 @@ var CompilerManager = /** @class */ (function () {
|
|
|
241516
241256
|
exports.CompilerManager = CompilerManager;
|
|
241517
241257
|
//#region helpers
|
|
241518
241258
|
//#endregion
|
|
241519
|
-
//# sourceMappingURL=compiler-manager.backend.js.map
|
|
241259
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/compiler-manager.backend.js.map
|
|
241520
241260
|
|
|
241521
241261
|
/***/ }),
|
|
241522
241262
|
|
|
@@ -241536,7 +241276,7 @@ exports.COMPILER_POOLING = (process.platform === 'win32') ? {
|
|
|
241536
241276
|
// console.log({
|
|
241537
241277
|
// COMPILER_POOLING
|
|
241538
241278
|
// })
|
|
241539
|
-
//# sourceMappingURL=constants.js.map
|
|
241279
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/constants.js.map
|
|
241540
241280
|
|
|
241541
241281
|
/***/ }),
|
|
241542
241282
|
|
|
@@ -241600,7 +241340,7 @@ function IncCompilerClass(options) {
|
|
|
241600
241340
|
};
|
|
241601
241341
|
}
|
|
241602
241342
|
exports.IncCompilerClass = IncCompilerClass;
|
|
241603
|
-
//# sourceMappingURL=decorators.backend.js.map
|
|
241343
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/decorators.backend.js.map
|
|
241604
241344
|
|
|
241605
241345
|
/***/ }),
|
|
241606
241346
|
|
|
@@ -241639,7 +241379,7 @@ function clientsBy(clientNameOrClass, condition, clients) {
|
|
|
241639
241379
|
});
|
|
241640
241380
|
}
|
|
241641
241381
|
exports.clientsBy = clientsBy;
|
|
241642
|
-
//# sourceMappingURL=helpers.backend.js.map
|
|
241382
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/helpers.backend.js.map
|
|
241643
241383
|
|
|
241644
241384
|
/***/ }),
|
|
241645
241385
|
|
|
@@ -241649,7 +241389,7 @@ exports.clientsBy = clientsBy;
|
|
|
241649
241389
|
"use strict";
|
|
241650
241390
|
|
|
241651
241391
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
241652
|
-
//# sourceMappingURL=incremental-watcher-instance.js.map
|
|
241392
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/incremental-watcher/incremental-watcher-instance.js.map
|
|
241653
241393
|
|
|
241654
241394
|
/***/ }),
|
|
241655
241395
|
|
|
@@ -241659,7 +241399,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
241659
241399
|
"use strict";
|
|
241660
241400
|
|
|
241661
241401
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
241662
|
-
//# sourceMappingURL=incremental-watcher-options.js.map
|
|
241402
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/incremental-watcher/incremental-watcher-options.js.map
|
|
241663
241403
|
|
|
241664
241404
|
/***/ }),
|
|
241665
241405
|
|
|
@@ -241675,22 +241415,32 @@ var tnp_core_1 = __nccwpck_require__(76776);
|
|
|
241675
241415
|
var parcel_watcher_adapter_backend_1 = __nccwpck_require__(18146);
|
|
241676
241416
|
function incrementalWatcher(filePath, watchOptions) {
|
|
241677
241417
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
241678
|
-
var
|
|
241418
|
+
var instance, opt;
|
|
241679
241419
|
return tslib_1.__generator(this, function (_a) {
|
|
241680
|
-
|
|
241681
|
-
|
|
241420
|
+
if (!watchOptions) {
|
|
241421
|
+
watchOptions = {};
|
|
241422
|
+
}
|
|
241423
|
+
if (!(watchOptions === null || watchOptions === void 0 ? void 0 : watchOptions.engine) || (tnp_core_1._.isString(watchOptions === null || watchOptions === void 0 ? void 0 : watchOptions.engine) && (watchOptions === null || watchOptions === void 0 ? void 0 : watchOptions.engine.trim()) === '')) {
|
|
241682
241424
|
// engine = 'chokidar';
|
|
241683
|
-
|
|
241425
|
+
// @ts-ignore
|
|
241426
|
+
watchOptions.engine = '@parcel/watcher';
|
|
241684
241427
|
}
|
|
241685
241428
|
if (tnp_core_1.frameworkName === 'firedev') {
|
|
241686
|
-
|
|
241429
|
+
// @ts-ignore
|
|
241430
|
+
watchOptions.engine = 'chokidar';
|
|
241431
|
+
}
|
|
241432
|
+
else {
|
|
241433
|
+
// @ts-ignore
|
|
241434
|
+
watchOptions.engine = '@parcel/watcher';
|
|
241687
241435
|
}
|
|
241688
|
-
|
|
241436
|
+
tnp_core_1.Helpers.log("Using watcher: ".concat(watchOptions.engine));
|
|
241437
|
+
if ((watchOptions === null || watchOptions === void 0 ? void 0 : watchOptions.engine) === '@parcel/watcher') {
|
|
241689
241438
|
instance = new parcel_watcher_adapter_backend_1.ParcelWatcherAdapter(filePath, watchOptions);
|
|
241690
241439
|
return [2 /*return*/, instance];
|
|
241691
241440
|
}
|
|
241692
241441
|
else {
|
|
241693
241442
|
opt = tnp_core_1._.cloneDeep(watchOptions);
|
|
241443
|
+
// @ts-ignore
|
|
241694
241444
|
opt['ignorePermissionErrors'] = true;
|
|
241695
241445
|
return [2 /*return*/, tnp_core_1.chokidar.watch(filePath, watchOptions)];
|
|
241696
241446
|
}
|
|
@@ -241699,7 +241449,7 @@ function incrementalWatcher(filePath, watchOptions) {
|
|
|
241699
241449
|
});
|
|
241700
241450
|
}
|
|
241701
241451
|
exports.incrementalWatcher = incrementalWatcher;
|
|
241702
|
-
//# sourceMappingURL=incremental-watcher.js.map
|
|
241452
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/incremental-watcher/incremental-watcher.js.map
|
|
241703
241453
|
|
|
241704
241454
|
/***/ }),
|
|
241705
241455
|
|
|
@@ -241713,7 +241463,7 @@ var tslib_1 = __nccwpck_require__(93011);
|
|
|
241713
241463
|
tslib_1.__exportStar(__nccwpck_require__(39325), exports);
|
|
241714
241464
|
tslib_1.__exportStar(__nccwpck_require__(23240), exports);
|
|
241715
241465
|
tslib_1.__exportStar(__nccwpck_require__(76665), exports);
|
|
241716
|
-
//# sourceMappingURL=index.js.map
|
|
241466
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/incremental-watcher/index.js.map
|
|
241717
241467
|
|
|
241718
241468
|
/***/ }),
|
|
241719
241469
|
|
|
@@ -241730,9 +241480,6 @@ var tnp_core_1 = __nccwpck_require__(76776);
|
|
|
241730
241480
|
var tnp_helpers_1 = __nccwpck_require__(41911);
|
|
241731
241481
|
var ng2_logger_1 = __nccwpck_require__(85053);
|
|
241732
241482
|
var tnp_core_2 = __nccwpck_require__(76776);
|
|
241733
|
-
// import * as watcher from '@parcel/watcher';
|
|
241734
|
-
var watcherName = '@parcel/watcher';
|
|
241735
|
-
var watcher = __nccwpck_require__(90400);
|
|
241736
241483
|
var fs = __nccwpck_require__(57147);
|
|
241737
241484
|
var anymatch_1 = __nccwpck_require__(61129);
|
|
241738
241485
|
var log = ng2_logger_1.Log.create('ParcelWatcherAdapter', ng2_logger_1.Level.__NOTHING);
|
|
@@ -241744,7 +241491,7 @@ var ParcelWatcherAdapter = exports.ParcelWatcherAdapter = /** @class */ (functio
|
|
|
241744
241491
|
this.options = options;
|
|
241745
241492
|
this.pathes = [];
|
|
241746
241493
|
this.listenerData = [];
|
|
241747
|
-
this.subs = [];
|
|
241494
|
+
this.subs = []; /// AsyncSubscription[] = [];
|
|
241748
241495
|
this.alreadyStarted = false;
|
|
241749
241496
|
this.allFilesInitial = [];
|
|
241750
241497
|
this.foldersPathes = {};
|
|
@@ -241877,7 +241624,7 @@ var ParcelWatcherAdapter = exports.ParcelWatcherAdapter = /** @class */ (functio
|
|
|
241877
241624
|
// console.log('STARTING WATCHING - ' + this.options.name)
|
|
241878
241625
|
this.pushInitial();
|
|
241879
241626
|
_loop_1 = function (pathToCatalog) {
|
|
241880
|
-
var firstLevelLinks, firstLevelFolders, secondLevelLinks, linksToWatch, linksToWatch_1, linksToWatch_1_1, linkFolder, _e, _f, e_5_1, _g, _h;
|
|
241627
|
+
var firstLevelLinks, firstLevelFolders, secondLevelLinks, linksToWatch, watcher, linksToWatch_1, linksToWatch_1_1, linkFolder, _e, _f, e_5_1, _g, _h;
|
|
241881
241628
|
var e_5, _j;
|
|
241882
241629
|
return tslib_1.__generator(this, function (_k) {
|
|
241883
241630
|
switch (_k.label) {
|
|
@@ -241888,6 +241635,7 @@ var ParcelWatcherAdapter = exports.ParcelWatcherAdapter = /** @class */ (functio
|
|
|
241888
241635
|
return a.concat(tnp_helpers_1.Helpers.linksToFoldersFrom(b, false));
|
|
241889
241636
|
}, []);
|
|
241890
241637
|
linksToWatch = tslib_1.__spreadArray(tslib_1.__spreadArray([], tslib_1.__read(firstLevelLinks), false), tslib_1.__read(secondLevelLinks), false);
|
|
241638
|
+
watcher = require(this_1.options.engine);
|
|
241891
241639
|
_k.label = 1;
|
|
241892
241640
|
case 1:
|
|
241893
241641
|
_k.trys.push([1, 6, 7, 8]);
|
|
@@ -242164,7 +241912,7 @@ var ParcelWatcherAdapter = exports.ParcelWatcherAdapter = /** @class */ (functio
|
|
|
242164
241912
|
ParcelWatcherAdapter.instances = [];
|
|
242165
241913
|
return ParcelWatcherAdapter;
|
|
242166
241914
|
}());
|
|
242167
|
-
//# sourceMappingURL=parcel-watcher-adapter.backend.js.map
|
|
241915
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/incremental-watcher/parcel-watcher-adapter.backend.js.map
|
|
242168
241916
|
|
|
242169
241917
|
/***/ }),
|
|
242170
241918
|
|
|
@@ -242248,7 +241996,7 @@ var IncCompiler;
|
|
|
242248
241996
|
IncCompiler.getInstance = getInstance;
|
|
242249
241997
|
})(IncCompiler = exports.IncCompiler || (exports.IncCompiler = {}));
|
|
242250
241998
|
//#endregion
|
|
242251
|
-
//# sourceMappingURL=index.js.map
|
|
241999
|
+
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/incremental-compiler/dist/lib/index.js.map
|
|
242252
242000
|
|
|
242253
242001
|
/***/ }),
|
|
242254
242002
|
|
|
@@ -288524,481 +288272,6 @@ function getBasicNodeMethods() {
|
|
|
288524
288272
|
}
|
|
288525
288273
|
|
|
288526
288274
|
|
|
288527
|
-
/***/ }),
|
|
288528
|
-
|
|
288529
|
-
/***/ 73228:
|
|
288530
|
-
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
288531
|
-
|
|
288532
|
-
"use strict";
|
|
288533
|
-
|
|
288534
|
-
|
|
288535
|
-
const util = __nccwpck_require__(73837);
|
|
288536
|
-
const braces = __nccwpck_require__(37889);
|
|
288537
|
-
const picomatch = __nccwpck_require__(87970);
|
|
288538
|
-
const utils = __nccwpck_require__(24588);
|
|
288539
|
-
const isEmptyString = val => val === '' || val === './';
|
|
288540
|
-
|
|
288541
|
-
/**
|
|
288542
|
-
* Returns an array of strings that match one or more glob patterns.
|
|
288543
|
-
*
|
|
288544
|
-
* ```js
|
|
288545
|
-
* const mm = require('micromatch');
|
|
288546
|
-
* // mm(list, patterns[, options]);
|
|
288547
|
-
*
|
|
288548
|
-
* console.log(mm(['a.js', 'a.txt'], ['*.js']));
|
|
288549
|
-
* //=> [ 'a.js' ]
|
|
288550
|
-
* ```
|
|
288551
|
-
* @param {String|Array<string>} `list` List of strings to match.
|
|
288552
|
-
* @param {String|Array<string>} `patterns` One or more glob patterns to use for matching.
|
|
288553
|
-
* @param {Object} `options` See available [options](#options)
|
|
288554
|
-
* @return {Array} Returns an array of matches
|
|
288555
|
-
* @summary false
|
|
288556
|
-
* @api public
|
|
288557
|
-
*/
|
|
288558
|
-
|
|
288559
|
-
const micromatch = (list, patterns, options) => {
|
|
288560
|
-
patterns = [].concat(patterns);
|
|
288561
|
-
list = [].concat(list);
|
|
288562
|
-
|
|
288563
|
-
let omit = new Set();
|
|
288564
|
-
let keep = new Set();
|
|
288565
|
-
let items = new Set();
|
|
288566
|
-
let negatives = 0;
|
|
288567
|
-
|
|
288568
|
-
let onResult = state => {
|
|
288569
|
-
items.add(state.output);
|
|
288570
|
-
if (options && options.onResult) {
|
|
288571
|
-
options.onResult(state);
|
|
288572
|
-
}
|
|
288573
|
-
};
|
|
288574
|
-
|
|
288575
|
-
for (let i = 0; i < patterns.length; i++) {
|
|
288576
|
-
let isMatch = picomatch(String(patterns[i]), { ...options, onResult }, true);
|
|
288577
|
-
let negated = isMatch.state.negated || isMatch.state.negatedExtglob;
|
|
288578
|
-
if (negated) negatives++;
|
|
288579
|
-
|
|
288580
|
-
for (let item of list) {
|
|
288581
|
-
let matched = isMatch(item, true);
|
|
288582
|
-
|
|
288583
|
-
let match = negated ? !matched.isMatch : matched.isMatch;
|
|
288584
|
-
if (!match) continue;
|
|
288585
|
-
|
|
288586
|
-
if (negated) {
|
|
288587
|
-
omit.add(matched.output);
|
|
288588
|
-
} else {
|
|
288589
|
-
omit.delete(matched.output);
|
|
288590
|
-
keep.add(matched.output);
|
|
288591
|
-
}
|
|
288592
|
-
}
|
|
288593
|
-
}
|
|
288594
|
-
|
|
288595
|
-
let result = negatives === patterns.length ? [...items] : [...keep];
|
|
288596
|
-
let matches = result.filter(item => !omit.has(item));
|
|
288597
|
-
|
|
288598
|
-
if (options && matches.length === 0) {
|
|
288599
|
-
if (options.failglob === true) {
|
|
288600
|
-
throw new Error(`No matches found for "${patterns.join(', ')}"`);
|
|
288601
|
-
}
|
|
288602
|
-
|
|
288603
|
-
if (options.nonull === true || options.nullglob === true) {
|
|
288604
|
-
return options.unescape ? patterns.map(p => p.replace(/\\/g, '')) : patterns;
|
|
288605
|
-
}
|
|
288606
|
-
}
|
|
288607
|
-
|
|
288608
|
-
return matches;
|
|
288609
|
-
};
|
|
288610
|
-
|
|
288611
|
-
/**
|
|
288612
|
-
* Backwards compatibility
|
|
288613
|
-
*/
|
|
288614
|
-
|
|
288615
|
-
micromatch.match = micromatch;
|
|
288616
|
-
|
|
288617
|
-
/**
|
|
288618
|
-
* Returns a matcher function from the given glob `pattern` and `options`.
|
|
288619
|
-
* The returned function takes a string to match as its only argument and returns
|
|
288620
|
-
* true if the string is a match.
|
|
288621
|
-
*
|
|
288622
|
-
* ```js
|
|
288623
|
-
* const mm = require('micromatch');
|
|
288624
|
-
* // mm.matcher(pattern[, options]);
|
|
288625
|
-
*
|
|
288626
|
-
* const isMatch = mm.matcher('*.!(*a)');
|
|
288627
|
-
* console.log(isMatch('a.a')); //=> false
|
|
288628
|
-
* console.log(isMatch('a.b')); //=> true
|
|
288629
|
-
* ```
|
|
288630
|
-
* @param {String} `pattern` Glob pattern
|
|
288631
|
-
* @param {Object} `options`
|
|
288632
|
-
* @return {Function} Returns a matcher function.
|
|
288633
|
-
* @api public
|
|
288634
|
-
*/
|
|
288635
|
-
|
|
288636
|
-
micromatch.matcher = (pattern, options) => picomatch(pattern, options);
|
|
288637
|
-
|
|
288638
|
-
/**
|
|
288639
|
-
* Returns true if **any** of the given glob `patterns` match the specified `string`.
|
|
288640
|
-
*
|
|
288641
|
-
* ```js
|
|
288642
|
-
* const mm = require('micromatch');
|
|
288643
|
-
* // mm.isMatch(string, patterns[, options]);
|
|
288644
|
-
*
|
|
288645
|
-
* console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true
|
|
288646
|
-
* console.log(mm.isMatch('a.a', 'b.*')); //=> false
|
|
288647
|
-
* ```
|
|
288648
|
-
* @param {String} `str` The string to test.
|
|
288649
|
-
* @param {String|Array} `patterns` One or more glob patterns to use for matching.
|
|
288650
|
-
* @param {Object} `[options]` See available [options](#options).
|
|
288651
|
-
* @return {Boolean} Returns true if any patterns match `str`
|
|
288652
|
-
* @api public
|
|
288653
|
-
*/
|
|
288654
|
-
|
|
288655
|
-
micromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str);
|
|
288656
|
-
|
|
288657
|
-
/**
|
|
288658
|
-
* Backwards compatibility
|
|
288659
|
-
*/
|
|
288660
|
-
|
|
288661
|
-
micromatch.any = micromatch.isMatch;
|
|
288662
|
-
|
|
288663
|
-
/**
|
|
288664
|
-
* Returns a list of strings that _**do not match any**_ of the given `patterns`.
|
|
288665
|
-
*
|
|
288666
|
-
* ```js
|
|
288667
|
-
* const mm = require('micromatch');
|
|
288668
|
-
* // mm.not(list, patterns[, options]);
|
|
288669
|
-
*
|
|
288670
|
-
* console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));
|
|
288671
|
-
* //=> ['b.b', 'c.c']
|
|
288672
|
-
* ```
|
|
288673
|
-
* @param {Array} `list` Array of strings to match.
|
|
288674
|
-
* @param {String|Array} `patterns` One or more glob pattern to use for matching.
|
|
288675
|
-
* @param {Object} `options` See available [options](#options) for changing how matches are performed
|
|
288676
|
-
* @return {Array} Returns an array of strings that **do not match** the given patterns.
|
|
288677
|
-
* @api public
|
|
288678
|
-
*/
|
|
288679
|
-
|
|
288680
|
-
micromatch.not = (list, patterns, options = {}) => {
|
|
288681
|
-
patterns = [].concat(patterns).map(String);
|
|
288682
|
-
let result = new Set();
|
|
288683
|
-
let items = [];
|
|
288684
|
-
|
|
288685
|
-
let onResult = state => {
|
|
288686
|
-
if (options.onResult) options.onResult(state);
|
|
288687
|
-
items.push(state.output);
|
|
288688
|
-
};
|
|
288689
|
-
|
|
288690
|
-
let matches = new Set(micromatch(list, patterns, { ...options, onResult }));
|
|
288691
|
-
|
|
288692
|
-
for (let item of items) {
|
|
288693
|
-
if (!matches.has(item)) {
|
|
288694
|
-
result.add(item);
|
|
288695
|
-
}
|
|
288696
|
-
}
|
|
288697
|
-
return [...result];
|
|
288698
|
-
};
|
|
288699
|
-
|
|
288700
|
-
/**
|
|
288701
|
-
* Returns true if the given `string` contains the given pattern. Similar
|
|
288702
|
-
* to [.isMatch](#isMatch) but the pattern can match any part of the string.
|
|
288703
|
-
*
|
|
288704
|
-
* ```js
|
|
288705
|
-
* var mm = require('micromatch');
|
|
288706
|
-
* // mm.contains(string, pattern[, options]);
|
|
288707
|
-
*
|
|
288708
|
-
* console.log(mm.contains('aa/bb/cc', '*b'));
|
|
288709
|
-
* //=> true
|
|
288710
|
-
* console.log(mm.contains('aa/bb/cc', '*d'));
|
|
288711
|
-
* //=> false
|
|
288712
|
-
* ```
|
|
288713
|
-
* @param {String} `str` The string to match.
|
|
288714
|
-
* @param {String|Array} `patterns` Glob pattern to use for matching.
|
|
288715
|
-
* @param {Object} `options` See available [options](#options) for changing how matches are performed
|
|
288716
|
-
* @return {Boolean} Returns true if any of the patterns matches any part of `str`.
|
|
288717
|
-
* @api public
|
|
288718
|
-
*/
|
|
288719
|
-
|
|
288720
|
-
micromatch.contains = (str, pattern, options) => {
|
|
288721
|
-
if (typeof str !== 'string') {
|
|
288722
|
-
throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
|
|
288723
|
-
}
|
|
288724
|
-
|
|
288725
|
-
if (Array.isArray(pattern)) {
|
|
288726
|
-
return pattern.some(p => micromatch.contains(str, p, options));
|
|
288727
|
-
}
|
|
288728
|
-
|
|
288729
|
-
if (typeof pattern === 'string') {
|
|
288730
|
-
if (isEmptyString(str) || isEmptyString(pattern)) {
|
|
288731
|
-
return false;
|
|
288732
|
-
}
|
|
288733
|
-
|
|
288734
|
-
if (str.includes(pattern) || (str.startsWith('./') && str.slice(2).includes(pattern))) {
|
|
288735
|
-
return true;
|
|
288736
|
-
}
|
|
288737
|
-
}
|
|
288738
|
-
|
|
288739
|
-
return micromatch.isMatch(str, pattern, { ...options, contains: true });
|
|
288740
|
-
};
|
|
288741
|
-
|
|
288742
|
-
/**
|
|
288743
|
-
* Filter the keys of the given object with the given `glob` pattern
|
|
288744
|
-
* and `options`. Does not attempt to match nested keys. If you need this feature,
|
|
288745
|
-
* use [glob-object][] instead.
|
|
288746
|
-
*
|
|
288747
|
-
* ```js
|
|
288748
|
-
* const mm = require('micromatch');
|
|
288749
|
-
* // mm.matchKeys(object, patterns[, options]);
|
|
288750
|
-
*
|
|
288751
|
-
* const obj = { aa: 'a', ab: 'b', ac: 'c' };
|
|
288752
|
-
* console.log(mm.matchKeys(obj, '*b'));
|
|
288753
|
-
* //=> { ab: 'b' }
|
|
288754
|
-
* ```
|
|
288755
|
-
* @param {Object} `object` The object with keys to filter.
|
|
288756
|
-
* @param {String|Array} `patterns` One or more glob patterns to use for matching.
|
|
288757
|
-
* @param {Object} `options` See available [options](#options) for changing how matches are performed
|
|
288758
|
-
* @return {Object} Returns an object with only keys that match the given patterns.
|
|
288759
|
-
* @api public
|
|
288760
|
-
*/
|
|
288761
|
-
|
|
288762
|
-
micromatch.matchKeys = (obj, patterns, options) => {
|
|
288763
|
-
if (!utils.isObject(obj)) {
|
|
288764
|
-
throw new TypeError('Expected the first argument to be an object');
|
|
288765
|
-
}
|
|
288766
|
-
let keys = micromatch(Object.keys(obj), patterns, options);
|
|
288767
|
-
let res = {};
|
|
288768
|
-
for (let key of keys) res[key] = obj[key];
|
|
288769
|
-
return res;
|
|
288770
|
-
};
|
|
288771
|
-
|
|
288772
|
-
/**
|
|
288773
|
-
* Returns true if some of the strings in the given `list` match any of the given glob `patterns`.
|
|
288774
|
-
*
|
|
288775
|
-
* ```js
|
|
288776
|
-
* const mm = require('micromatch');
|
|
288777
|
-
* // mm.some(list, patterns[, options]);
|
|
288778
|
-
*
|
|
288779
|
-
* console.log(mm.some(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
|
|
288780
|
-
* // true
|
|
288781
|
-
* console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));
|
|
288782
|
-
* // false
|
|
288783
|
-
* ```
|
|
288784
|
-
* @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.
|
|
288785
|
-
* @param {String|Array} `patterns` One or more glob patterns to use for matching.
|
|
288786
|
-
* @param {Object} `options` See available [options](#options) for changing how matches are performed
|
|
288787
|
-
* @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`
|
|
288788
|
-
* @api public
|
|
288789
|
-
*/
|
|
288790
|
-
|
|
288791
|
-
micromatch.some = (list, patterns, options) => {
|
|
288792
|
-
let items = [].concat(list);
|
|
288793
|
-
|
|
288794
|
-
for (let pattern of [].concat(patterns)) {
|
|
288795
|
-
let isMatch = picomatch(String(pattern), options);
|
|
288796
|
-
if (items.some(item => isMatch(item))) {
|
|
288797
|
-
return true;
|
|
288798
|
-
}
|
|
288799
|
-
}
|
|
288800
|
-
return false;
|
|
288801
|
-
};
|
|
288802
|
-
|
|
288803
|
-
/**
|
|
288804
|
-
* Returns true if every string in the given `list` matches
|
|
288805
|
-
* any of the given glob `patterns`.
|
|
288806
|
-
*
|
|
288807
|
-
* ```js
|
|
288808
|
-
* const mm = require('micromatch');
|
|
288809
|
-
* // mm.every(list, patterns[, options]);
|
|
288810
|
-
*
|
|
288811
|
-
* console.log(mm.every('foo.js', ['foo.js']));
|
|
288812
|
-
* // true
|
|
288813
|
-
* console.log(mm.every(['foo.js', 'bar.js'], ['*.js']));
|
|
288814
|
-
* // true
|
|
288815
|
-
* console.log(mm.every(['foo.js', 'bar.js'], ['*.js', '!foo.js']));
|
|
288816
|
-
* // false
|
|
288817
|
-
* console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));
|
|
288818
|
-
* // false
|
|
288819
|
-
* ```
|
|
288820
|
-
* @param {String|Array} `list` The string or array of strings to test.
|
|
288821
|
-
* @param {String|Array} `patterns` One or more glob patterns to use for matching.
|
|
288822
|
-
* @param {Object} `options` See available [options](#options) for changing how matches are performed
|
|
288823
|
-
* @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`
|
|
288824
|
-
* @api public
|
|
288825
|
-
*/
|
|
288826
|
-
|
|
288827
|
-
micromatch.every = (list, patterns, options) => {
|
|
288828
|
-
let items = [].concat(list);
|
|
288829
|
-
|
|
288830
|
-
for (let pattern of [].concat(patterns)) {
|
|
288831
|
-
let isMatch = picomatch(String(pattern), options);
|
|
288832
|
-
if (!items.every(item => isMatch(item))) {
|
|
288833
|
-
return false;
|
|
288834
|
-
}
|
|
288835
|
-
}
|
|
288836
|
-
return true;
|
|
288837
|
-
};
|
|
288838
|
-
|
|
288839
|
-
/**
|
|
288840
|
-
* Returns true if **all** of the given `patterns` match
|
|
288841
|
-
* the specified string.
|
|
288842
|
-
*
|
|
288843
|
-
* ```js
|
|
288844
|
-
* const mm = require('micromatch');
|
|
288845
|
-
* // mm.all(string, patterns[, options]);
|
|
288846
|
-
*
|
|
288847
|
-
* console.log(mm.all('foo.js', ['foo.js']));
|
|
288848
|
-
* // true
|
|
288849
|
-
*
|
|
288850
|
-
* console.log(mm.all('foo.js', ['*.js', '!foo.js']));
|
|
288851
|
-
* // false
|
|
288852
|
-
*
|
|
288853
|
-
* console.log(mm.all('foo.js', ['*.js', 'foo.js']));
|
|
288854
|
-
* // true
|
|
288855
|
-
*
|
|
288856
|
-
* console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));
|
|
288857
|
-
* // true
|
|
288858
|
-
* ```
|
|
288859
|
-
* @param {String|Array} `str` The string to test.
|
|
288860
|
-
* @param {String|Array} `patterns` One or more glob patterns to use for matching.
|
|
288861
|
-
* @param {Object} `options` See available [options](#options) for changing how matches are performed
|
|
288862
|
-
* @return {Boolean} Returns true if any patterns match `str`
|
|
288863
|
-
* @api public
|
|
288864
|
-
*/
|
|
288865
|
-
|
|
288866
|
-
micromatch.all = (str, patterns, options) => {
|
|
288867
|
-
if (typeof str !== 'string') {
|
|
288868
|
-
throw new TypeError(`Expected a string: "${util.inspect(str)}"`);
|
|
288869
|
-
}
|
|
288870
|
-
|
|
288871
|
-
return [].concat(patterns).every(p => picomatch(p, options)(str));
|
|
288872
|
-
};
|
|
288873
|
-
|
|
288874
|
-
/**
|
|
288875
|
-
* Returns an array of matches captured by `pattern` in `string, or `null` if the pattern did not match.
|
|
288876
|
-
*
|
|
288877
|
-
* ```js
|
|
288878
|
-
* const mm = require('micromatch');
|
|
288879
|
-
* // mm.capture(pattern, string[, options]);
|
|
288880
|
-
*
|
|
288881
|
-
* console.log(mm.capture('test/*.js', 'test/foo.js'));
|
|
288882
|
-
* //=> ['foo']
|
|
288883
|
-
* console.log(mm.capture('test/*.js', 'foo/bar.css'));
|
|
288884
|
-
* //=> null
|
|
288885
|
-
* ```
|
|
288886
|
-
* @param {String} `glob` Glob pattern to use for matching.
|
|
288887
|
-
* @param {String} `input` String to match
|
|
288888
|
-
* @param {Object} `options` See available [options](#options) for changing how matches are performed
|
|
288889
|
-
* @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.
|
|
288890
|
-
* @api public
|
|
288891
|
-
*/
|
|
288892
|
-
|
|
288893
|
-
micromatch.capture = (glob, input, options) => {
|
|
288894
|
-
let posix = utils.isWindows(options);
|
|
288895
|
-
let regex = picomatch.makeRe(String(glob), { ...options, capture: true });
|
|
288896
|
-
let match = regex.exec(posix ? utils.toPosixSlashes(input) : input);
|
|
288897
|
-
|
|
288898
|
-
if (match) {
|
|
288899
|
-
return match.slice(1).map(v => v === void 0 ? '' : v);
|
|
288900
|
-
}
|
|
288901
|
-
};
|
|
288902
|
-
|
|
288903
|
-
/**
|
|
288904
|
-
* Create a regular expression from the given glob `pattern`.
|
|
288905
|
-
*
|
|
288906
|
-
* ```js
|
|
288907
|
-
* const mm = require('micromatch');
|
|
288908
|
-
* // mm.makeRe(pattern[, options]);
|
|
288909
|
-
*
|
|
288910
|
-
* console.log(mm.makeRe('*.js'));
|
|
288911
|
-
* //=> /^(?:(\.[\\\/])?(?!\.)(?=.)[^\/]*?\.js)$/
|
|
288912
|
-
* ```
|
|
288913
|
-
* @param {String} `pattern` A glob pattern to convert to regex.
|
|
288914
|
-
* @param {Object} `options`
|
|
288915
|
-
* @return {RegExp} Returns a regex created from the given pattern.
|
|
288916
|
-
* @api public
|
|
288917
|
-
*/
|
|
288918
|
-
|
|
288919
|
-
micromatch.makeRe = (...args) => picomatch.makeRe(...args);
|
|
288920
|
-
|
|
288921
|
-
/**
|
|
288922
|
-
* Scan a glob pattern to separate the pattern into segments. Used
|
|
288923
|
-
* by the [split](#split) method.
|
|
288924
|
-
*
|
|
288925
|
-
* ```js
|
|
288926
|
-
* const mm = require('micromatch');
|
|
288927
|
-
* const state = mm.scan(pattern[, options]);
|
|
288928
|
-
* ```
|
|
288929
|
-
* @param {String} `pattern`
|
|
288930
|
-
* @param {Object} `options`
|
|
288931
|
-
* @return {Object} Returns an object with
|
|
288932
|
-
* @api public
|
|
288933
|
-
*/
|
|
288934
|
-
|
|
288935
|
-
micromatch.scan = (...args) => picomatch.scan(...args);
|
|
288936
|
-
|
|
288937
|
-
/**
|
|
288938
|
-
* Parse a glob pattern to create the source string for a regular
|
|
288939
|
-
* expression.
|
|
288940
|
-
*
|
|
288941
|
-
* ```js
|
|
288942
|
-
* const mm = require('micromatch');
|
|
288943
|
-
* const state = mm.parse(pattern[, options]);
|
|
288944
|
-
* ```
|
|
288945
|
-
* @param {String} `glob`
|
|
288946
|
-
* @param {Object} `options`
|
|
288947
|
-
* @return {Object} Returns an object with useful properties and output to be used as regex source string.
|
|
288948
|
-
* @api public
|
|
288949
|
-
*/
|
|
288950
|
-
|
|
288951
|
-
micromatch.parse = (patterns, options) => {
|
|
288952
|
-
let res = [];
|
|
288953
|
-
for (let pattern of [].concat(patterns || [])) {
|
|
288954
|
-
for (let str of braces(String(pattern), options)) {
|
|
288955
|
-
res.push(picomatch.parse(str, options));
|
|
288956
|
-
}
|
|
288957
|
-
}
|
|
288958
|
-
return res;
|
|
288959
|
-
};
|
|
288960
|
-
|
|
288961
|
-
/**
|
|
288962
|
-
* Process the given brace `pattern`.
|
|
288963
|
-
*
|
|
288964
|
-
* ```js
|
|
288965
|
-
* const { braces } = require('micromatch');
|
|
288966
|
-
* console.log(braces('foo/{a,b,c}/bar'));
|
|
288967
|
-
* //=> [ 'foo/(a|b|c)/bar' ]
|
|
288968
|
-
*
|
|
288969
|
-
* console.log(braces('foo/{a,b,c}/bar', { expand: true }));
|
|
288970
|
-
* //=> [ 'foo/a/bar', 'foo/b/bar', 'foo/c/bar' ]
|
|
288971
|
-
* ```
|
|
288972
|
-
* @param {String} `pattern` String with brace pattern to process.
|
|
288973
|
-
* @param {Object} `options` Any [options](#options) to change how expansion is performed. See the [braces][] library for all available options.
|
|
288974
|
-
* @return {Array}
|
|
288975
|
-
* @api public
|
|
288976
|
-
*/
|
|
288977
|
-
|
|
288978
|
-
micromatch.braces = (pattern, options) => {
|
|
288979
|
-
if (typeof pattern !== 'string') throw new TypeError('Expected a string');
|
|
288980
|
-
if ((options && options.nobrace === true) || !/\{.*\}/.test(pattern)) {
|
|
288981
|
-
return [pattern];
|
|
288982
|
-
}
|
|
288983
|
-
return braces(pattern, options);
|
|
288984
|
-
};
|
|
288985
|
-
|
|
288986
|
-
/**
|
|
288987
|
-
* Expand braces
|
|
288988
|
-
*/
|
|
288989
|
-
|
|
288990
|
-
micromatch.braceExpand = (pattern, options) => {
|
|
288991
|
-
if (typeof pattern !== 'string') throw new TypeError('Expected a string');
|
|
288992
|
-
return micromatch.braces(pattern, { ...options, expand: true });
|
|
288993
|
-
};
|
|
288994
|
-
|
|
288995
|
-
/**
|
|
288996
|
-
* Expose micromatch
|
|
288997
|
-
*/
|
|
288998
|
-
|
|
288999
|
-
module.exports = micromatch;
|
|
289000
|
-
|
|
289001
|
-
|
|
289002
288275
|
/***/ }),
|
|
289003
288276
|
|
|
289004
288277
|
/***/ 59733:
|
|
@@ -417923,30 +417196,6 @@ function start(argsv, frameworkName, mode) {
|
|
|
417923
417196
|
exports.start = start;
|
|
417924
417197
|
//# sourceMappingURL=C:/Users/darek/projects/npm/firedev-io/tnp/tmp-bundle-release/bundle/project/tnp/bundle-nocutsrc/start.backend.js.map
|
|
417925
417198
|
|
|
417926
|
-
/***/ }),
|
|
417927
|
-
|
|
417928
|
-
/***/ 49258:
|
|
417929
|
-
/***/ ((module) => {
|
|
417930
|
-
|
|
417931
|
-
module.exports = eval("require")("-glibc");
|
|
417932
|
-
|
|
417933
|
-
|
|
417934
|
-
/***/ }),
|
|
417935
|
-
|
|
417936
|
-
/***/ 88115:
|
|
417937
|
-
/***/ ((module) => {
|
|
417938
|
-
|
|
417939
|
-
module.exports = eval("require")("./build/Debug/watcher.node");
|
|
417940
|
-
|
|
417941
|
-
|
|
417942
|
-
/***/ }),
|
|
417943
|
-
|
|
417944
|
-
/***/ 27524:
|
|
417945
|
-
/***/ ((module) => {
|
|
417946
|
-
|
|
417947
|
-
module.exports = eval("require")("./build/Release/watcher.node");
|
|
417948
|
-
|
|
417949
|
-
|
|
417950
417199
|
/***/ }),
|
|
417951
417200
|
|
|
417952
417201
|
/***/ 97237:
|
package/client/package.json
CHANGED
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
"jscodeshift": "^0.6.3",
|
|
342
342
|
"@types/fs-extra": "^7.0.0",
|
|
343
343
|
"@types/rimraf": "^2.0.2",
|
|
344
|
-
"incremental-compiler": "16.5.
|
|
344
|
+
"incremental-compiler": "16.5.8",
|
|
345
345
|
"open": "7.2.1"
|
|
346
346
|
},
|
|
347
347
|
"sockets": {
|
|
@@ -558,7 +558,7 @@
|
|
|
558
558
|
"private": false
|
|
559
559
|
},
|
|
560
560
|
"name": "tnp",
|
|
561
|
-
"version": "16.5.
|
|
561
|
+
"version": "16.5.8",
|
|
562
562
|
"bin": {
|
|
563
563
|
"tnp": "bin/tnp",
|
|
564
564
|
"tnp-debug": "bin/tnp-debug",
|
|
@@ -573,7 +573,7 @@
|
|
|
573
573
|
"progress": "2.0.3",
|
|
574
574
|
"tnp-db": "~16.5.2"
|
|
575
575
|
},
|
|
576
|
-
"lastBuildTagHash": "
|
|
576
|
+
"lastBuildTagHash": "4e833e61654402b5c60d6129e5186f34f94a84ba",
|
|
577
577
|
"scripts": {
|
|
578
578
|
"activate": "npm i --force && firedev dedupe && npx tsc && firedev link && tnp bd"
|
|
579
579
|
},
|
|
@@ -730,7 +730,7 @@
|
|
|
730
730
|
"image-focus": "1.2.1",
|
|
731
731
|
"immer": "10.0.2",
|
|
732
732
|
"immutable": "4.3.0",
|
|
733
|
-
"incremental-compiler": "~16.5.
|
|
733
|
+
"incremental-compiler": "~16.5.8",
|
|
734
734
|
"inquirer": "7.3.3",
|
|
735
735
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
736
736
|
"is-elevated": "3.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
function
|
|
5
|
-
exports.
|
|
3
|
+
exports.dummy1702537940373 = void 0;
|
|
4
|
+
function dummy1702537940373() { }
|
|
5
|
+
exports.dummy1702537940373 = dummy1702537940373;
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
"jscodeshift": "^0.6.3",
|
|
342
342
|
"@types/fs-extra": "^7.0.0",
|
|
343
343
|
"@types/rimraf": "^2.0.2",
|
|
344
|
-
"incremental-compiler": "16.5.
|
|
344
|
+
"incremental-compiler": "16.5.8",
|
|
345
345
|
"open": "7.2.1"
|
|
346
346
|
},
|
|
347
347
|
"sockets": {
|
|
@@ -558,14 +558,14 @@
|
|
|
558
558
|
"private": false
|
|
559
559
|
},
|
|
560
560
|
"name": "tnp",
|
|
561
|
-
"version": "16.5.
|
|
561
|
+
"version": "16.5.8",
|
|
562
562
|
"bin": {
|
|
563
563
|
"tnp": "bin/tnp",
|
|
564
564
|
"tnp-debug": "bin/tnp-debug",
|
|
565
565
|
"tnp-debug-brk": "bin/tnp-debug-brk"
|
|
566
566
|
},
|
|
567
567
|
"dependencies": {},
|
|
568
|
-
"lastBuildTagHash": "
|
|
568
|
+
"lastBuildTagHash": "4e833e61654402b5c60d6129e5186f34f94a84ba",
|
|
569
569
|
"scripts": {
|
|
570
570
|
"activate": "npm i --force && firedev dedupe && npx tsc && firedev link && tnp bd"
|
|
571
571
|
},
|
package/package.json_tnp.json5
CHANGED
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
jscodeshift: "^0.6.3",
|
|
351
351
|
"@types/fs-extra": "^7.0.0",
|
|
352
352
|
"@types/rimraf": "^2.0.2",
|
|
353
|
-
"incremental-compiler": '16.5.
|
|
353
|
+
"incremental-compiler": '16.5.8',
|
|
354
354
|
open: "7.2.1",
|
|
355
355
|
// "sharp": "0.23.3", - > proble with dependncies
|
|
356
356
|
// "@types/sharp": "0.23.1",
|
package/tmp-environment.json
CHANGED
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
"jscodeshift": "^0.6.3",
|
|
347
347
|
"@types/fs-extra": "^7.0.0",
|
|
348
348
|
"@types/rimraf": "^2.0.2",
|
|
349
|
-
"incremental-compiler": "16.5.
|
|
349
|
+
"incremental-compiler": "16.5.8",
|
|
350
350
|
"open": "7.2.1"
|
|
351
351
|
},
|
|
352
352
|
"sockets": {
|
|
@@ -563,7 +563,7 @@
|
|
|
563
563
|
"private": false
|
|
564
564
|
},
|
|
565
565
|
"name": "tnp",
|
|
566
|
-
"version": "16.5.
|
|
566
|
+
"version": "16.5.8",
|
|
567
567
|
"bin": {
|
|
568
568
|
"tnp": "bin/tnp",
|
|
569
569
|
"tnp-debug": "bin/tnp-debug",
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
"progress": "2.0.3",
|
|
579
579
|
"tnp-db": "~16.5.2"
|
|
580
580
|
},
|
|
581
|
-
"lastBuildTagHash": "
|
|
581
|
+
"lastBuildTagHash": "4e833e61654402b5c60d6129e5186f34f94a84ba",
|
|
582
582
|
"scripts": {
|
|
583
583
|
"activate": "npm i --force && firedev dedupe && npx tsc && firedev link && tnp bd"
|
|
584
584
|
},
|
|
@@ -735,7 +735,7 @@
|
|
|
735
735
|
"image-focus": "1.2.1",
|
|
736
736
|
"immer": "10.0.2",
|
|
737
737
|
"immutable": "4.3.0",
|
|
738
|
-
"incremental-compiler": "~16.5.
|
|
738
|
+
"incremental-compiler": "~16.5.8",
|
|
739
739
|
"inquirer": "7.3.3",
|
|
740
740
|
"inquirer-autocomplete-prompt": "1.3.0",
|
|
741
741
|
"is-elevated": "3.0.0",
|
|
@@ -856,9 +856,9 @@
|
|
|
856
856
|
}
|
|
857
857
|
},
|
|
858
858
|
"build": {
|
|
859
|
-
"number":
|
|
860
|
-
"date": "2023-12-
|
|
861
|
-
"hash": "
|
|
859
|
+
"number": 3054,
|
|
860
|
+
"date": "2023-12-12T22:47:25.000Z",
|
|
861
|
+
"hash": "3eb6873f02ba916f621a5431a8ac8196337be12c",
|
|
862
862
|
"options": {}
|
|
863
863
|
},
|
|
864
864
|
"currentProjectName": "tnp",
|
|
@@ -866,7 +866,7 @@
|
|
|
866
866
|
"currentProjectLaunchConfiguration": "{\"version\":\"0.2.0\",\"configurations\":[{\"type\":\"node\",\"request\":\"launch\",\"name\":\"Launch Server standalone\",\"program\":\"${workspaceFolder}/run.js\",\"args\":[\"--ENVoverride=%7B%0A%20%20%20%20%22clientProjectName%22%3A%20%22tnp%22%0A%7D\"],\"runtimeArgs\":[\"--nolazy\",\"-r\",\"ts-node/register\",\"--experimental-worker\"]},{\"name\":\"Debugger with ng serve\",\"type\":\"chrome\",\"request\":\"launch\",\"preLaunchTask\":\"Ng Serve\",\"postDebugTask\":\"terminateall\",\"sourceMaps\":true,\"webRoot\":\"${workspaceFolder}\",\"sourceMapPathOverrides\":{\"webpack:/*\":\"${webRoot}/*\",\"/./*\":\"${webRoot}/*\",\"/tmp-src/*\":\"${webRoot}/*\",\"/*\":\"*\",\"/./~/*\":\"${webRoot}/node_modules/*\"}},{\"type\":\"node\",\"request\":\"attach\",\"name\":\"Attach to global cli tool\",\"port\":9229,\"skipFiles\":[\"<node_internals>/**\"]}],\"compounds\":[{\"name\":\"Debug backend/frontend\",\"configurations\":[\"Launch Server standalone\",\"Debugger with ng serve\"]}]}",
|
|
867
867
|
"currentProjectTasksConfiguration": "{\"version\":\"2.0.0\",\"tasks\":[{\"label\":\"terminateall\",\"command\":\"echo ${input:terminate}\",\"type\":\"shell\",\"problemMatcher\":[]},{\"label\":\"Ng Serve\",\"type\":\"shell\",\"command\":\"tnp build\",\"isBackground\":true,\"presentation\":{\"reveal\":\"always\"},\"group\":{\"kind\":\"build\",\"isDefault\":true},\"problemMatcher\":{\"owner\":\"typescript\",\"source\":\"ts\",\"applyTo\":\"closedDocuments\",\"fileLocation\":[\"relative\",\"${cwd}\"],\"pattern\":\"$tsc\",\"background\":{\"activeOnStart\":true,\"beginsPattern\":{\"regexp\":\"(.*?)\"},\"endsPattern\":{\"regexp\":\"Compiled |Failed to compile.\"}}}}],\"inputs\":[{\"id\":\"terminate\",\"type\":\"command\",\"command\":\"workbench.action.tasks.terminate\",\"args\":\"terminateAll\"}]}",
|
|
868
868
|
"currentProjectType": "isomorphic-lib",
|
|
869
|
-
"currentFrameworkVersion": "16.5.
|
|
869
|
+
"currentFrameworkVersion": "16.5.8",
|
|
870
870
|
"isStandaloneProject": true,
|
|
871
871
|
"isSmartContainer": false,
|
|
872
872
|
"frameworks": [
|