@rollup/wasm-node 4.52.5 → 4.53.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/LICENSE.md +1 -1
- package/dist/bin/rollup +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +111 -98
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +100 -100
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.d.ts +3 -0
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +100 -100
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +111 -98
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/dist/wasm-node/bindings_wasm.js +13 -13
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +30 -25
package/dist/shared/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.53.1
|
|
4
|
+
Fri, 07 Nov 2025 21:55:39 GMT - commit e3bdcdfe5633a6835dc4c61f8cf93a682406d965
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -214,7 +214,7 @@ var hasRequiredUtils$2;
|
|
|
214
214
|
function requireUtils$2 () {
|
|
215
215
|
if (hasRequiredUtils$2) return utils$2;
|
|
216
216
|
hasRequiredUtils$2 = 1;
|
|
217
|
-
(function (exports) {
|
|
217
|
+
(function (exports$1) {
|
|
218
218
|
|
|
219
219
|
const path = require$$0$1;
|
|
220
220
|
const win32 = process.platform === 'win32';
|
|
@@ -225,19 +225,19 @@ function requireUtils$2 () {
|
|
|
225
225
|
REGEX_SPECIAL_CHARS_GLOBAL
|
|
226
226
|
} = /*@__PURE__*/ requireConstants$3();
|
|
227
227
|
|
|
228
|
-
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
|
|
229
|
-
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
|
|
230
|
-
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
|
|
231
|
-
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
232
|
-
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
228
|
+
exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
|
|
229
|
+
exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
|
|
230
|
+
exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
|
|
231
|
+
exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
232
|
+
exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
233
233
|
|
|
234
|
-
exports.removeBackslashes = str => {
|
|
234
|
+
exports$1.removeBackslashes = str => {
|
|
235
235
|
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
|
|
236
236
|
return match === '\\' ? '' : match;
|
|
237
237
|
});
|
|
238
238
|
};
|
|
239
239
|
|
|
240
|
-
exports.supportsLookbehinds = () => {
|
|
240
|
+
exports$1.supportsLookbehinds = () => {
|
|
241
241
|
const segs = process.version.slice(1).split('.').map(Number);
|
|
242
242
|
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
|
|
243
243
|
return true;
|
|
@@ -245,21 +245,21 @@ function requireUtils$2 () {
|
|
|
245
245
|
return false;
|
|
246
246
|
};
|
|
247
247
|
|
|
248
|
-
exports.isWindows = options => {
|
|
248
|
+
exports$1.isWindows = options => {
|
|
249
249
|
if (options && typeof options.windows === 'boolean') {
|
|
250
250
|
return options.windows;
|
|
251
251
|
}
|
|
252
252
|
return win32 === true || path.sep === '\\';
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
exports.escapeLast = (input, char, lastIdx) => {
|
|
255
|
+
exports$1.escapeLast = (input, char, lastIdx) => {
|
|
256
256
|
const idx = input.lastIndexOf(char, lastIdx);
|
|
257
257
|
if (idx === -1) return input;
|
|
258
|
-
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
|
|
258
|
+
if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
|
|
259
259
|
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
exports.removePrefix = (input, state = {}) => {
|
|
262
|
+
exports$1.removePrefix = (input, state = {}) => {
|
|
263
263
|
let output = input;
|
|
264
264
|
if (output.startsWith('./')) {
|
|
265
265
|
output = output.slice(2);
|
|
@@ -268,7 +268,7 @@ function requireUtils$2 () {
|
|
|
268
268
|
return output;
|
|
269
269
|
};
|
|
270
270
|
|
|
271
|
-
exports.wrapOutput = (input, state = {}, options = {}) => {
|
|
271
|
+
exports$1.wrapOutput = (input, state = {}, options = {}) => {
|
|
272
272
|
const prepend = options.contains ? '' : '^';
|
|
273
273
|
const append = options.contains ? '' : '$';
|
|
274
274
|
|
|
@@ -2625,7 +2625,7 @@ var hasRequiredUtils$1;
|
|
|
2625
2625
|
function requireUtils$1 () {
|
|
2626
2626
|
if (hasRequiredUtils$1) return utils$1;
|
|
2627
2627
|
hasRequiredUtils$1 = 1;
|
|
2628
|
-
(function (exports) {
|
|
2628
|
+
(function (exports$1) {
|
|
2629
2629
|
|
|
2630
2630
|
const path = require$$0$1;
|
|
2631
2631
|
const win32 = process.platform === 'win32';
|
|
@@ -2636,19 +2636,19 @@ function requireUtils$1 () {
|
|
|
2636
2636
|
REGEX_SPECIAL_CHARS_GLOBAL
|
|
2637
2637
|
} = /*@__PURE__*/ requireConstants$2();
|
|
2638
2638
|
|
|
2639
|
-
exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
|
|
2640
|
-
exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
|
|
2641
|
-
exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
|
|
2642
|
-
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
2643
|
-
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
2639
|
+
exports$1.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
|
|
2640
|
+
exports$1.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
|
|
2641
|
+
exports$1.isRegexChar = str => str.length === 1 && exports$1.hasRegexChars(str);
|
|
2642
|
+
exports$1.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
2643
|
+
exports$1.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
2644
2644
|
|
|
2645
|
-
exports.removeBackslashes = str => {
|
|
2645
|
+
exports$1.removeBackslashes = str => {
|
|
2646
2646
|
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
|
|
2647
2647
|
return match === '\\' ? '' : match;
|
|
2648
2648
|
});
|
|
2649
2649
|
};
|
|
2650
2650
|
|
|
2651
|
-
exports.supportsLookbehinds = () => {
|
|
2651
|
+
exports$1.supportsLookbehinds = () => {
|
|
2652
2652
|
const segs = process.version.slice(1).split('.').map(Number);
|
|
2653
2653
|
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
|
|
2654
2654
|
return true;
|
|
@@ -2656,21 +2656,21 @@ function requireUtils$1 () {
|
|
|
2656
2656
|
return false;
|
|
2657
2657
|
};
|
|
2658
2658
|
|
|
2659
|
-
exports.isWindows = options => {
|
|
2659
|
+
exports$1.isWindows = options => {
|
|
2660
2660
|
if (options && typeof options.windows === 'boolean') {
|
|
2661
2661
|
return options.windows;
|
|
2662
2662
|
}
|
|
2663
2663
|
return win32 === true || path.sep === '\\';
|
|
2664
2664
|
};
|
|
2665
2665
|
|
|
2666
|
-
exports.escapeLast = (input, char, lastIdx) => {
|
|
2666
|
+
exports$1.escapeLast = (input, char, lastIdx) => {
|
|
2667
2667
|
const idx = input.lastIndexOf(char, lastIdx);
|
|
2668
2668
|
if (idx === -1) return input;
|
|
2669
|
-
if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
|
|
2669
|
+
if (input[idx - 1] === '\\') return exports$1.escapeLast(input, char, idx - 1);
|
|
2670
2670
|
return `${input.slice(0, idx)}\\${input.slice(idx)}`;
|
|
2671
2671
|
};
|
|
2672
2672
|
|
|
2673
|
-
exports.removePrefix = (input, state = {}) => {
|
|
2673
|
+
exports$1.removePrefix = (input, state = {}) => {
|
|
2674
2674
|
let output = input;
|
|
2675
2675
|
if (output.startsWith('./')) {
|
|
2676
2676
|
output = output.slice(2);
|
|
@@ -2679,7 +2679,7 @@ function requireUtils$1 () {
|
|
|
2679
2679
|
return output;
|
|
2680
2680
|
};
|
|
2681
2681
|
|
|
2682
|
-
exports.wrapOutput = (input, state = {}, options = {}) => {
|
|
2682
|
+
exports$1.wrapOutput = (input, state = {}, options = {}) => {
|
|
2683
2683
|
const prepend = options.contains ? '' : '^';
|
|
2684
2684
|
const append = options.contains ? '' : '$';
|
|
2685
2685
|
|
|
@@ -4947,9 +4947,9 @@ var hasRequiredUtils;
|
|
|
4947
4947
|
function requireUtils () {
|
|
4948
4948
|
if (hasRequiredUtils) return utils;
|
|
4949
4949
|
hasRequiredUtils = 1;
|
|
4950
|
-
(function (exports) {
|
|
4950
|
+
(function (exports$1) {
|
|
4951
4951
|
|
|
4952
|
-
exports.isInteger = num => {
|
|
4952
|
+
exports$1.isInteger = num => {
|
|
4953
4953
|
if (typeof num === 'number') {
|
|
4954
4954
|
return Number.isInteger(num);
|
|
4955
4955
|
}
|
|
@@ -4963,15 +4963,15 @@ function requireUtils () {
|
|
|
4963
4963
|
* Find a node of the given type
|
|
4964
4964
|
*/
|
|
4965
4965
|
|
|
4966
|
-
exports.find = (node, type) => node.nodes.find(node => node.type === type);
|
|
4966
|
+
exports$1.find = (node, type) => node.nodes.find(node => node.type === type);
|
|
4967
4967
|
|
|
4968
4968
|
/**
|
|
4969
4969
|
* Find a node of the given type
|
|
4970
4970
|
*/
|
|
4971
4971
|
|
|
4972
|
-
exports.exceedsLimit = (min, max, step = 1, limit) => {
|
|
4972
|
+
exports$1.exceedsLimit = (min, max, step = 1, limit) => {
|
|
4973
4973
|
if (limit === false) return false;
|
|
4974
|
-
if (!exports.isInteger(min) || !exports.isInteger(max)) return false;
|
|
4974
|
+
if (!exports$1.isInteger(min) || !exports$1.isInteger(max)) return false;
|
|
4975
4975
|
return ((Number(max) - Number(min)) / Number(step)) >= limit;
|
|
4976
4976
|
};
|
|
4977
4977
|
|
|
@@ -4979,7 +4979,7 @@ function requireUtils () {
|
|
|
4979
4979
|
* Escape the given node with '\\' before node.value
|
|
4980
4980
|
*/
|
|
4981
4981
|
|
|
4982
|
-
exports.escapeNode = (block, n = 0, type) => {
|
|
4982
|
+
exports$1.escapeNode = (block, n = 0, type) => {
|
|
4983
4983
|
const node = block.nodes[n];
|
|
4984
4984
|
if (!node) return;
|
|
4985
4985
|
|
|
@@ -4995,7 +4995,7 @@ function requireUtils () {
|
|
|
4995
4995
|
* Returns true if the given brace node should be enclosed in literal braces
|
|
4996
4996
|
*/
|
|
4997
4997
|
|
|
4998
|
-
exports.encloseBrace = node => {
|
|
4998
|
+
exports$1.encloseBrace = node => {
|
|
4999
4999
|
if (node.type !== 'brace') return false;
|
|
5000
5000
|
if ((node.commas >> 0 + node.ranges >> 0) === 0) {
|
|
5001
5001
|
node.invalid = true;
|
|
@@ -5008,7 +5008,7 @@ function requireUtils () {
|
|
|
5008
5008
|
* Returns true if a brace node is invalid.
|
|
5009
5009
|
*/
|
|
5010
5010
|
|
|
5011
|
-
exports.isInvalidBrace = block => {
|
|
5011
|
+
exports$1.isInvalidBrace = block => {
|
|
5012
5012
|
if (block.type !== 'brace') return false;
|
|
5013
5013
|
if (block.invalid === true || block.dollar) return true;
|
|
5014
5014
|
if ((block.commas >> 0 + block.ranges >> 0) === 0) {
|
|
@@ -5026,7 +5026,7 @@ function requireUtils () {
|
|
|
5026
5026
|
* Returns true if a node is an open or close node
|
|
5027
5027
|
*/
|
|
5028
5028
|
|
|
5029
|
-
exports.isOpenOrClose = node => {
|
|
5029
|
+
exports$1.isOpenOrClose = node => {
|
|
5030
5030
|
if (node.type === 'open' || node.type === 'close') {
|
|
5031
5031
|
return true;
|
|
5032
5032
|
}
|
|
@@ -5037,7 +5037,7 @@ function requireUtils () {
|
|
|
5037
5037
|
* Reduce an array of text nodes.
|
|
5038
5038
|
*/
|
|
5039
5039
|
|
|
5040
|
-
exports.reduce = nodes => nodes.reduce((acc, node) => {
|
|
5040
|
+
exports$1.reduce = nodes => nodes.reduce((acc, node) => {
|
|
5041
5041
|
if (node.type === 'text') acc.push(node.value);
|
|
5042
5042
|
if (node.type === 'range') node.type = 'text';
|
|
5043
5043
|
return acc;
|
|
@@ -5047,7 +5047,7 @@ function requireUtils () {
|
|
|
5047
5047
|
* Flatten an array
|
|
5048
5048
|
*/
|
|
5049
5049
|
|
|
5050
|
-
exports.flatten = (...args) => {
|
|
5050
|
+
exports$1.flatten = (...args) => {
|
|
5051
5051
|
const result = [];
|
|
5052
5052
|
|
|
5053
5053
|
const flat = arr => {
|
|
@@ -6757,72 +6757,72 @@ var hasRequiredConstants;
|
|
|
6757
6757
|
function requireConstants () {
|
|
6758
6758
|
if (hasRequiredConstants) return constants;
|
|
6759
6759
|
hasRequiredConstants = 1;
|
|
6760
|
-
(function (exports) {
|
|
6760
|
+
(function (exports$1) {
|
|
6761
6761
|
|
|
6762
6762
|
const {sep} = require$$0$1;
|
|
6763
6763
|
const {platform} = process;
|
|
6764
6764
|
const os = require$$2$1;
|
|
6765
6765
|
|
|
6766
|
-
exports.EV_ALL = 'all';
|
|
6767
|
-
exports.EV_READY = 'ready';
|
|
6768
|
-
exports.EV_ADD = 'add';
|
|
6769
|
-
exports.EV_CHANGE = 'change';
|
|
6770
|
-
exports.EV_ADD_DIR = 'addDir';
|
|
6771
|
-
exports.EV_UNLINK = 'unlink';
|
|
6772
|
-
exports.EV_UNLINK_DIR = 'unlinkDir';
|
|
6773
|
-
exports.EV_RAW = 'raw';
|
|
6774
|
-
exports.EV_ERROR = 'error';
|
|
6775
|
-
|
|
6776
|
-
exports.STR_DATA = 'data';
|
|
6777
|
-
exports.STR_END = 'end';
|
|
6778
|
-
exports.STR_CLOSE = 'close';
|
|
6779
|
-
|
|
6780
|
-
exports.FSEVENT_CREATED = 'created';
|
|
6781
|
-
exports.FSEVENT_MODIFIED = 'modified';
|
|
6782
|
-
exports.FSEVENT_DELETED = 'deleted';
|
|
6783
|
-
exports.FSEVENT_MOVED = 'moved';
|
|
6784
|
-
exports.FSEVENT_CLONED = 'cloned';
|
|
6785
|
-
exports.FSEVENT_UNKNOWN = 'unknown';
|
|
6786
|
-
exports.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
|
|
6787
|
-
exports.FSEVENT_TYPE_FILE = 'file';
|
|
6788
|
-
exports.FSEVENT_TYPE_DIRECTORY = 'directory';
|
|
6789
|
-
exports.FSEVENT_TYPE_SYMLINK = 'symlink';
|
|
6790
|
-
|
|
6791
|
-
exports.KEY_LISTENERS = 'listeners';
|
|
6792
|
-
exports.KEY_ERR = 'errHandlers';
|
|
6793
|
-
exports.KEY_RAW = 'rawEmitters';
|
|
6794
|
-
exports.HANDLER_KEYS = [exports.KEY_LISTENERS, exports.KEY_ERR, exports.KEY_RAW];
|
|
6795
|
-
|
|
6796
|
-
exports.DOT_SLASH = `.${sep}`;
|
|
6797
|
-
|
|
6798
|
-
exports.BACK_SLASH_RE = /\\/g;
|
|
6799
|
-
exports.DOUBLE_SLASH_RE = /\/\//;
|
|
6800
|
-
exports.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
6801
|
-
exports.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
|
|
6802
|
-
exports.REPLACER_RE = /^\.[/\\]/;
|
|
6803
|
-
|
|
6804
|
-
exports.SLASH = '/';
|
|
6805
|
-
exports.SLASH_SLASH = '//';
|
|
6806
|
-
exports.BRACE_START = '{';
|
|
6807
|
-
exports.BANG = '!';
|
|
6808
|
-
exports.ONE_DOT = '.';
|
|
6809
|
-
exports.TWO_DOTS = '..';
|
|
6810
|
-
exports.STAR = '*';
|
|
6811
|
-
exports.GLOBSTAR = '**';
|
|
6812
|
-
exports.ROOT_GLOBSTAR = '/**/*';
|
|
6813
|
-
exports.SLASH_GLOBSTAR = '/**';
|
|
6814
|
-
exports.DIR_SUFFIX = 'Dir';
|
|
6815
|
-
exports.ANYMATCH_OPTS = {dot: true};
|
|
6816
|
-
exports.STRING_TYPE = 'string';
|
|
6817
|
-
exports.FUNCTION_TYPE = 'function';
|
|
6818
|
-
exports.EMPTY_STR = '';
|
|
6819
|
-
exports.EMPTY_FN = () => {};
|
|
6820
|
-
exports.IDENTITY_FN = val => val;
|
|
6821
|
-
|
|
6822
|
-
exports.isWindows = platform === 'win32';
|
|
6823
|
-
exports.isMacos = platform === 'darwin';
|
|
6824
|
-
exports.isLinux = platform === 'linux';
|
|
6825
|
-
exports.isIBMi = os.type() === 'OS400';
|
|
6766
|
+
exports$1.EV_ALL = 'all';
|
|
6767
|
+
exports$1.EV_READY = 'ready';
|
|
6768
|
+
exports$1.EV_ADD = 'add';
|
|
6769
|
+
exports$1.EV_CHANGE = 'change';
|
|
6770
|
+
exports$1.EV_ADD_DIR = 'addDir';
|
|
6771
|
+
exports$1.EV_UNLINK = 'unlink';
|
|
6772
|
+
exports$1.EV_UNLINK_DIR = 'unlinkDir';
|
|
6773
|
+
exports$1.EV_RAW = 'raw';
|
|
6774
|
+
exports$1.EV_ERROR = 'error';
|
|
6775
|
+
|
|
6776
|
+
exports$1.STR_DATA = 'data';
|
|
6777
|
+
exports$1.STR_END = 'end';
|
|
6778
|
+
exports$1.STR_CLOSE = 'close';
|
|
6779
|
+
|
|
6780
|
+
exports$1.FSEVENT_CREATED = 'created';
|
|
6781
|
+
exports$1.FSEVENT_MODIFIED = 'modified';
|
|
6782
|
+
exports$1.FSEVENT_DELETED = 'deleted';
|
|
6783
|
+
exports$1.FSEVENT_MOVED = 'moved';
|
|
6784
|
+
exports$1.FSEVENT_CLONED = 'cloned';
|
|
6785
|
+
exports$1.FSEVENT_UNKNOWN = 'unknown';
|
|
6786
|
+
exports$1.FSEVENT_FLAG_MUST_SCAN_SUBDIRS = 1;
|
|
6787
|
+
exports$1.FSEVENT_TYPE_FILE = 'file';
|
|
6788
|
+
exports$1.FSEVENT_TYPE_DIRECTORY = 'directory';
|
|
6789
|
+
exports$1.FSEVENT_TYPE_SYMLINK = 'symlink';
|
|
6790
|
+
|
|
6791
|
+
exports$1.KEY_LISTENERS = 'listeners';
|
|
6792
|
+
exports$1.KEY_ERR = 'errHandlers';
|
|
6793
|
+
exports$1.KEY_RAW = 'rawEmitters';
|
|
6794
|
+
exports$1.HANDLER_KEYS = [exports$1.KEY_LISTENERS, exports$1.KEY_ERR, exports$1.KEY_RAW];
|
|
6795
|
+
|
|
6796
|
+
exports$1.DOT_SLASH = `.${sep}`;
|
|
6797
|
+
|
|
6798
|
+
exports$1.BACK_SLASH_RE = /\\/g;
|
|
6799
|
+
exports$1.DOUBLE_SLASH_RE = /\/\//;
|
|
6800
|
+
exports$1.SLASH_OR_BACK_SLASH_RE = /[/\\]/;
|
|
6801
|
+
exports$1.DOT_RE = /\..*\.(sw[px])$|~$|\.subl.*\.tmp/;
|
|
6802
|
+
exports$1.REPLACER_RE = /^\.[/\\]/;
|
|
6803
|
+
|
|
6804
|
+
exports$1.SLASH = '/';
|
|
6805
|
+
exports$1.SLASH_SLASH = '//';
|
|
6806
|
+
exports$1.BRACE_START = '{';
|
|
6807
|
+
exports$1.BANG = '!';
|
|
6808
|
+
exports$1.ONE_DOT = '.';
|
|
6809
|
+
exports$1.TWO_DOTS = '..';
|
|
6810
|
+
exports$1.STAR = '*';
|
|
6811
|
+
exports$1.GLOBSTAR = '**';
|
|
6812
|
+
exports$1.ROOT_GLOBSTAR = '/**/*';
|
|
6813
|
+
exports$1.SLASH_GLOBSTAR = '/**';
|
|
6814
|
+
exports$1.DIR_SUFFIX = 'Dir';
|
|
6815
|
+
exports$1.ANYMATCH_OPTS = {dot: true};
|
|
6816
|
+
exports$1.STRING_TYPE = 'string';
|
|
6817
|
+
exports$1.FUNCTION_TYPE = 'function';
|
|
6818
|
+
exports$1.EMPTY_STR = '';
|
|
6819
|
+
exports$1.EMPTY_FN = () => {};
|
|
6820
|
+
exports$1.IDENTITY_FN = val => val;
|
|
6821
|
+
|
|
6822
|
+
exports$1.isWindows = platform === 'win32';
|
|
6823
|
+
exports$1.isMacos = platform === 'darwin';
|
|
6824
|
+
exports$1.isLinux = platform === 'linux';
|
|
6825
|
+
exports$1.isIBMi = os.type() === 'OS400';
|
|
6826
6826
|
} (constants));
|
|
6827
6827
|
return constants;
|
|
6828
6828
|
}
|
package/dist/shared/parseAst.js
CHANGED