@whoj/eslint-config 2.2.0 → 2.2.2

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,115 +0,0 @@
1
- import {
2
- __commonJS,
3
- __require,
4
- init_esm_shims
5
- } from "./chunk-MKNYKNDN.js";
6
-
7
- // node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js
8
- var require_cssesc = __commonJS({
9
- "node_modules/.pnpm/cssesc@3.0.0/node_modules/cssesc/cssesc.js"(exports, module) {
10
- "use strict";
11
- init_esm_shims();
12
- var object = {};
13
- var hasOwnProperty = object.hasOwnProperty;
14
- var merge = function merge2(options, defaults) {
15
- if (!options) {
16
- return defaults;
17
- }
18
- var result = {};
19
- for (var key in defaults) {
20
- result[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key];
21
- }
22
- return result;
23
- };
24
- var regexAnySingleEscape = /[ -,\.\/:-@\[-\^`\{-~]/;
25
- var regexSingleEscape = /[ -,\.\/:-@\[\]\^`\{-~]/;
26
- var regexExcessiveSpaces = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;
27
- var cssesc = function cssesc2(string, options) {
28
- options = merge(options, cssesc2.options);
29
- if (options.quotes != "single" && options.quotes != "double") {
30
- options.quotes = "single";
31
- }
32
- var quote = options.quotes == "double" ? '"' : "'";
33
- var isIdentifier = options.isIdentifier;
34
- var firstChar = string.charAt(0);
35
- var output = "";
36
- var counter = 0;
37
- var length = string.length;
38
- while (counter < length) {
39
- var character = string.charAt(counter++);
40
- var codePoint = character.charCodeAt();
41
- var value = void 0;
42
- if (codePoint < 32 || codePoint > 126) {
43
- if (codePoint >= 55296 && codePoint <= 56319 && counter < length) {
44
- var extra = string.charCodeAt(counter++);
45
- if ((extra & 64512) == 56320) {
46
- codePoint = ((codePoint & 1023) << 10) + (extra & 1023) + 65536;
47
- } else {
48
- counter--;
49
- }
50
- }
51
- value = "\\" + codePoint.toString(16).toUpperCase() + " ";
52
- } else {
53
- if (options.escapeEverything) {
54
- if (regexAnySingleEscape.test(character)) {
55
- value = "\\" + character;
56
- } else {
57
- value = "\\" + codePoint.toString(16).toUpperCase() + " ";
58
- }
59
- } else if (/[\t\n\f\r\x0B]/.test(character)) {
60
- value = "\\" + codePoint.toString(16).toUpperCase() + " ";
61
- } else if (character == "\\" || !isIdentifier && (character == '"' && quote == character || character == "'" && quote == character) || isIdentifier && regexSingleEscape.test(character)) {
62
- value = "\\" + character;
63
- } else {
64
- value = character;
65
- }
66
- }
67
- output += value;
68
- }
69
- if (isIdentifier) {
70
- if (/^-[-\d]/.test(output)) {
71
- output = "\\-" + output.slice(1);
72
- } else if (/\d/.test(firstChar)) {
73
- output = "\\3" + firstChar + " " + output.slice(1);
74
- }
75
- }
76
- output = output.replace(regexExcessiveSpaces, function($0, $1, $2) {
77
- if ($1 && $1.length % 2) {
78
- return $0;
79
- }
80
- return ($1 || "") + $2;
81
- });
82
- if (!isIdentifier && options.wrap) {
83
- return quote + output + quote;
84
- }
85
- return output;
86
- };
87
- cssesc.options = {
88
- "escapeEverything": false,
89
- "isIdentifier": false,
90
- "quotes": "single",
91
- "wrap": false
92
- };
93
- cssesc.version = "3.0.0";
94
- module.exports = cssesc;
95
- }
96
- });
97
-
98
- // node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/node.js
99
- var require_node = __commonJS({
100
- "node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/node.js"(exports, module) {
101
- "use strict";
102
- init_esm_shims();
103
- module.exports = __require("util").deprecate;
104
- }
105
- });
106
-
107
- export {
108
- require_cssesc,
109
- require_node
110
- };
111
- /*! Bundled license information:
112
-
113
- cssesc/cssesc.js:
114
- (*! https://mths.be/cssesc v3.0.0 by @mathias *)
115
- */