ADAPT-Chase commited on
Commit
2a06040
·
verified ·
1 Parent(s): a7abeae

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. novas/novacore-zephyr/groq-code-cli/node_modules/ansi-styles/index.d.ts +236 -0
  2. novas/novacore-zephyr/groq-code-cli/node_modules/ansi-styles/index.js +223 -0
  3. novas/novacore-zephyr/groq-code-cli/node_modules/ansi-styles/package.json +54 -0
  4. novas/novacore-zephyr/groq-code-cli/node_modules/ansi-styles/readme.md +173 -0
  5. novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/LICENSE +15 -0
  6. novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/README.md +87 -0
  7. novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/index.d.ts +20 -0
  8. novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/index.js +104 -0
  9. novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/package.json +48 -0
  10. novas/novacore-zephyr/groq-code-cli/node_modules/arg/LICENSE.md +21 -0
  11. novas/novacore-zephyr/groq-code-cli/node_modules/arg/README.md +280 -0
  12. novas/novacore-zephyr/groq-code-cli/node_modules/arg/index.d.ts +31 -0
  13. novas/novacore-zephyr/groq-code-cli/node_modules/arg/index.js +144 -0
  14. novas/novacore-zephyr/groq-code-cli/node_modules/arg/package.json +30 -0
  15. novas/novacore-zephyr/groq-code-cli/node_modules/argparse/CHANGELOG.md +216 -0
  16. novas/novacore-zephyr/groq-code-cli/node_modules/argparse/LICENSE +254 -0
  17. novas/novacore-zephyr/groq-code-cli/node_modules/argparse/README.md +84 -0
  18. novas/novacore-zephyr/groq-code-cli/node_modules/argparse/argparse.js +0 -0
  19. novas/novacore-zephyr/groq-code-cli/node_modules/argparse/package.json +31 -0
  20. novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/.eslintrc +9 -0
  21. novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/.nycrc +13 -0
  22. novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/CHANGELOG.md +43 -0
  23. novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/LICENSE +21 -0
  24. novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/README.md +40 -0
  25. novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/index.d.ts +4 -0
  26. novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/index.js +14 -0
  27. novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/package.json +94 -0
  28. novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/tsconfig.json +9 -0
  29. novas/novacore-zephyr/groq-code-cli/node_modules/array-find-index/index.js +25 -0
  30. novas/novacore-zephyr/groq-code-cli/node_modules/array-find-index/license +21 -0
  31. novas/novacore-zephyr/groq-code-cli/node_modules/array-find-index/package.json +35 -0
  32. novas/novacore-zephyr/groq-code-cli/node_modules/array-find-index/readme.md +30 -0
  33. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/.editorconfig +13 -0
  34. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/.eslintrc +29 -0
  35. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/.nycrc +9 -0
  36. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/CHANGELOG.md +187 -0
  37. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/LICENSE +21 -0
  38. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/README.md +105 -0
  39. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/auto.js +3 -0
  40. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/implementation.js +36 -0
  41. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/index.js +27 -0
  42. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/package.json +115 -0
  43. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/polyfill.js +13 -0
  44. novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/shim.js +14 -0
  45. novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/.editorconfig +20 -0
  46. novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/.eslintrc +37 -0
  47. novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/.nycrc +9 -0
  48. novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/CHANGELOG.md +96 -0
  49. novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/LICENSE +21 -0
  50. novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/README.md +74 -0
novas/novacore-zephyr/groq-code-cli/node_modules/ansi-styles/index.d.ts ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ export interface CSPair { // eslint-disable-line @typescript-eslint/naming-convention
2
+ /**
3
+ The ANSI terminal control sequence for starting this style.
4
+ */
5
+ readonly open: string;
6
+
7
+ /**
8
+ The ANSI terminal control sequence for ending this style.
9
+ */
10
+ readonly close: string;
11
+ }
12
+
13
+ export interface ColorBase {
14
+ /**
15
+ The ANSI terminal control sequence for ending this color.
16
+ */
17
+ readonly close: string;
18
+
19
+ ansi(code: number): string;
20
+
21
+ ansi256(code: number): string;
22
+
23
+ ansi16m(red: number, green: number, blue: number): string;
24
+ }
25
+
26
+ export interface Modifier {
27
+ /**
28
+ Resets the current color chain.
29
+ */
30
+ readonly reset: CSPair;
31
+
32
+ /**
33
+ Make text bold.
34
+ */
35
+ readonly bold: CSPair;
36
+
37
+ /**
38
+ Emitting only a small amount of light.
39
+ */
40
+ readonly dim: CSPair;
41
+
42
+ /**
43
+ Make text italic. (Not widely supported)
44
+ */
45
+ readonly italic: CSPair;
46
+
47
+ /**
48
+ Make text underline. (Not widely supported)
49
+ */
50
+ readonly underline: CSPair;
51
+
52
+ /**
53
+ Make text overline.
54
+
55
+ Supported on VTE-based terminals, the GNOME terminal, mintty, and Git Bash.
56
+ */
57
+ readonly overline: CSPair;
58
+
59
+ /**
60
+ Inverse background and foreground colors.
61
+ */
62
+ readonly inverse: CSPair;
63
+
64
+ /**
65
+ Prints the text, but makes it invisible.
66
+ */
67
+ readonly hidden: CSPair;
68
+
69
+ /**
70
+ Puts a horizontal line through the center of the text. (Not widely supported)
71
+ */
72
+ readonly strikethrough: CSPair;
73
+ }
74
+
75
+ export interface ForegroundColor {
76
+ readonly black: CSPair;
77
+ readonly red: CSPair;
78
+ readonly green: CSPair;
79
+ readonly yellow: CSPair;
80
+ readonly blue: CSPair;
81
+ readonly cyan: CSPair;
82
+ readonly magenta: CSPair;
83
+ readonly white: CSPair;
84
+
85
+ /**
86
+ Alias for `blackBright`.
87
+ */
88
+ readonly gray: CSPair;
89
+
90
+ /**
91
+ Alias for `blackBright`.
92
+ */
93
+ readonly grey: CSPair;
94
+
95
+ readonly blackBright: CSPair;
96
+ readonly redBright: CSPair;
97
+ readonly greenBright: CSPair;
98
+ readonly yellowBright: CSPair;
99
+ readonly blueBright: CSPair;
100
+ readonly cyanBright: CSPair;
101
+ readonly magentaBright: CSPair;
102
+ readonly whiteBright: CSPair;
103
+ }
104
+
105
+ export interface BackgroundColor {
106
+ readonly bgBlack: CSPair;
107
+ readonly bgRed: CSPair;
108
+ readonly bgGreen: CSPair;
109
+ readonly bgYellow: CSPair;
110
+ readonly bgBlue: CSPair;
111
+ readonly bgCyan: CSPair;
112
+ readonly bgMagenta: CSPair;
113
+ readonly bgWhite: CSPair;
114
+
115
+ /**
116
+ Alias for `bgBlackBright`.
117
+ */
118
+ readonly bgGray: CSPair;
119
+
120
+ /**
121
+ Alias for `bgBlackBright`.
122
+ */
123
+ readonly bgGrey: CSPair;
124
+
125
+ readonly bgBlackBright: CSPair;
126
+ readonly bgRedBright: CSPair;
127
+ readonly bgGreenBright: CSPair;
128
+ readonly bgYellowBright: CSPair;
129
+ readonly bgBlueBright: CSPair;
130
+ readonly bgCyanBright: CSPair;
131
+ readonly bgMagentaBright: CSPair;
132
+ readonly bgWhiteBright: CSPair;
133
+ }
134
+
135
+ export interface ConvertColor {
136
+ /**
137
+ Convert from the RGB color space to the ANSI 256 color space.
138
+
139
+ @param red - (`0...255`)
140
+ @param green - (`0...255`)
141
+ @param blue - (`0...255`)
142
+ */
143
+ rgbToAnsi256(red: number, green: number, blue: number): number;
144
+
145
+ /**
146
+ Convert from the RGB HEX color space to the RGB color space.
147
+
148
+ @param hex - A hexadecimal string containing RGB data.
149
+ */
150
+ hexToRgb(hex: string): [red: number, green: number, blue: number];
151
+
152
+ /**
153
+ Convert from the RGB HEX color space to the ANSI 256 color space.
154
+
155
+ @param hex - A hexadecimal string containing RGB data.
156
+ */
157
+ hexToAnsi256(hex: string): number;
158
+
159
+ /**
160
+ Convert from the ANSI 256 color space to the ANSI 16 color space.
161
+
162
+ @param code - A number representing the ANSI 256 color.
163
+ */
164
+ ansi256ToAnsi(code: number): number;
165
+
166
+ /**
167
+ Convert from the RGB color space to the ANSI 16 color space.
168
+
169
+ @param red - (`0...255`)
170
+ @param green - (`0...255`)
171
+ @param blue - (`0...255`)
172
+ */
173
+ rgbToAnsi(red: number, green: number, blue: number): number;
174
+
175
+ /**
176
+ Convert from the RGB HEX color space to the ANSI 16 color space.
177
+
178
+ @param hex - A hexadecimal string containing RGB data.
179
+ */
180
+ hexToAnsi(hex: string): number;
181
+ }
182
+
183
+ /**
184
+ Basic modifier names.
185
+ */
186
+ export type ModifierName = keyof Modifier;
187
+
188
+ /**
189
+ Basic foreground color names.
190
+
191
+ [More colors here.](https://github.com/chalk/chalk/blob/main/readme.md#256-and-truecolor-color-support)
192
+ */
193
+ export type ForegroundColorName = keyof ForegroundColor;
194
+
195
+ /**
196
+ Basic background color names.
197
+
198
+ [More colors here.](https://github.com/chalk/chalk/blob/main/readme.md#256-and-truecolor-color-support)
199
+ */
200
+ export type BackgroundColorName = keyof BackgroundColor;
201
+
202
+ /**
203
+ Basic color names. The combination of foreground and background color names.
204
+
205
+ [More colors here.](https://github.com/chalk/chalk/blob/main/readme.md#256-and-truecolor-color-support)
206
+ */
207
+ export type ColorName = ForegroundColorName | BackgroundColorName;
208
+
209
+ /**
210
+ Basic modifier names.
211
+ */
212
+ export const modifierNames: readonly ModifierName[];
213
+
214
+ /**
215
+ Basic foreground color names.
216
+ */
217
+ export const foregroundColorNames: readonly ForegroundColorName[];
218
+
219
+ /**
220
+ Basic background color names.
221
+ */
222
+ export const backgroundColorNames: readonly BackgroundColorName[];
223
+
224
+ /*
225
+ Basic color names. The combination of foreground and background color names.
226
+ */
227
+ export const colorNames: readonly ColorName[];
228
+
229
+ declare const ansiStyles: {
230
+ readonly modifier: Modifier;
231
+ readonly color: ColorBase & ForegroundColor;
232
+ readonly bgColor: ColorBase & BackgroundColor;
233
+ readonly codes: ReadonlyMap<number, number>;
234
+ } & ForegroundColor & BackgroundColor & Modifier & ConvertColor;
235
+
236
+ export default ansiStyles;
novas/novacore-zephyr/groq-code-cli/node_modules/ansi-styles/index.js ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const ANSI_BACKGROUND_OFFSET = 10;
2
+
3
+ const wrapAnsi16 = (offset = 0) => code => `\u001B[${code + offset}m`;
4
+
5
+ const wrapAnsi256 = (offset = 0) => code => `\u001B[${38 + offset};5;${code}m`;
6
+
7
+ const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`;
8
+
9
+ const styles = {
10
+ modifier: {
11
+ reset: [0, 0],
12
+ // 21 isn't widely supported and 22 does the same thing
13
+ bold: [1, 22],
14
+ dim: [2, 22],
15
+ italic: [3, 23],
16
+ underline: [4, 24],
17
+ overline: [53, 55],
18
+ inverse: [7, 27],
19
+ hidden: [8, 28],
20
+ strikethrough: [9, 29],
21
+ },
22
+ color: {
23
+ black: [30, 39],
24
+ red: [31, 39],
25
+ green: [32, 39],
26
+ yellow: [33, 39],
27
+ blue: [34, 39],
28
+ magenta: [35, 39],
29
+ cyan: [36, 39],
30
+ white: [37, 39],
31
+
32
+ // Bright color
33
+ blackBright: [90, 39],
34
+ gray: [90, 39], // Alias of `blackBright`
35
+ grey: [90, 39], // Alias of `blackBright`
36
+ redBright: [91, 39],
37
+ greenBright: [92, 39],
38
+ yellowBright: [93, 39],
39
+ blueBright: [94, 39],
40
+ magentaBright: [95, 39],
41
+ cyanBright: [96, 39],
42
+ whiteBright: [97, 39],
43
+ },
44
+ bgColor: {
45
+ bgBlack: [40, 49],
46
+ bgRed: [41, 49],
47
+ bgGreen: [42, 49],
48
+ bgYellow: [43, 49],
49
+ bgBlue: [44, 49],
50
+ bgMagenta: [45, 49],
51
+ bgCyan: [46, 49],
52
+ bgWhite: [47, 49],
53
+
54
+ // Bright color
55
+ bgBlackBright: [100, 49],
56
+ bgGray: [100, 49], // Alias of `bgBlackBright`
57
+ bgGrey: [100, 49], // Alias of `bgBlackBright`
58
+ bgRedBright: [101, 49],
59
+ bgGreenBright: [102, 49],
60
+ bgYellowBright: [103, 49],
61
+ bgBlueBright: [104, 49],
62
+ bgMagentaBright: [105, 49],
63
+ bgCyanBright: [106, 49],
64
+ bgWhiteBright: [107, 49],
65
+ },
66
+ };
67
+
68
+ export const modifierNames = Object.keys(styles.modifier);
69
+ export const foregroundColorNames = Object.keys(styles.color);
70
+ export const backgroundColorNames = Object.keys(styles.bgColor);
71
+ export const colorNames = [...foregroundColorNames, ...backgroundColorNames];
72
+
73
+ function assembleStyles() {
74
+ const codes = new Map();
75
+
76
+ for (const [groupName, group] of Object.entries(styles)) {
77
+ for (const [styleName, style] of Object.entries(group)) {
78
+ styles[styleName] = {
79
+ open: `\u001B[${style[0]}m`,
80
+ close: `\u001B[${style[1]}m`,
81
+ };
82
+
83
+ group[styleName] = styles[styleName];
84
+
85
+ codes.set(style[0], style[1]);
86
+ }
87
+
88
+ Object.defineProperty(styles, groupName, {
89
+ value: group,
90
+ enumerable: false,
91
+ });
92
+ }
93
+
94
+ Object.defineProperty(styles, 'codes', {
95
+ value: codes,
96
+ enumerable: false,
97
+ });
98
+
99
+ styles.color.close = '\u001B[39m';
100
+ styles.bgColor.close = '\u001B[49m';
101
+
102
+ styles.color.ansi = wrapAnsi16();
103
+ styles.color.ansi256 = wrapAnsi256();
104
+ styles.color.ansi16m = wrapAnsi16m();
105
+ styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
106
+ styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
107
+ styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
108
+
109
+ // From https://github.com/Qix-/color-convert/blob/3f0e0d4e92e235796ccb17f6e85c72094a651f49/conversions.js
110
+ Object.defineProperties(styles, {
111
+ rgbToAnsi256: {
112
+ value: (red, green, blue) => {
113
+ // We use the extended greyscale palette here, with the exception of
114
+ // black and white. normal palette only has 4 greyscale shades.
115
+ if (red === green && green === blue) {
116
+ if (red < 8) {
117
+ return 16;
118
+ }
119
+
120
+ if (red > 248) {
121
+ return 231;
122
+ }
123
+
124
+ return Math.round(((red - 8) / 247) * 24) + 232;
125
+ }
126
+
127
+ return 16
128
+ + (36 * Math.round(red / 255 * 5))
129
+ + (6 * Math.round(green / 255 * 5))
130
+ + Math.round(blue / 255 * 5);
131
+ },
132
+ enumerable: false,
133
+ },
134
+ hexToRgb: {
135
+ value: hex => {
136
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
137
+ if (!matches) {
138
+ return [0, 0, 0];
139
+ }
140
+
141
+ let [colorString] = matches;
142
+
143
+ if (colorString.length === 3) {
144
+ colorString = [...colorString].map(character => character + character).join('');
145
+ }
146
+
147
+ const integer = Number.parseInt(colorString, 16);
148
+
149
+ return [
150
+ /* eslint-disable no-bitwise */
151
+ (integer >> 16) & 0xFF,
152
+ (integer >> 8) & 0xFF,
153
+ integer & 0xFF,
154
+ /* eslint-enable no-bitwise */
155
+ ];
156
+ },
157
+ enumerable: false,
158
+ },
159
+ hexToAnsi256: {
160
+ value: hex => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
161
+ enumerable: false,
162
+ },
163
+ ansi256ToAnsi: {
164
+ value: code => {
165
+ if (code < 8) {
166
+ return 30 + code;
167
+ }
168
+
169
+ if (code < 16) {
170
+ return 90 + (code - 8);
171
+ }
172
+
173
+ let red;
174
+ let green;
175
+ let blue;
176
+
177
+ if (code >= 232) {
178
+ red = (((code - 232) * 10) + 8) / 255;
179
+ green = red;
180
+ blue = red;
181
+ } else {
182
+ code -= 16;
183
+
184
+ const remainder = code % 36;
185
+
186
+ red = Math.floor(code / 36) / 5;
187
+ green = Math.floor(remainder / 6) / 5;
188
+ blue = (remainder % 6) / 5;
189
+ }
190
+
191
+ const value = Math.max(red, green, blue) * 2;
192
+
193
+ if (value === 0) {
194
+ return 30;
195
+ }
196
+
197
+ // eslint-disable-next-line no-bitwise
198
+ let result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));
199
+
200
+ if (value === 2) {
201
+ result += 60;
202
+ }
203
+
204
+ return result;
205
+ },
206
+ enumerable: false,
207
+ },
208
+ rgbToAnsi: {
209
+ value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
210
+ enumerable: false,
211
+ },
212
+ hexToAnsi: {
213
+ value: hex => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
214
+ enumerable: false,
215
+ },
216
+ });
217
+
218
+ return styles;
219
+ }
220
+
221
+ const ansiStyles = assembleStyles();
222
+
223
+ export default ansiStyles;
novas/novacore-zephyr/groq-code-cli/node_modules/ansi-styles/package.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ansi-styles",
3
+ "version": "6.2.1",
4
+ "description": "ANSI escape codes for styling strings in the terminal",
5
+ "license": "MIT",
6
+ "repository": "chalk/ansi-styles",
7
+ "funding": "https://github.com/chalk/ansi-styles?sponsor=1",
8
+ "author": {
9
+ "name": "Sindre Sorhus",
10
+ "email": "sindresorhus@gmail.com",
11
+ "url": "https://sindresorhus.com"
12
+ },
13
+ "type": "module",
14
+ "exports": "./index.js",
15
+ "engines": {
16
+ "node": ">=12"
17
+ },
18
+ "scripts": {
19
+ "test": "xo && ava && tsd",
20
+ "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor"
21
+ },
22
+ "files": [
23
+ "index.js",
24
+ "index.d.ts"
25
+ ],
26
+ "keywords": [
27
+ "ansi",
28
+ "styles",
29
+ "color",
30
+ "colour",
31
+ "colors",
32
+ "terminal",
33
+ "console",
34
+ "cli",
35
+ "string",
36
+ "tty",
37
+ "escape",
38
+ "formatting",
39
+ "rgb",
40
+ "256",
41
+ "shell",
42
+ "xterm",
43
+ "log",
44
+ "logging",
45
+ "command-line",
46
+ "text"
47
+ ],
48
+ "devDependencies": {
49
+ "ava": "^3.15.0",
50
+ "svg-term-cli": "^2.1.1",
51
+ "tsd": "^0.19.0",
52
+ "xo": "^0.47.0"
53
+ }
54
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/ansi-styles/readme.md ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ansi-styles
2
+
3
+ > [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors_and_Styles) for styling strings in the terminal
4
+
5
+ You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
6
+
7
+ ![](screenshot.png)
8
+
9
+ ## Install
10
+
11
+ ```sh
12
+ npm install ansi-styles
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ```js
18
+ import styles from 'ansi-styles';
19
+
20
+ console.log(`${styles.green.open}Hello world!${styles.green.close}`);
21
+
22
+
23
+ // Color conversion between 256/truecolor
24
+ // NOTE: When converting from truecolor to 256 colors, the original color
25
+ // may be degraded to fit the new color palette. This means terminals
26
+ // that do not support 16 million colors will best-match the
27
+ // original color.
28
+ console.log(`${styles.color.ansi(styles.rgbToAnsi(199, 20, 250))}Hello World${styles.color.close}`)
29
+ console.log(`${styles.color.ansi256(styles.rgbToAnsi256(199, 20, 250))}Hello World${styles.color.close}`)
30
+ console.log(`${styles.color.ansi16m(...styles.hexToRgb('#abcdef'))}Hello World${styles.color.close}`)
31
+ ```
32
+
33
+ ## API
34
+
35
+ ### `open` and `close`
36
+
37
+ Each style has an `open` and `close` property.
38
+
39
+ ### `modifierNames`, `foregroundColorNames`, `backgroundColorNames`, and `colorNames`
40
+
41
+ All supported style strings are exposed as an array of strings for convenience. `colorNames` is the combination of `foregroundColorNames` and `backgroundColorNames`.
42
+
43
+ This can be useful if you need to validate input:
44
+
45
+ ```js
46
+ import {modifierNames, foregroundColorNames} from 'ansi-styles';
47
+
48
+ console.log(modifierNames.includes('bold'));
49
+ //=> true
50
+
51
+ console.log(foregroundColorNames.includes('pink'));
52
+ //=> false
53
+ ```
54
+
55
+ ## Styles
56
+
57
+ ### Modifiers
58
+
59
+ - `reset`
60
+ - `bold`
61
+ - `dim`
62
+ - `italic` *(Not widely supported)*
63
+ - `underline`
64
+ - `overline` *Supported on VTE-based terminals, the GNOME terminal, mintty, and Git Bash.*
65
+ - `inverse`
66
+ - `hidden`
67
+ - `strikethrough` *(Not widely supported)*
68
+
69
+ ### Colors
70
+
71
+ - `black`
72
+ - `red`
73
+ - `green`
74
+ - `yellow`
75
+ - `blue`
76
+ - `magenta`
77
+ - `cyan`
78
+ - `white`
79
+ - `blackBright` (alias: `gray`, `grey`)
80
+ - `redBright`
81
+ - `greenBright`
82
+ - `yellowBright`
83
+ - `blueBright`
84
+ - `magentaBright`
85
+ - `cyanBright`
86
+ - `whiteBright`
87
+
88
+ ### Background colors
89
+
90
+ - `bgBlack`
91
+ - `bgRed`
92
+ - `bgGreen`
93
+ - `bgYellow`
94
+ - `bgBlue`
95
+ - `bgMagenta`
96
+ - `bgCyan`
97
+ - `bgWhite`
98
+ - `bgBlackBright` (alias: `bgGray`, `bgGrey`)
99
+ - `bgRedBright`
100
+ - `bgGreenBright`
101
+ - `bgYellowBright`
102
+ - `bgBlueBright`
103
+ - `bgMagentaBright`
104
+ - `bgCyanBright`
105
+ - `bgWhiteBright`
106
+
107
+ ## Advanced usage
108
+
109
+ By default, you get a map of styles, but the styles are also available as groups. They are non-enumerable so they don't show up unless you access them explicitly. This makes it easier to expose only a subset in a higher-level module.
110
+
111
+ - `styles.modifier`
112
+ - `styles.color`
113
+ - `styles.bgColor`
114
+
115
+ ###### Example
116
+
117
+ ```js
118
+ import styles from 'ansi-styles';
119
+
120
+ console.log(styles.color.green.open);
121
+ ```
122
+
123
+ Raw escape codes (i.e. without the CSI escape prefix `\u001B[` and render mode postfix `m`) are available under `styles.codes`, which returns a `Map` with the open codes as keys and close codes as values.
124
+
125
+ ###### Example
126
+
127
+ ```js
128
+ import styles from 'ansi-styles';
129
+
130
+ console.log(styles.codes.get(36));
131
+ //=> 39
132
+ ```
133
+
134
+ ## 16 / 256 / 16 million (TrueColor) support
135
+
136
+ `ansi-styles` allows converting between various color formats and ANSI escapes, with support for 16, 256 and [16 million colors](https://gist.github.com/XVilka/8346728).
137
+
138
+ The following color spaces are supported:
139
+
140
+ - `rgb`
141
+ - `hex`
142
+ - `ansi256`
143
+ - `ansi`
144
+
145
+ To use these, call the associated conversion function with the intended output, for example:
146
+
147
+ ```js
148
+ import styles from 'ansi-styles';
149
+
150
+ styles.color.ansi(styles.rgbToAnsi(100, 200, 15)); // RGB to 16 color ansi foreground code
151
+ styles.bgColor.ansi(styles.hexToAnsi('#C0FFEE')); // HEX to 16 color ansi foreground code
152
+
153
+ styles.color.ansi256(styles.rgbToAnsi256(100, 200, 15)); // RGB to 256 color ansi foreground code
154
+ styles.bgColor.ansi256(styles.hexToAnsi256('#C0FFEE')); // HEX to 256 color ansi foreground code
155
+
156
+ styles.color.ansi16m(100, 200, 15); // RGB to 16 million color foreground code
157
+ styles.bgColor.ansi16m(...styles.hexToRgb('#C0FFEE')); // Hex (RGB) to 16 million color foreground code
158
+ ```
159
+
160
+ ## Related
161
+
162
+ - [ansi-escapes](https://github.com/sindresorhus/ansi-escapes) - ANSI escape codes for manipulating the terminal
163
+
164
+ ## Maintainers
165
+
166
+ - [Sindre Sorhus](https://github.com/sindresorhus)
167
+ - [Josh Junon](https://github.com/qix-)
168
+
169
+ ## For enterprise
170
+
171
+ Available as part of the Tidelift Subscription.
172
+
173
+ The maintainers of `ansi-styles` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-ansi-styles?utm_source=npm-ansi-styles&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/LICENSE ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The ISC License
2
+
3
+ Copyright (c) 2019 Elan Shanker, Paul Miller (https://paulmillr.com)
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ anymatch [![Build Status](https://travis-ci.org/micromatch/anymatch.svg?branch=master)](https://travis-ci.org/micromatch/anymatch) [![Coverage Status](https://img.shields.io/coveralls/micromatch/anymatch.svg?branch=master)](https://coveralls.io/r/micromatch/anymatch?branch=master)
2
+ ======
3
+ Javascript module to match a string against a regular expression, glob, string,
4
+ or function that takes the string as an argument and returns a truthy or falsy
5
+ value. The matcher can also be an array of any or all of these. Useful for
6
+ allowing a very flexible user-defined config to define things like file paths.
7
+
8
+ __Note: This module has Bash-parity, please be aware that Windows-style backslashes are not supported as separators. See https://github.com/micromatch/micromatch#backslashes for more information.__
9
+
10
+
11
+ Usage
12
+ -----
13
+ ```sh
14
+ npm install anymatch
15
+ ```
16
+
17
+ #### anymatch(matchers, testString, [returnIndex], [options])
18
+ * __matchers__: (_Array|String|RegExp|Function_)
19
+ String to be directly matched, string with glob patterns, regular expression
20
+ test, function that takes the testString as an argument and returns a truthy
21
+ value if it should be matched, or an array of any number and mix of these types.
22
+ * __testString__: (_String|Array_) The string to test against the matchers. If
23
+ passed as an array, the first element of the array will be used as the
24
+ `testString` for non-function matchers, while the entire array will be applied
25
+ as the arguments for function matchers.
26
+ * __options__: (_Object_ [optional]_) Any of the [picomatch](https://github.com/micromatch/picomatch#options) options.
27
+ * __returnIndex__: (_Boolean [optional]_) If true, return the array index of
28
+ the first matcher that that testString matched, or -1 if no match, instead of a
29
+ boolean result.
30
+
31
+ ```js
32
+ const anymatch = require('anymatch');
33
+
34
+ const matchers = [ 'path/to/file.js', 'path/anyjs/**/*.js', /foo.js$/, string => string.includes('bar') && string.length > 10 ] ;
35
+
36
+ anymatch(matchers, 'path/to/file.js'); // true
37
+ anymatch(matchers, 'path/anyjs/baz.js'); // true
38
+ anymatch(matchers, 'path/to/foo.js'); // true
39
+ anymatch(matchers, 'path/to/bar.js'); // true
40
+ anymatch(matchers, 'bar.js'); // false
41
+
42
+ // returnIndex = true
43
+ anymatch(matchers, 'foo.js', {returnIndex: true}); // 2
44
+ anymatch(matchers, 'path/anyjs/foo.js', {returnIndex: true}); // 1
45
+
46
+ // any picomatc
47
+
48
+ // using globs to match directories and their children
49
+ anymatch('node_modules', 'node_modules'); // true
50
+ anymatch('node_modules', 'node_modules/somelib/index.js'); // false
51
+ anymatch('node_modules/**', 'node_modules/somelib/index.js'); // true
52
+ anymatch('node_modules/**', '/absolute/path/to/node_modules/somelib/index.js'); // false
53
+ anymatch('**/node_modules/**', '/absolute/path/to/node_modules/somelib/index.js'); // true
54
+
55
+ const matcher = anymatch(matchers);
56
+ ['foo.js', 'bar.js'].filter(matcher); // [ 'foo.js' ]
57
+ anymatch master* ❯
58
+
59
+ ```
60
+
61
+ #### anymatch(matchers)
62
+ You can also pass in only your matcher(s) to get a curried function that has
63
+ already been bound to the provided matching criteria. This can be used as an
64
+ `Array#filter` callback.
65
+
66
+ ```js
67
+ var matcher = anymatch(matchers);
68
+
69
+ matcher('path/to/file.js'); // true
70
+ matcher('path/anyjs/baz.js', true); // 1
71
+
72
+ ['foo.js', 'bar.js'].filter(matcher); // ['foo.js']
73
+ ```
74
+
75
+ Changelog
76
+ ----------
77
+ [See release notes page on GitHub](https://github.com/micromatch/anymatch/releases)
78
+
79
+ - **v3.0:** Removed `startIndex` and `endIndex` arguments. Node 8.x-only.
80
+ - **v2.0:** [micromatch](https://github.com/jonschlinkert/micromatch) moves away from minimatch-parity and inline with Bash. This includes handling backslashes differently (see https://github.com/micromatch/micromatch#backslashes for more information).
81
+ - **v1.2:** anymatch uses [micromatch](https://github.com/jonschlinkert/micromatch)
82
+ for glob pattern matching. Issues with glob pattern matching should be
83
+ reported directly to the [micromatch issue tracker](https://github.com/jonschlinkert/micromatch/issues).
84
+
85
+ License
86
+ -------
87
+ [ISC](https://raw.github.com/micromatch/anymatch/master/LICENSE)
novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/index.d.ts ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ type AnymatchFn = (testString: string) => boolean;
2
+ type AnymatchPattern = string|RegExp|AnymatchFn;
3
+ type AnymatchMatcher = AnymatchPattern|AnymatchPattern[]
4
+ type AnymatchTester = {
5
+ (testString: string|any[], returnIndex: true): number;
6
+ (testString: string|any[]): boolean;
7
+ }
8
+
9
+ type PicomatchOptions = {dot: boolean};
10
+
11
+ declare const anymatch: {
12
+ (matchers: AnymatchMatcher): AnymatchTester;
13
+ (matchers: AnymatchMatcher, testString: null, returnIndex: true | PicomatchOptions): AnymatchTester;
14
+ (matchers: AnymatchMatcher, testString: string|any[], returnIndex: true | PicomatchOptions): number;
15
+ (matchers: AnymatchMatcher, testString: string|any[]): boolean;
16
+ }
17
+
18
+ export {AnymatchMatcher as Matcher}
19
+ export {AnymatchTester as Tester}
20
+ export default anymatch
novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/index.js ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+
5
+ const picomatch = require('picomatch');
6
+ const normalizePath = require('normalize-path');
7
+
8
+ /**
9
+ * @typedef {(testString: string) => boolean} AnymatchFn
10
+ * @typedef {string|RegExp|AnymatchFn} AnymatchPattern
11
+ * @typedef {AnymatchPattern|AnymatchPattern[]} AnymatchMatcher
12
+ */
13
+ const BANG = '!';
14
+ const DEFAULT_OPTIONS = {returnIndex: false};
15
+ const arrify = (item) => Array.isArray(item) ? item : [item];
16
+
17
+ /**
18
+ * @param {AnymatchPattern} matcher
19
+ * @param {object} options
20
+ * @returns {AnymatchFn}
21
+ */
22
+ const createPattern = (matcher, options) => {
23
+ if (typeof matcher === 'function') {
24
+ return matcher;
25
+ }
26
+ if (typeof matcher === 'string') {
27
+ const glob = picomatch(matcher, options);
28
+ return (string) => matcher === string || glob(string);
29
+ }
30
+ if (matcher instanceof RegExp) {
31
+ return (string) => matcher.test(string);
32
+ }
33
+ return (string) => false;
34
+ };
35
+
36
+ /**
37
+ * @param {Array<Function>} patterns
38
+ * @param {Array<Function>} negPatterns
39
+ * @param {String|Array} args
40
+ * @param {Boolean} returnIndex
41
+ * @returns {boolean|number}
42
+ */
43
+ const matchPatterns = (patterns, negPatterns, args, returnIndex) => {
44
+ const isList = Array.isArray(args);
45
+ const _path = isList ? args[0] : args;
46
+ if (!isList && typeof _path !== 'string') {
47
+ throw new TypeError('anymatch: second argument must be a string: got ' +
48
+ Object.prototype.toString.call(_path))
49
+ }
50
+ const path = normalizePath(_path, false);
51
+
52
+ for (let index = 0; index < negPatterns.length; index++) {
53
+ const nglob = negPatterns[index];
54
+ if (nglob(path)) {
55
+ return returnIndex ? -1 : false;
56
+ }
57
+ }
58
+
59
+ const applied = isList && [path].concat(args.slice(1));
60
+ for (let index = 0; index < patterns.length; index++) {
61
+ const pattern = patterns[index];
62
+ if (isList ? pattern(...applied) : pattern(path)) {
63
+ return returnIndex ? index : true;
64
+ }
65
+ }
66
+
67
+ return returnIndex ? -1 : false;
68
+ };
69
+
70
+ /**
71
+ * @param {AnymatchMatcher} matchers
72
+ * @param {Array|string} testString
73
+ * @param {object} options
74
+ * @returns {boolean|number|Function}
75
+ */
76
+ const anymatch = (matchers, testString, options = DEFAULT_OPTIONS) => {
77
+ if (matchers == null) {
78
+ throw new TypeError('anymatch: specify first argument');
79
+ }
80
+ const opts = typeof options === 'boolean' ? {returnIndex: options} : options;
81
+ const returnIndex = opts.returnIndex || false;
82
+
83
+ // Early cache for matchers.
84
+ const mtchers = arrify(matchers);
85
+ const negatedGlobs = mtchers
86
+ .filter(item => typeof item === 'string' && item.charAt(0) === BANG)
87
+ .map(item => item.slice(1))
88
+ .map(item => picomatch(item, opts));
89
+ const patterns = mtchers
90
+ .filter(item => typeof item !== 'string' || (typeof item === 'string' && item.charAt(0) !== BANG))
91
+ .map(matcher => createPattern(matcher, opts));
92
+
93
+ if (testString == null) {
94
+ return (testString, ri = false) => {
95
+ const returnIndex = typeof ri === 'boolean' ? ri : false;
96
+ return matchPatterns(patterns, negatedGlobs, testString, returnIndex);
97
+ }
98
+ }
99
+
100
+ return matchPatterns(patterns, negatedGlobs, testString, returnIndex);
101
+ };
102
+
103
+ anymatch.default = anymatch;
104
+ module.exports = anymatch;
novas/novacore-zephyr/groq-code-cli/node_modules/anymatch/package.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "anymatch",
3
+ "version": "3.1.3",
4
+ "description": "Matches strings against configurable strings, globs, regular expressions, and/or functions",
5
+ "files": [
6
+ "index.js",
7
+ "index.d.ts"
8
+ ],
9
+ "dependencies": {
10
+ "normalize-path": "^3.0.0",
11
+ "picomatch": "^2.0.4"
12
+ },
13
+ "author": {
14
+ "name": "Elan Shanker",
15
+ "url": "https://github.com/es128"
16
+ },
17
+ "license": "ISC",
18
+ "homepage": "https://github.com/micromatch/anymatch",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/micromatch/anymatch"
22
+ },
23
+ "keywords": [
24
+ "match",
25
+ "any",
26
+ "string",
27
+ "file",
28
+ "fs",
29
+ "list",
30
+ "glob",
31
+ "regex",
32
+ "regexp",
33
+ "regular",
34
+ "expression",
35
+ "function"
36
+ ],
37
+ "scripts": {
38
+ "test": "nyc mocha",
39
+ "mocha": "mocha"
40
+ },
41
+ "devDependencies": {
42
+ "mocha": "^6.1.3",
43
+ "nyc": "^14.0.0"
44
+ },
45
+ "engines": {
46
+ "node": ">= 8"
47
+ }
48
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/arg/LICENSE.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2017-2019 Zeit, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/arg/README.md ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Arg [![CircleCI](https://circleci.com/gh/zeit/arg.svg?style=svg)](https://circleci.com/gh/zeit/arg)
2
+
3
+ `arg` is yet another command line option parser.
4
+
5
+ ## Installation
6
+
7
+ Use Yarn or NPM to install.
8
+
9
+ ```console
10
+ $ yarn add arg
11
+ ```
12
+
13
+ or
14
+
15
+ ```console
16
+ $ npm install arg
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ `arg()` takes either 1 or 2 arguments:
22
+
23
+ 1. Command line specification object (see below)
24
+ 2. Parse options (_Optional_, defaults to `{permissive: false, argv: process.argv.slice(2), stopAtPositional: false}`)
25
+
26
+ It returns an object with any values present on the command-line (missing options are thus
27
+ missing from the resulting object). Arg performs no validation/requirement checking - we
28
+ leave that up to the application.
29
+
30
+ All parameters that aren't consumed by options (commonly referred to as "extra" parameters)
31
+ are added to `result._`, which is _always_ an array (even if no extra parameters are passed,
32
+ in which case an empty array is returned).
33
+
34
+ ```javascript
35
+ const arg = require('arg');
36
+
37
+ // `options` is an optional parameter
38
+ const args = arg(spec, options = {permissive: false, argv: process.argv.slice(2)});
39
+ ```
40
+
41
+ For example:
42
+
43
+ ```console
44
+ $ node ./hello.js --verbose -vvv --port=1234 -n 'My name' foo bar --tag qux --tag=qix -- --foobar
45
+ ```
46
+
47
+ ```javascript
48
+ // hello.js
49
+ const arg = require('arg');
50
+
51
+ const args = arg({
52
+ // Types
53
+ '--help': Boolean,
54
+ '--version': Boolean,
55
+ '--verbose': arg.COUNT, // Counts the number of times --verbose is passed
56
+ '--port': Number, // --port <number> or --port=<number>
57
+ '--name': String, // --name <string> or --name=<string>
58
+ '--tag': [String], // --tag <string> or --tag=<string>
59
+
60
+ // Aliases
61
+ '-v': '--verbose',
62
+ '-n': '--name', // -n <string>; result is stored in --name
63
+ '--label': '--name' // --label <string> or --label=<string>;
64
+ // result is stored in --name
65
+ });
66
+
67
+ console.log(args);
68
+ /*
69
+ {
70
+ _: ["foo", "bar", "--foobar"],
71
+ '--port': 1234,
72
+ '--verbose': 4,
73
+ '--name': "My name",
74
+ '--tag': ["qux", "qix"]
75
+ }
76
+ */
77
+ ```
78
+
79
+ The values for each key=&gt;value pair is either a type (function or [function]) or a string (indicating an alias).
80
+
81
+ - In the case of a function, the string value of the argument's value is passed to it,
82
+ and the return value is used as the ultimate value.
83
+
84
+ - In the case of an array, the only element _must_ be a type function. Array types indicate
85
+ that the argument may be passed multiple times, and as such the resulting value in the returned
86
+ object is an array with all of the values that were passed using the specified flag.
87
+
88
+ - In the case of a string, an alias is established. If a flag is passed that matches the _key_,
89
+ then the _value_ is substituted in its place.
90
+
91
+ Type functions are passed three arguments:
92
+
93
+ 1. The parameter value (always a string)
94
+ 2. The parameter name (e.g. `--label`)
95
+ 3. The previous value for the destination (useful for reduce-like operations or for supporting `-v` multiple times, etc.)
96
+
97
+ This means the built-in `String`, `Number`, and `Boolean` type constructors "just work" as type functions.
98
+
99
+ Note that `Boolean` and `[Boolean]` have special treatment - an option argument is _not_ consumed or passed, but instead `true` is
100
+ returned. These options are called "flags".
101
+
102
+ For custom handlers that wish to behave as flags, you may pass the function through `arg.flag()`:
103
+
104
+ ```javascript
105
+ const arg = require('arg');
106
+
107
+ const argv = ['--foo', 'bar', '-ff', 'baz', '--foo', '--foo', 'qux', '-fff', 'qix'];
108
+
109
+ function myHandler(value, argName, previousValue) {
110
+ /* `value` is always `true` */
111
+ return 'na ' + (previousValue || 'batman!');
112
+ }
113
+
114
+ const args = arg({
115
+ '--foo': arg.flag(myHandler),
116
+ '-f': '--foo'
117
+ }, {
118
+ argv
119
+ });
120
+
121
+ console.log(args);
122
+ /*
123
+ {
124
+ _: ['bar', 'baz', 'qux', 'qix'],
125
+ '--foo': 'na na na na na na na na batman!'
126
+ }
127
+ */
128
+ ```
129
+
130
+ As well, `arg` supplies a helper argument handler called `arg.COUNT`, which equivalent to a `[Boolean]` argument's `.length`
131
+ property - effectively counting the number of times the boolean flag, denoted by the key, is passed on the command line..
132
+ For example, this is how you could implement `ssh`'s multiple levels of verbosity (`-vvvv` being the most verbose).
133
+
134
+ ```javascript
135
+ const arg = require('arg');
136
+
137
+ const argv = ['-AAAA', '-BBBB'];
138
+
139
+ const args = arg({
140
+ '-A': arg.COUNT,
141
+ '-B': [Boolean]
142
+ }, {
143
+ argv
144
+ });
145
+
146
+ console.log(args);
147
+ /*
148
+ {
149
+ _: [],
150
+ '-A': 4,
151
+ '-B': [true, true, true, true]
152
+ }
153
+ */
154
+ ```
155
+
156
+ ### Options
157
+
158
+ If a second parameter is specified and is an object, it specifies parsing options to modify the behavior of `arg()`.
159
+
160
+ #### `argv`
161
+
162
+ If you have already sliced or generated a number of raw arguments to be parsed (as opposed to letting `arg`
163
+ slice them from `process.argv`) you may specify them in the `argv` option.
164
+
165
+ For example:
166
+
167
+ ```javascript
168
+ const args = arg(
169
+ {
170
+ '--foo': String
171
+ }, {
172
+ argv: ['hello', '--foo', 'world']
173
+ }
174
+ );
175
+ ```
176
+
177
+ results in:
178
+
179
+ ```javascript
180
+ const args = {
181
+ _: ['hello'],
182
+ '--foo': 'world'
183
+ };
184
+ ```
185
+
186
+ #### `permissive`
187
+
188
+ When `permissive` set to `true`, `arg` will push any unknown arguments
189
+ onto the "extra" argument array (`result._`) instead of throwing an error about
190
+ an unknown flag.
191
+
192
+ For example:
193
+
194
+ ```javascript
195
+ const arg = require('arg');
196
+
197
+ const argv = ['--foo', 'hello', '--qux', 'qix', '--bar', '12345', 'hello again'];
198
+
199
+ const args = arg(
200
+ {
201
+ '--foo': String,
202
+ '--bar': Number
203
+ }, {
204
+ argv,
205
+ permissive: true
206
+ }
207
+ );
208
+ ```
209
+
210
+ results in:
211
+
212
+ ```javascript
213
+ const args = {
214
+ _: ['--qux', 'qix', 'hello again'],
215
+ '--foo': 'hello',
216
+ '--bar': 12345
217
+ }
218
+ ```
219
+
220
+ #### `stopAtPositional`
221
+
222
+ When `stopAtPositional` is set to `true`, `arg` will halt parsing at the first
223
+ positional argument.
224
+
225
+ For example:
226
+
227
+ ```javascript
228
+ const arg = require('arg');
229
+
230
+ const argv = ['--foo', 'hello', '--bar'];
231
+
232
+ const args = arg(
233
+ {
234
+ '--foo': Boolean,
235
+ '--bar': Boolean
236
+ }, {
237
+ argv,
238
+ stopAtPositional: true
239
+ }
240
+ );
241
+ ```
242
+
243
+ results in:
244
+
245
+ ```javascript
246
+ const args = {
247
+ _: ['hello', '--bar'],
248
+ '--foo': true
249
+ };
250
+ ```
251
+
252
+ ### Errors
253
+
254
+ Some errors that `arg` throws provide a `.code` property in order to aid in recovering from user error, or to
255
+ differentiate between user error and developer error (bug).
256
+
257
+ ##### ARG_UNKNOWN_OPTION
258
+
259
+ If an unknown option (not defined in the spec object) is passed, an error with code `ARG_UNKNOWN_OPTION` will be thrown:
260
+ ```js
261
+ // cli.js
262
+ try {
263
+ require('arg')({ '--hi': String });
264
+ } catch (err) {
265
+ if (err.code === 'ARG_UNKNOWN_OPTION') {
266
+ console.log(err.message);
267
+ } else {
268
+ throw err;
269
+ }
270
+ }
271
+ ```
272
+
273
+ ```shell
274
+ node cli.js --extraneous true
275
+ Unknown or unexpected option: --extraneous
276
+ ```
277
+
278
+ # License
279
+
280
+ Copyright &copy; 2017-2019 by ZEIT, Inc. Released under the [MIT License](LICENSE.md).
novas/novacore-zephyr/groq-code-cli/node_modules/arg/index.d.ts ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ declare const flagSymbol: unique symbol;
2
+
3
+ declare function arg<T extends arg.Spec>(spec: T, options?: arg.Options): arg.Result<T>;
4
+
5
+ declare namespace arg {
6
+ export function flag<T>(fn: T): T & { [flagSymbol]: true };
7
+
8
+ export const COUNT: Handler<number> & { [flagSymbol]: true };
9
+
10
+ export type Handler <T = any> = (value: string, name: string, previousValue?: T) => T;
11
+
12
+ export interface Spec {
13
+ [key: string]: string | Handler | [Handler];
14
+ }
15
+
16
+ export type Result<T extends Spec> = { _: string[] } & {
17
+ [K in keyof T]?: T[K] extends Handler
18
+ ? ReturnType<T[K]>
19
+ : T[K] extends [Handler]
20
+ ? Array<ReturnType<T[K][0]>>
21
+ : never
22
+ };
23
+
24
+ export interface Options {
25
+ argv?: string[];
26
+ permissive?: boolean;
27
+ stopAtPositional?: boolean;
28
+ }
29
+ }
30
+
31
+ export = arg;
novas/novacore-zephyr/groq-code-cli/node_modules/arg/index.js ADDED
@@ -0,0 +1,144 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const flagSymbol = Symbol('arg flag');
2
+
3
+ function arg(opts, {argv = process.argv.slice(2), permissive = false, stopAtPositional = false} = {}) {
4
+ if (!opts) {
5
+ throw new Error('Argument specification object is required');
6
+ }
7
+
8
+ const result = {_: []};
9
+
10
+ const aliases = {};
11
+ const handlers = {};
12
+
13
+ for (const key of Object.keys(opts)) {
14
+ if (!key) {
15
+ throw new TypeError('Argument key cannot be an empty string');
16
+ }
17
+
18
+ if (key[0] !== '-') {
19
+ throw new TypeError(`Argument key must start with '-' but found: '${key}'`);
20
+ }
21
+
22
+ if (key.length === 1) {
23
+ throw new TypeError(`Argument key must have a name; singular '-' keys are not allowed: ${key}`);
24
+ }
25
+
26
+ if (typeof opts[key] === 'string') {
27
+ aliases[key] = opts[key];
28
+ continue;
29
+ }
30
+
31
+ let type = opts[key];
32
+ let isFlag = false;
33
+
34
+ if (Array.isArray(type) && type.length === 1 && typeof type[0] === 'function') {
35
+ const [fn] = type;
36
+ type = (value, name, prev = []) => {
37
+ prev.push(fn(value, name, prev[prev.length - 1]));
38
+ return prev;
39
+ };
40
+ isFlag = fn === Boolean || fn[flagSymbol] === true;
41
+ } else if (typeof type === 'function') {
42
+ isFlag = type === Boolean || type[flagSymbol] === true;
43
+ } else {
44
+ throw new TypeError(`Type missing or not a function or valid array type: ${key}`);
45
+ }
46
+
47
+ if (key[1] !== '-' && key.length > 2) {
48
+ throw new TypeError(`Short argument keys (with a single hyphen) must have only one character: ${key}`);
49
+ }
50
+
51
+ handlers[key] = [type, isFlag];
52
+ }
53
+
54
+ for (let i = 0, len = argv.length; i < len; i++) {
55
+ const wholeArg = argv[i];
56
+
57
+ if (stopAtPositional && result._.length > 0) {
58
+ result._ = result._.concat(argv.slice(i));
59
+ break;
60
+ }
61
+
62
+ if (wholeArg === '--') {
63
+ result._ = result._.concat(argv.slice(i + 1));
64
+ break;
65
+ }
66
+
67
+ if (wholeArg.length > 1 && wholeArg[0] === '-') {
68
+ /* eslint-disable operator-linebreak */
69
+ const separatedArguments = (wholeArg[1] === '-' || wholeArg.length === 2)
70
+ ? [wholeArg]
71
+ : wholeArg.slice(1).split('').map(a => `-${a}`);
72
+ /* eslint-enable operator-linebreak */
73
+
74
+ for (let j = 0; j < separatedArguments.length; j++) {
75
+ const arg = separatedArguments[j];
76
+ const [originalArgName, argStr] = arg[1] === '-' ? arg.split(/=(.*)/, 2) : [arg, undefined];
77
+
78
+ let argName = originalArgName;
79
+ while (argName in aliases) {
80
+ argName = aliases[argName];
81
+ }
82
+
83
+ if (!(argName in handlers)) {
84
+ if (permissive) {
85
+ result._.push(arg);
86
+ continue;
87
+ } else {
88
+ const err = new Error(`Unknown or unexpected option: ${originalArgName}`);
89
+ err.code = 'ARG_UNKNOWN_OPTION';
90
+ throw err;
91
+ }
92
+ }
93
+
94
+ const [type, isFlag] = handlers[argName];
95
+
96
+ if (!isFlag && ((j + 1) < separatedArguments.length)) {
97
+ throw new TypeError(`Option requires argument (but was followed by another short argument): ${originalArgName}`);
98
+ }
99
+
100
+ if (isFlag) {
101
+ result[argName] = type(true, argName, result[argName]);
102
+ } else if (argStr === undefined) {
103
+ if (
104
+ argv.length < i + 2 ||
105
+ (
106
+ argv[i + 1].length > 1 &&
107
+ (argv[i + 1][0] === '-') &&
108
+ !(
109
+ argv[i + 1].match(/^-?\d*(\.(?=\d))?\d*$/) &&
110
+ (
111
+ type === Number ||
112
+ // eslint-disable-next-line no-undef
113
+ (typeof BigInt !== 'undefined' && type === BigInt)
114
+ )
115
+ )
116
+ )
117
+ ) {
118
+ const extended = originalArgName === argName ? '' : ` (alias for ${argName})`;
119
+ throw new Error(`Option requires argument: ${originalArgName}${extended}`);
120
+ }
121
+
122
+ result[argName] = type(argv[i + 1], argName, result[argName]);
123
+ ++i;
124
+ } else {
125
+ result[argName] = type(argStr, argName, result[argName]);
126
+ }
127
+ }
128
+ } else {
129
+ result._.push(wholeArg);
130
+ }
131
+ }
132
+
133
+ return result;
134
+ }
135
+
136
+ arg.flag = fn => {
137
+ fn[flagSymbol] = true;
138
+ return fn;
139
+ };
140
+
141
+ // Utility types
142
+ arg.COUNT = arg.flag((v, name, existingCount) => (existingCount || 0) + 1);
143
+
144
+ module.exports = arg;
novas/novacore-zephyr/groq-code-cli/node_modules/arg/package.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "arg",
3
+ "version": "4.1.3",
4
+ "description": "Another simple argument parser",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "repository": "zeit/arg",
8
+ "author": "Josh Junon <junon@zeit.co>",
9
+ "license": "MIT",
10
+ "files": [
11
+ "index.js",
12
+ "index.d.ts"
13
+ ],
14
+ "scripts": {
15
+ "pretest": "xo",
16
+ "test": "WARN_EXIT=1 jest --coverage -w 2"
17
+ },
18
+ "xo": {
19
+ "rules": {
20
+ "complexity": 0,
21
+ "max-depth": 0,
22
+ "no-div-regex": 0
23
+ }
24
+ },
25
+ "devDependencies": {
26
+ "chai": "^4.1.1",
27
+ "jest": "^20.0.4",
28
+ "xo": "^0.18.2"
29
+ }
30
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/argparse/CHANGELOG.md ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+
9
+ ## [2.0.1] - 2020-08-29
10
+ ### Fixed
11
+ - Fix issue with `process.argv` when used with interpreters (`coffee`, `ts-node`, etc.), #150.
12
+
13
+
14
+ ## [2.0.0] - 2020-08-14
15
+ ### Changed
16
+ - Full rewrite. Now port from python 3.9.0 & more precise following.
17
+ See [doc](./doc) for difference and migration info.
18
+ - node.js 10+ required
19
+ - Removed most of local docs in favour of original ones.
20
+
21
+
22
+ ## [1.0.10] - 2018-02-15
23
+ ### Fixed
24
+ - Use .concat instead of + for arrays, #122.
25
+
26
+
27
+ ## [1.0.9] - 2016-09-29
28
+ ### Changed
29
+ - Rerelease after 1.0.8 - deps cleanup.
30
+
31
+
32
+ ## [1.0.8] - 2016-09-29
33
+ ### Changed
34
+ - Maintenance (deps bump, fix node 6.5+ tests, coverage report).
35
+
36
+
37
+ ## [1.0.7] - 2016-03-17
38
+ ### Changed
39
+ - Teach `addArgument` to accept string arg names. #97, @tomxtobin.
40
+
41
+
42
+ ## [1.0.6] - 2016-02-06
43
+ ### Changed
44
+ - Maintenance: moved to eslint & updated CS.
45
+
46
+
47
+ ## [1.0.5] - 2016-02-05
48
+ ### Changed
49
+ - Removed lodash dependency to significantly reduce install size.
50
+ Thanks to @mourner.
51
+
52
+
53
+ ## [1.0.4] - 2016-01-17
54
+ ### Changed
55
+ - Maintenance: lodash update to 4.0.0.
56
+
57
+
58
+ ## [1.0.3] - 2015-10-27
59
+ ### Fixed
60
+ - Fix parse `=` in args: `--examplepath="C:\myfolder\env=x64"`. #84, @CatWithApple.
61
+
62
+
63
+ ## [1.0.2] - 2015-03-22
64
+ ### Changed
65
+ - Relaxed lodash version dependency.
66
+
67
+
68
+ ## [1.0.1] - 2015-02-20
69
+ ### Changed
70
+ - Changed dependencies to be compatible with ancient nodejs.
71
+
72
+
73
+ ## [1.0.0] - 2015-02-19
74
+ ### Changed
75
+ - Maintenance release.
76
+ - Replaced `underscore` with `lodash`.
77
+ - Bumped version to 1.0.0 to better reflect semver meaning.
78
+ - HISTORY.md -> CHANGELOG.md
79
+
80
+
81
+ ## [0.1.16] - 2013-12-01
82
+ ### Changed
83
+ - Maintenance release. Updated dependencies and docs.
84
+
85
+
86
+ ## [0.1.15] - 2013-05-13
87
+ ### Fixed
88
+ - Fixed #55, @trebor89
89
+
90
+
91
+ ## [0.1.14] - 2013-05-12
92
+ ### Fixed
93
+ - Fixed #62, @maxtaco
94
+
95
+
96
+ ## [0.1.13] - 2013-04-08
97
+ ### Changed
98
+ - Added `.npmignore` to reduce package size
99
+
100
+
101
+ ## [0.1.12] - 2013-02-10
102
+ ### Fixed
103
+ - Fixed conflictHandler (#46), @hpaulj
104
+
105
+
106
+ ## [0.1.11] - 2013-02-07
107
+ ### Added
108
+ - Added 70+ tests (ported from python), @hpaulj
109
+ - Added conflictHandler, @applepicke
110
+ - Added fromfilePrefixChar, @hpaulj
111
+
112
+ ### Fixed
113
+ - Multiple bugfixes, @hpaulj
114
+
115
+
116
+ ## [0.1.10] - 2012-12-30
117
+ ### Added
118
+ - Added [mutual exclusion](http://docs.python.org/dev/library/argparse.html#mutual-exclusion)
119
+ support, thanks to @hpaulj
120
+
121
+ ### Fixed
122
+ - Fixed options check for `storeConst` & `appendConst` actions, thanks to @hpaulj
123
+
124
+
125
+ ## [0.1.9] - 2012-12-27
126
+ ### Fixed
127
+ - Fixed option dest interferens with other options (issue #23), thanks to @hpaulj
128
+ - Fixed default value behavior with `*` positionals, thanks to @hpaulj
129
+ - Improve `getDefault()` behavior, thanks to @hpaulj
130
+ - Improve negative argument parsing, thanks to @hpaulj
131
+
132
+
133
+ ## [0.1.8] - 2012-12-01
134
+ ### Fixed
135
+ - Fixed parser parents (issue #19), thanks to @hpaulj
136
+ - Fixed negative argument parse (issue #20), thanks to @hpaulj
137
+
138
+
139
+ ## [0.1.7] - 2012-10-14
140
+ ### Fixed
141
+ - Fixed 'choices' argument parse (issue #16)
142
+ - Fixed stderr output (issue #15)
143
+
144
+
145
+ ## [0.1.6] - 2012-09-09
146
+ ### Fixed
147
+ - Fixed check for conflict of options (thanks to @tomxtobin)
148
+
149
+
150
+ ## [0.1.5] - 2012-09-03
151
+ ### Fixed
152
+ - Fix parser #setDefaults method (thanks to @tomxtobin)
153
+
154
+
155
+ ## [0.1.4] - 2012-07-30
156
+ ### Fixed
157
+ - Fixed pseudo-argument support (thanks to @CGamesPlay)
158
+ - Fixed addHelp default (should be true), if not set (thanks to @benblank)
159
+
160
+
161
+ ## [0.1.3] - 2012-06-27
162
+ ### Fixed
163
+ - Fixed formatter api name: Formatter -> HelpFormatter
164
+
165
+
166
+ ## [0.1.2] - 2012-05-29
167
+ ### Fixed
168
+ - Removed excess whitespace in help
169
+ - Fixed error reporting, when parcer with subcommands
170
+ called with empty arguments
171
+
172
+ ### Added
173
+ - Added basic tests
174
+
175
+
176
+ ## [0.1.1] - 2012-05-23
177
+ ### Fixed
178
+ - Fixed line wrapping in help formatter
179
+ - Added better error reporting on invalid arguments
180
+
181
+
182
+ ## [0.1.0] - 2012-05-16
183
+ ### Added
184
+ - First release.
185
+
186
+
187
+ [2.0.1]: https://github.com/nodeca/argparse/compare/2.0.0...2.0.1
188
+ [2.0.0]: https://github.com/nodeca/argparse/compare/1.0.10...2.0.0
189
+ [1.0.10]: https://github.com/nodeca/argparse/compare/1.0.9...1.0.10
190
+ [1.0.9]: https://github.com/nodeca/argparse/compare/1.0.8...1.0.9
191
+ [1.0.8]: https://github.com/nodeca/argparse/compare/1.0.7...1.0.8
192
+ [1.0.7]: https://github.com/nodeca/argparse/compare/1.0.6...1.0.7
193
+ [1.0.6]: https://github.com/nodeca/argparse/compare/1.0.5...1.0.6
194
+ [1.0.5]: https://github.com/nodeca/argparse/compare/1.0.4...1.0.5
195
+ [1.0.4]: https://github.com/nodeca/argparse/compare/1.0.3...1.0.4
196
+ [1.0.3]: https://github.com/nodeca/argparse/compare/1.0.2...1.0.3
197
+ [1.0.2]: https://github.com/nodeca/argparse/compare/1.0.1...1.0.2
198
+ [1.0.1]: https://github.com/nodeca/argparse/compare/1.0.0...1.0.1
199
+ [1.0.0]: https://github.com/nodeca/argparse/compare/0.1.16...1.0.0
200
+ [0.1.16]: https://github.com/nodeca/argparse/compare/0.1.15...0.1.16
201
+ [0.1.15]: https://github.com/nodeca/argparse/compare/0.1.14...0.1.15
202
+ [0.1.14]: https://github.com/nodeca/argparse/compare/0.1.13...0.1.14
203
+ [0.1.13]: https://github.com/nodeca/argparse/compare/0.1.12...0.1.13
204
+ [0.1.12]: https://github.com/nodeca/argparse/compare/0.1.11...0.1.12
205
+ [0.1.11]: https://github.com/nodeca/argparse/compare/0.1.10...0.1.11
206
+ [0.1.10]: https://github.com/nodeca/argparse/compare/0.1.9...0.1.10
207
+ [0.1.9]: https://github.com/nodeca/argparse/compare/0.1.8...0.1.9
208
+ [0.1.8]: https://github.com/nodeca/argparse/compare/0.1.7...0.1.8
209
+ [0.1.7]: https://github.com/nodeca/argparse/compare/0.1.6...0.1.7
210
+ [0.1.6]: https://github.com/nodeca/argparse/compare/0.1.5...0.1.6
211
+ [0.1.5]: https://github.com/nodeca/argparse/compare/0.1.4...0.1.5
212
+ [0.1.4]: https://github.com/nodeca/argparse/compare/0.1.3...0.1.4
213
+ [0.1.3]: https://github.com/nodeca/argparse/compare/0.1.2...0.1.3
214
+ [0.1.2]: https://github.com/nodeca/argparse/compare/0.1.1...0.1.2
215
+ [0.1.1]: https://github.com/nodeca/argparse/compare/0.1.0...0.1.1
216
+ [0.1.0]: https://github.com/nodeca/argparse/releases/tag/0.1.0
novas/novacore-zephyr/groq-code-cli/node_modules/argparse/LICENSE ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ A. HISTORY OF THE SOFTWARE
2
+ ==========================
3
+
4
+ Python was created in the early 1990s by Guido van Rossum at Stichting
5
+ Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
6
+ as a successor of a language called ABC. Guido remains Python's
7
+ principal author, although it includes many contributions from others.
8
+
9
+ In 1995, Guido continued his work on Python at the Corporation for
10
+ National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
11
+ in Reston, Virginia where he released several versions of the
12
+ software.
13
+
14
+ In May 2000, Guido and the Python core development team moved to
15
+ BeOpen.com to form the BeOpen PythonLabs team. In October of the same
16
+ year, the PythonLabs team moved to Digital Creations, which became
17
+ Zope Corporation. In 2001, the Python Software Foundation (PSF, see
18
+ https://www.python.org/psf/) was formed, a non-profit organization
19
+ created specifically to own Python-related Intellectual Property.
20
+ Zope Corporation was a sponsoring member of the PSF.
21
+
22
+ All Python releases are Open Source (see http://www.opensource.org for
23
+ the Open Source Definition). Historically, most, but not all, Python
24
+ releases have also been GPL-compatible; the table below summarizes
25
+ the various releases.
26
+
27
+ Release Derived Year Owner GPL-
28
+ from compatible? (1)
29
+
30
+ 0.9.0 thru 1.2 1991-1995 CWI yes
31
+ 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
32
+ 1.6 1.5.2 2000 CNRI no
33
+ 2.0 1.6 2000 BeOpen.com no
34
+ 1.6.1 1.6 2001 CNRI yes (2)
35
+ 2.1 2.0+1.6.1 2001 PSF no
36
+ 2.0.1 2.0+1.6.1 2001 PSF yes
37
+ 2.1.1 2.1+2.0.1 2001 PSF yes
38
+ 2.1.2 2.1.1 2002 PSF yes
39
+ 2.1.3 2.1.2 2002 PSF yes
40
+ 2.2 and above 2.1.1 2001-now PSF yes
41
+
42
+ Footnotes:
43
+
44
+ (1) GPL-compatible doesn't mean that we're distributing Python under
45
+ the GPL. All Python licenses, unlike the GPL, let you distribute
46
+ a modified version without making your changes open source. The
47
+ GPL-compatible licenses make it possible to combine Python with
48
+ other software that is released under the GPL; the others don't.
49
+
50
+ (2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
51
+ because its license has a choice of law clause. According to
52
+ CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
53
+ is "not incompatible" with the GPL.
54
+
55
+ Thanks to the many outside volunteers who have worked under Guido's
56
+ direction to make these releases possible.
57
+
58
+
59
+ B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
60
+ ===============================================================
61
+
62
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
63
+ --------------------------------------------
64
+
65
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation
66
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and
67
+ otherwise using this software ("Python") in source or binary form and
68
+ its associated documentation.
69
+
70
+ 2. Subject to the terms and conditions of this License Agreement, PSF hereby
71
+ grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
72
+ analyze, test, perform and/or display publicly, prepare derivative works,
73
+ distribute, and otherwise use Python alone or in any derivative version,
74
+ provided, however, that PSF's License Agreement and PSF's notice of copyright,
75
+ i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
76
+ 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Python Software Foundation;
77
+ All Rights Reserved" are retained in Python alone or in any derivative version
78
+ prepared by Licensee.
79
+
80
+ 3. In the event Licensee prepares a derivative work that is based on
81
+ or incorporates Python or any part thereof, and wants to make
82
+ the derivative work available to others as provided herein, then
83
+ Licensee hereby agrees to include in any such work a brief summary of
84
+ the changes made to Python.
85
+
86
+ 4. PSF is making Python available to Licensee on an "AS IS"
87
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
88
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
89
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
90
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
91
+ INFRINGE ANY THIRD PARTY RIGHTS.
92
+
93
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
94
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
95
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
96
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
97
+
98
+ 6. This License Agreement will automatically terminate upon a material
99
+ breach of its terms and conditions.
100
+
101
+ 7. Nothing in this License Agreement shall be deemed to create any
102
+ relationship of agency, partnership, or joint venture between PSF and
103
+ Licensee. This License Agreement does not grant permission to use PSF
104
+ trademarks or trade name in a trademark sense to endorse or promote
105
+ products or services of Licensee, or any third party.
106
+
107
+ 8. By copying, installing or otherwise using Python, Licensee
108
+ agrees to be bound by the terms and conditions of this License
109
+ Agreement.
110
+
111
+
112
+ BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
113
+ -------------------------------------------
114
+
115
+ BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
116
+
117
+ 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
118
+ office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
119
+ Individual or Organization ("Licensee") accessing and otherwise using
120
+ this software in source or binary form and its associated
121
+ documentation ("the Software").
122
+
123
+ 2. Subject to the terms and conditions of this BeOpen Python License
124
+ Agreement, BeOpen hereby grants Licensee a non-exclusive,
125
+ royalty-free, world-wide license to reproduce, analyze, test, perform
126
+ and/or display publicly, prepare derivative works, distribute, and
127
+ otherwise use the Software alone or in any derivative version,
128
+ provided, however, that the BeOpen Python License is retained in the
129
+ Software, alone or in any derivative version prepared by Licensee.
130
+
131
+ 3. BeOpen is making the Software available to Licensee on an "AS IS"
132
+ basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
133
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
134
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
135
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
136
+ INFRINGE ANY THIRD PARTY RIGHTS.
137
+
138
+ 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
139
+ SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
140
+ AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
141
+ DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
142
+
143
+ 5. This License Agreement will automatically terminate upon a material
144
+ breach of its terms and conditions.
145
+
146
+ 6. This License Agreement shall be governed by and interpreted in all
147
+ respects by the law of the State of California, excluding conflict of
148
+ law provisions. Nothing in this License Agreement shall be deemed to
149
+ create any relationship of agency, partnership, or joint venture
150
+ between BeOpen and Licensee. This License Agreement does not grant
151
+ permission to use BeOpen trademarks or trade names in a trademark
152
+ sense to endorse or promote products or services of Licensee, or any
153
+ third party. As an exception, the "BeOpen Python" logos available at
154
+ http://www.pythonlabs.com/logos.html may be used according to the
155
+ permissions granted on that web page.
156
+
157
+ 7. By copying, installing or otherwise using the software, Licensee
158
+ agrees to be bound by the terms and conditions of this License
159
+ Agreement.
160
+
161
+
162
+ CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
163
+ ---------------------------------------
164
+
165
+ 1. This LICENSE AGREEMENT is between the Corporation for National
166
+ Research Initiatives, having an office at 1895 Preston White Drive,
167
+ Reston, VA 20191 ("CNRI"), and the Individual or Organization
168
+ ("Licensee") accessing and otherwise using Python 1.6.1 software in
169
+ source or binary form and its associated documentation.
170
+
171
+ 2. Subject to the terms and conditions of this License Agreement, CNRI
172
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide
173
+ license to reproduce, analyze, test, perform and/or display publicly,
174
+ prepare derivative works, distribute, and otherwise use Python 1.6.1
175
+ alone or in any derivative version, provided, however, that CNRI's
176
+ License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
177
+ 1995-2001 Corporation for National Research Initiatives; All Rights
178
+ Reserved" are retained in Python 1.6.1 alone or in any derivative
179
+ version prepared by Licensee. Alternately, in lieu of CNRI's License
180
+ Agreement, Licensee may substitute the following text (omitting the
181
+ quotes): "Python 1.6.1 is made available subject to the terms and
182
+ conditions in CNRI's License Agreement. This Agreement together with
183
+ Python 1.6.1 may be located on the Internet using the following
184
+ unique, persistent identifier (known as a handle): 1895.22/1013. This
185
+ Agreement may also be obtained from a proxy server on the Internet
186
+ using the following URL: http://hdl.handle.net/1895.22/1013".
187
+
188
+ 3. In the event Licensee prepares a derivative work that is based on
189
+ or incorporates Python 1.6.1 or any part thereof, and wants to make
190
+ the derivative work available to others as provided herein, then
191
+ Licensee hereby agrees to include in any such work a brief summary of
192
+ the changes made to Python 1.6.1.
193
+
194
+ 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
195
+ basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
196
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
197
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
198
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
199
+ INFRINGE ANY THIRD PARTY RIGHTS.
200
+
201
+ 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
202
+ 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
203
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
204
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
205
+
206
+ 6. This License Agreement will automatically terminate upon a material
207
+ breach of its terms and conditions.
208
+
209
+ 7. This License Agreement shall be governed by the federal
210
+ intellectual property law of the United States, including without
211
+ limitation the federal copyright law, and, to the extent such
212
+ U.S. federal law does not apply, by the law of the Commonwealth of
213
+ Virginia, excluding Virginia's conflict of law provisions.
214
+ Notwithstanding the foregoing, with regard to derivative works based
215
+ on Python 1.6.1 that incorporate non-separable material that was
216
+ previously distributed under the GNU General Public License (GPL), the
217
+ law of the Commonwealth of Virginia shall govern this License
218
+ Agreement only as to issues arising under or with respect to
219
+ Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
220
+ License Agreement shall be deemed to create any relationship of
221
+ agency, partnership, or joint venture between CNRI and Licensee. This
222
+ License Agreement does not grant permission to use CNRI trademarks or
223
+ trade name in a trademark sense to endorse or promote products or
224
+ services of Licensee, or any third party.
225
+
226
+ 8. By clicking on the "ACCEPT" button where indicated, or by copying,
227
+ installing or otherwise using Python 1.6.1, Licensee agrees to be
228
+ bound by the terms and conditions of this License Agreement.
229
+
230
+ ACCEPT
231
+
232
+
233
+ CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
234
+ --------------------------------------------------
235
+
236
+ Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
237
+ The Netherlands. All rights reserved.
238
+
239
+ Permission to use, copy, modify, and distribute this software and its
240
+ documentation for any purpose and without fee is hereby granted,
241
+ provided that the above copyright notice appear in all copies and that
242
+ both that copyright notice and this permission notice appear in
243
+ supporting documentation, and that the name of Stichting Mathematisch
244
+ Centrum or CWI not be used in advertising or publicity pertaining to
245
+ distribution of the software without specific, written prior
246
+ permission.
247
+
248
+ STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
249
+ THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
250
+ FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
251
+ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
252
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
253
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
254
+ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/argparse/README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ argparse
2
+ ========
3
+
4
+ [![Build Status](https://secure.travis-ci.org/nodeca/argparse.svg?branch=master)](http://travis-ci.org/nodeca/argparse)
5
+ [![NPM version](https://img.shields.io/npm/v/argparse.svg)](https://www.npmjs.org/package/argparse)
6
+
7
+ CLI arguments parser for node.js, with [sub-commands](https://docs.python.org/3.9/library/argparse.html#sub-commands) support. Port of python's [argparse](http://docs.python.org/dev/library/argparse.html) (version [3.9.0](https://github.com/python/cpython/blob/v3.9.0rc1/Lib/argparse.py)).
8
+
9
+ **Difference with original.**
10
+
11
+ - JS has no keyword arguments support.
12
+ - Pass options instead: `new ArgumentParser({ description: 'example', add_help: true })`.
13
+ - JS has no python's types `int`, `float`, ...
14
+ - Use string-typed names: `.add_argument('-b', { type: 'int', help: 'help' })`.
15
+ - `%r` format specifier uses `require('util').inspect()`.
16
+
17
+ More details in [doc](./doc).
18
+
19
+
20
+ Example
21
+ -------
22
+
23
+ `test.js` file:
24
+
25
+ ```javascript
26
+ #!/usr/bin/env node
27
+ 'use strict';
28
+
29
+ const { ArgumentParser } = require('argparse');
30
+ const { version } = require('./package.json');
31
+
32
+ const parser = new ArgumentParser({
33
+ description: 'Argparse example'
34
+ });
35
+
36
+ parser.add_argument('-v', '--version', { action: 'version', version });
37
+ parser.add_argument('-f', '--foo', { help: 'foo bar' });
38
+ parser.add_argument('-b', '--bar', { help: 'bar foo' });
39
+ parser.add_argument('--baz', { help: 'baz bar' });
40
+
41
+ console.dir(parser.parse_args());
42
+ ```
43
+
44
+ Display help:
45
+
46
+ ```
47
+ $ ./test.js -h
48
+ usage: test.js [-h] [-v] [-f FOO] [-b BAR] [--baz BAZ]
49
+
50
+ Argparse example
51
+
52
+ optional arguments:
53
+ -h, --help show this help message and exit
54
+ -v, --version show program's version number and exit
55
+ -f FOO, --foo FOO foo bar
56
+ -b BAR, --bar BAR bar foo
57
+ --baz BAZ baz bar
58
+ ```
59
+
60
+ Parse arguments:
61
+
62
+ ```
63
+ $ ./test.js -f=3 --bar=4 --baz 5
64
+ { foo: '3', bar: '4', baz: '5' }
65
+ ```
66
+
67
+
68
+ API docs
69
+ --------
70
+
71
+ Since this is a port with minimal divergence, there's no separate documentation.
72
+ Use original one instead, with notes about difference.
73
+
74
+ 1. [Original doc](https://docs.python.org/3.9/library/argparse.html).
75
+ 2. [Original tutorial](https://docs.python.org/3.9/howto/argparse.html).
76
+ 3. [Difference with python](./doc).
77
+
78
+
79
+ argparse for enterprise
80
+ -----------------------
81
+
82
+ Available as part of the Tidelift Subscription
83
+
84
+ The maintainers of argparse and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-argparse?utm_source=npm-argparse&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
novas/novacore-zephyr/groq-code-cli/node_modules/argparse/argparse.js ADDED
The diff for this file is too large to render. See raw diff
 
novas/novacore-zephyr/groq-code-cli/node_modules/argparse/package.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "argparse",
3
+ "description": "CLI arguments parser. Native port of python's argparse.",
4
+ "version": "2.0.1",
5
+ "keywords": [
6
+ "cli",
7
+ "parser",
8
+ "argparse",
9
+ "option",
10
+ "args"
11
+ ],
12
+ "main": "argparse.js",
13
+ "files": [
14
+ "argparse.js",
15
+ "lib/"
16
+ ],
17
+ "license": "Python-2.0",
18
+ "repository": "nodeca/argparse",
19
+ "scripts": {
20
+ "lint": "eslint .",
21
+ "test": "npm run lint && nyc mocha",
22
+ "coverage": "npm run test && nyc report --reporter html"
23
+ },
24
+ "devDependencies": {
25
+ "@babel/eslint-parser": "^7.11.0",
26
+ "@babel/plugin-syntax-class-properties": "^7.10.4",
27
+ "eslint": "^7.5.0",
28
+ "mocha": "^8.0.1",
29
+ "nyc": "^15.1.0"
30
+ }
31
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/.eslintrc ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+
6
+ "globals": {
7
+ "DataView": false,
8
+ },
9
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/.nycrc ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all": true,
3
+ "check-coverage": false,
4
+ "reporter": ["text-summary", "text", "html", "json"],
5
+ "lines": 86,
6
+ "statements": 85.93,
7
+ "functions": 82.43,
8
+ "branches": 76.06,
9
+ "exclude": [
10
+ "coverage",
11
+ "test"
12
+ ]
13
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/CHANGELOG.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [v1.0.2](https://github.com/inspect-js/array-buffer-byte-length/compare/v1.0.1...v1.0.2) - 2024-12-19
9
+
10
+ ### Commits
11
+
12
+ - [types] use shared config [`b15321c`](https://github.com/inspect-js/array-buffer-byte-length/commit/b15321cf546dae5d3bc2b354fb8e2a4629d6afb3)
13
+ - [actions] split out node 10-20, and 20+ [`fa1eb7d`](https://github.com/inspect-js/array-buffer-byte-length/commit/fa1eb7df107d382b47d7b9e7a07e1c4588e81cbd)
14
+ - [Dev Deps] update `@ljharb/eslint-config`, `@ljharb/tsconfig`, `@types/object-inspect`, `@types/tape`, `auto-changelog`, `es-value-fixtures`, `object-inspect`, `tape` [`53e3f93`](https://github.com/inspect-js/array-buffer-byte-length/commit/53e3f93c456b7a8a8217a832b48c416962a176e0)
15
+ - [Tests] replace `aud` with `npm audit` [`2d1b66f`](https://github.com/inspect-js/array-buffer-byte-length/commit/2d1b66ff6417b825f58adf859b540c2303d2dbde)
16
+ - [Refactor] use `call-bound` directly [`433be34`](https://github.com/inspect-js/array-buffer-byte-length/commit/433be3427e20526d74ab1faaaf0117aaf967f406)
17
+ - [Deps] update `call-bind`, `is-array-buffer` [`4ff7467`](https://github.com/inspect-js/array-buffer-byte-length/commit/4ff74673567dcae00e5a8c5d4d0f8c23b29c9a0a)
18
+ - [Dev Deps] update `tape`, `typescript` [`42c9f19`](https://github.com/inspect-js/array-buffer-byte-length/commit/42c9f1998fe8630634388b6db2c0563be05c6897)
19
+ - [Tests] add attw [`29a72f1`](https://github.com/inspect-js/array-buffer-byte-length/commit/29a72f12eb83dcfaef6a6bed0403e56699669f27)
20
+ - [Deps] update `call-bind` [`1e9e902`](https://github.com/inspect-js/array-buffer-byte-length/commit/1e9e90292388a609aa0e722bddbc9313a575ef10)
21
+ - [types] remove incorrect overload [`b509518`](https://github.com/inspect-js/array-buffer-byte-length/commit/b509518bc188f79c46aa851311f20c188faa0678)
22
+ - [Dev Deps] add missing peer dep [`31962b6`](https://github.com/inspect-js/array-buffer-byte-length/commit/31962b631a173696ceef94e9d00edf13af87d305)
23
+
24
+ ## [v1.0.1](https://github.com/inspect-js/array-buffer-byte-length/compare/v1.0.0...v1.0.1) - 2024-02-03
25
+
26
+ ### Commits
27
+
28
+ - [patch] add types [`598d446`](https://github.com/inspect-js/array-buffer-byte-length/commit/598d446f45c8f4246493b2a1fa2b32cd0c669602)
29
+ - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `npmignore`, `object-inspect`, `tape` [`2572345`](https://github.com/inspect-js/array-buffer-byte-length/commit/257234593f576a7cbb1dce1b21d52abeb68db34d)
30
+ - [Tests] add coverage [`d27357d`](https://github.com/inspect-js/array-buffer-byte-length/commit/d27357de558c3272341e252c3acc010d38edeb0f)
31
+ - [Deps] update `call-bind`, `is-array-buffer` [`2ea13ad`](https://github.com/inspect-js/array-buffer-byte-length/commit/2ea13adc85b7d775d1649ac8e9469ac380cb3665)
32
+ - [meta] add missing `engines.node` [`380e96d`](https://github.com/inspect-js/array-buffer-byte-length/commit/380e96d1c91dd579df0261950b46b62d4fed7a23)
33
+ - [Deps] update `is-array-buffer` [`cfa7093`](https://github.com/inspect-js/array-buffer-byte-length/commit/cfa7093daaeeccbaa5228a22e6ec32a307d81549)
34
+ - [meta] add `sideEffects` flag [`7297ddd`](https://github.com/inspect-js/array-buffer-byte-length/commit/7297dddd40a8f310bb69726a7a6edfae6111b8de)
35
+
36
+ ## v1.0.0 - 2023-02-28
37
+
38
+ ### Commits
39
+
40
+ - Initial implementation, tests, readme [`2db6cad`](https://github.com/inspect-js/array-buffer-byte-length/commit/2db6cad79270ab1966f5ea80160abbcd4534c91d)
41
+ - Initial commit [`b2a0c9c`](https://github.com/inspect-js/array-buffer-byte-length/commit/b2a0c9c2246514b7999d331aad868c4f32326db7)
42
+ - npm init [`376acdb`](https://github.com/inspect-js/array-buffer-byte-length/commit/376acdbd4435cb1d4c31d107cacb3b86f2363aee)
43
+ - Only apps should have lockfiles [`70cf325`](https://github.com/inspect-js/array-buffer-byte-length/commit/70cf32526fc727d0d16a12d85a4bddea70075e31)
novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Inspect JS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # array-buffer-byte-length <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+ [![github actions][actions-image]][actions-url]
4
+ [![coverage][codecov-image]][codecov-url]
5
+ [![License][license-image]][license-url]
6
+ [![Downloads][downloads-image]][downloads-url]
7
+
8
+ [![npm badge][npm-badge-png]][package-url]
9
+
10
+ Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.
11
+
12
+ ## Example
13
+
14
+ ```js
15
+ const assert = require('assert');
16
+ const byteLength = require('array-buffer-byte-length');
17
+
18
+ assert.equal(byteLength([]), NaN, 'an array is not an ArrayBuffer, yields NaN');
19
+
20
+ assert.equal(byteLength(new ArrayBuffer(0)), 0, 'ArrayBuffer of byteLength 0, yields 0');
21
+ ```
22
+
23
+ ## Tests
24
+ Simply clone the repo, `npm install`, and run `npm test`
25
+
26
+ [package-url]: https://npmjs.org/package/array-buffer-byte-length
27
+ [npm-version-svg]: https://versionbadg.es/inspect-js/array-buffer-byte-length.svg
28
+ [deps-svg]: https://david-dm.org/inspect-js/array-buffer-byte-length.svg
29
+ [deps-url]: https://david-dm.org/inspect-js/array-buffer-byte-length
30
+ [dev-deps-svg]: https://david-dm.org/inspect-js/array-buffer-byte-length/dev-status.svg
31
+ [dev-deps-url]: https://david-dm.org/inspect-js/array-buffer-byte-length#info=devDependencies
32
+ [npm-badge-png]: https://nodei.co/npm/array-buffer-byte-length.png?downloads=true&stars=true
33
+ [license-image]: https://img.shields.io/npm/l/array-buffer-byte-length.svg
34
+ [license-url]: LICENSE
35
+ [downloads-image]: https://img.shields.io/npm/dm/array-buffer-byte-length.svg
36
+ [downloads-url]: https://npm-stat.com/charts.html?package=array-buffer-byte-length
37
+ [codecov-image]: https://codecov.io/gh/inspect-js/array-buffer-byte-length/branch/main/graphs/badge.svg
38
+ [codecov-url]: https://app.codecov.io/gh/inspect-js/array-buffer-byte-length/
39
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/array-buffer-byte-length
40
+ [actions-url]: https://github.com/inspect-js/array-buffer-byte-length/actions
novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/index.d.ts ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ declare function arrayBufferByteLength(buffer: ArrayBuffer): number;
2
+ declare function arrayBufferByteLength(buffer: unknown): typeof NaN;
3
+
4
+ export = arrayBufferByteLength;
novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/index.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var callBound = require('call-bound');
4
+ var $byteLength = callBound('ArrayBuffer.prototype.byteLength', true);
5
+
6
+ var isArrayBuffer = require('is-array-buffer');
7
+
8
+ /** @type {import('.')} */
9
+ module.exports = function byteLength(ab) {
10
+ if (!isArrayBuffer(ab)) {
11
+ return NaN;
12
+ }
13
+ return $byteLength ? $byteLength(ab) : ab.byteLength;
14
+ }; // in node < 0.11, byteLength is an own nonconfigurable property
novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/package.json ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "array-buffer-byte-length",
3
+ "version": "1.0.2",
4
+ "description": "Get the byte length of an ArrayBuffer, even in engines without a `.byteLength` method.",
5
+ "main": "index.js",
6
+ "exports": {
7
+ ".": "./index.js",
8
+ "./package.json": "./package.json"
9
+ },
10
+ "sideEffects": false,
11
+ "types": "./index.d.ts",
12
+ "scripts": {
13
+ "prepack": "npmignore --auto --commentLines=autogenerated",
14
+ "prepublishOnly": "safe-publish-latest",
15
+ "prepublish": "not-in-publish || npm run prepublishOnly",
16
+ "pretest": "npm run lint",
17
+ "prelint": "evalmd README.md",
18
+ "lint": "eslint --ext=js,mjs .",
19
+ "postlint": "tsc && attw -P",
20
+ "tests-only": "nyc tape 'test/**/*.js'",
21
+ "test": "npm run tests-only",
22
+ "posttest": "npx npm@'>= 10.2' audit --production",
23
+ "version": "auto-changelog && git add CHANGELOG.md",
24
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
25
+ },
26
+ "keywords": [
27
+ "shim",
28
+ "polyfill",
29
+ "ArrayBuffer",
30
+ "byteLength",
31
+ "byte",
32
+ "length",
33
+ "es-shim API",
34
+ "es-shims"
35
+ ],
36
+ "author": "Jordan Harband <ljharb@gmail.com>",
37
+ "funding": {
38
+ "url": "https://github.com/sponsors/ljharb"
39
+ },
40
+ "license": "MIT",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "git+https://github.com/inspect-js/array-buffer-byte-length.git"
44
+ },
45
+ "bugs": {
46
+ "url": "https://github.com/inspect-js/array-buffer-byte-length/issues"
47
+ },
48
+ "homepage": "https://github.com/inspect-js/array-buffer-byte-length#readme",
49
+ "dependencies": {
50
+ "call-bound": "^1.0.3",
51
+ "is-array-buffer": "^3.0.5"
52
+ },
53
+ "devDependencies": {
54
+ "@arethetypeswrong/cli": "^0.17.1",
55
+ "@ljharb/eslint-config": "^21.1.1",
56
+ "@ljharb/tsconfig": "^0.2.2",
57
+ "@types/es-value-fixtures": "^1.4.4",
58
+ "@types/for-each": "^0.3.3",
59
+ "@types/object-inspect": "^1.13.0",
60
+ "@types/tape": "^5.8.0",
61
+ "auto-changelog": "^2.5.0",
62
+ "encoding": "^0.1.13",
63
+ "es-value-fixtures": "^1.5.0",
64
+ "eslint": "=8.8.0",
65
+ "evalmd": "^0.0.19",
66
+ "for-each": "^0.3.3",
67
+ "in-publish": "^2.0.1",
68
+ "npmignore": "^0.3.1",
69
+ "nyc": "^10.3.2",
70
+ "object-inspect": "^1.13.3",
71
+ "safe-publish-latest": "^2.0.0",
72
+ "tape": "^5.9.0",
73
+ "typescript": "next"
74
+ },
75
+ "auto-changelog": {
76
+ "output": "CHANGELOG.md",
77
+ "template": "keepachangelog",
78
+ "unreleased": false,
79
+ "commitLimit": false,
80
+ "backfillLimit": false,
81
+ "hideCredit": true
82
+ },
83
+ "testling": {
84
+ "files": "test/index.js"
85
+ },
86
+ "publishConfig": {
87
+ "ignore": [
88
+ ".github/workflows"
89
+ ]
90
+ },
91
+ "engines": {
92
+ "node": ">= 0.4"
93
+ }
94
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array-buffer-byte-length/tsconfig.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "extends": "@ljharb/tsconfig",
3
+ "compilerOptions": {
4
+ "target": "ES2021",
5
+ },
6
+ "exclude": [
7
+ "coverage",
8
+ ],
9
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array-find-index/index.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+ module.exports = function (arr, predicate, ctx) {
3
+ if (typeof Array.prototype.findIndex === 'function') {
4
+ return arr.findIndex(predicate, ctx);
5
+ }
6
+
7
+ if (typeof predicate !== 'function') {
8
+ throw new TypeError('predicate must be a function');
9
+ }
10
+
11
+ var list = Object(arr);
12
+ var len = list.length;
13
+
14
+ if (len === 0) {
15
+ return -1;
16
+ }
17
+
18
+ for (var i = 0; i < len; i++) {
19
+ if (predicate.call(ctx, list[i], i, list)) {
20
+ return i;
21
+ }
22
+ }
23
+
24
+ return -1;
25
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/array-find-index/license ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/array-find-index/package.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "array-find-index",
3
+ "version": "1.0.2",
4
+ "description": "ES2015 `Array#findIndex()` ponyfill",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/array-find-index",
7
+ "author": {
8
+ "name": "Sindre Sorhus",
9
+ "email": "sindresorhus@gmail.com",
10
+ "url": "sindresorhus.com"
11
+ },
12
+ "engines": {
13
+ "node": ">=0.10.0"
14
+ },
15
+ "scripts": {
16
+ "test": "xo && ava"
17
+ },
18
+ "files": [
19
+ "index.js"
20
+ ],
21
+ "keywords": [
22
+ "es2015",
23
+ "ponyfill",
24
+ "polyfill",
25
+ "shim",
26
+ "find",
27
+ "index",
28
+ "findindex",
29
+ "array"
30
+ ],
31
+ "devDependencies": {
32
+ "ava": "*",
33
+ "xo": "*"
34
+ }
35
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array-find-index/readme.md ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # array-find-index [![Build Status](https://travis-ci.org/sindresorhus/array-find-index.svg?branch=master)](https://travis-ci.org/sindresorhus/array-find-index)
2
+
3
+ > ES2015 [`Array#findIndex()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex) [ponyfill](https://ponyfill.com)
4
+
5
+
6
+ ## Install
7
+
8
+ ```
9
+ $ npm install --save array-find-index
10
+ ```
11
+
12
+
13
+ ## Usage
14
+
15
+ ```js
16
+ const arrayFindIndex = require('array-find-index');
17
+
18
+ arrayFindIndex(['rainbow', 'unicorn', 'pony'], x => x === 'unicorn');
19
+ //=> 1
20
+ ```
21
+
22
+
23
+ ## API
24
+
25
+ Same as `Array#findIndex()`, but with the input array as the first argument.
26
+
27
+
28
+ ## License
29
+
30
+ MIT © [Sindre Sorhus](https://sindresorhus.com)
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/.editorconfig ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = tab;
5
+ insert_final_newline = true;
6
+ quote_type = auto;
7
+ space_after_anonymous_functions = true;
8
+ space_after_control_statements = true;
9
+ spaces_around_operators = true;
10
+ trim_trailing_whitespace = true;
11
+ spaces_in_brackets = false;
12
+ end_of_line = lf;
13
+
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/.eslintrc ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+
6
+ "rules": {
7
+ "id-length": [2, { "min": 1, "max": 26 }],
8
+ "new-cap": [2, {
9
+ "capIsNewExceptions": [
10
+ "GetIntrinsic",
11
+ "ToObject",
12
+ "ToIntegerOrInfinity",
13
+ "ToLength",
14
+ "SameValueZero",
15
+ "RequireObjectCoercible",
16
+ ],
17
+ }],
18
+ },
19
+
20
+ "overrides": [
21
+ {
22
+ "files": "test/**",
23
+ "rules": {
24
+ "max-lines-per-function": 0,
25
+ "no-invalid-this": 1,
26
+ },
27
+ },
28
+ ],
29
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/.nycrc ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all": true,
3
+ "check-coverage": false,
4
+ "reporter": ["text-summary", "text", "html", "json"],
5
+ "exclude": [
6
+ "coverage",
7
+ "test"
8
+ ]
9
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/CHANGELOG.md ADDED
@@ -0,0 +1,187 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [v3.1.9](https://github.com/es-shims/array-includes/compare/v3.1.8...v3.1.9) - 2025-06-01
9
+
10
+ ### Commits
11
+
12
+ - [Deps] update `call-bind`, `es-abstract`, `es-object-atoms`, `get-intrinsic`, `is-string` [`3b934ae`](https://github.com/es-shims/array-includes/commit/3b934ae87a602798775c04dbeb4cb9e9f1805610)
13
+ - [Refactor] use `call-bound` and `math-intrinsics` directly [`160ea60`](https://github.com/es-shims/array-includes/commit/160ea60f7d9b205e516915558b503d078945dea3)
14
+ - [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `auto-changelog`, `hastrict-mode`, `tape` [`4e4c67d`](https://github.com/es-shims/array-includes/commit/4e4c67dd976b7ee56e12b7eabb3ad4ab4881f4e5)
15
+ - [Tests] replace `aud` with `npm audit` [`9c5ec1c`](https://github.com/es-shims/array-includes/commit/9c5ec1c160e0f7adeebb78350675465003b2d888)
16
+ - [Dev Deps] add missing peer dep [`863d207`](https://github.com/es-shims/array-includes/commit/863d207753789757edded151ab3d62ae5033c021)
17
+
18
+ ## [v3.1.8](https://github.com/es-shims/array-includes/compare/v3.1.7...v3.1.8) - 2024-03-20
19
+
20
+ ### Commits
21
+
22
+ - [Deps] update `call-bind`, `define-properties`, `es-abstract`, `get-intrinsic` [`b105f3a`](https://github.com/es-shims/array-includes/commit/b105f3a0ad1801aabf47bafd788482d8866ef0c9)
23
+ - [actions] remove redundant finisher [`fa1111d`](https://github.com/es-shims/array-includes/commit/fa1111d6d41381e4bd484e8f6d5896172874d6e7)
24
+ - [Dev Deps] update `aud`, `npmignore`, `tape` [`499e7e9`](https://github.com/es-shims/array-includes/commit/499e7e9e952faab35740dfbe0b355183100e40b7)
25
+ - [Refactor] use `es-object-atoms` where possible [`e4bd17f`](https://github.com/es-shims/array-includes/commit/e4bd17f980b557fdf2b39eb552bafedd8a8f6bfb)
26
+ - [Tests] use `call-bind` instead of `function-bind` [`3dbe456`](https://github.com/es-shims/array-includes/commit/3dbe456f14c94a5d119b35ac41712c7faea93afd)
27
+
28
+ ## [v3.1.7](https://github.com/es-shims/array-includes/compare/v3.1.6...v3.1.7) - 2023-09-03
29
+
30
+ ### Commits
31
+
32
+ - [Deps] update `define-properties`, `es-abstract`, `get-intrinsic` [`e217b1e`](https://github.com/es-shims/array-includes/commit/e217b1ebfe90a7425654f0fa72c59f59930d4dd8)
33
+ - [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `tape` [`93465c3`](https://github.com/es-shims/array-includes/commit/93465c3da3bd6ea0670a0bd12dc9adc9085e8130)
34
+
35
+ ## [v3.1.6](https://github.com/es-shims/array-includes/compare/v3.1.5...v3.1.6) - 2022-11-07
36
+
37
+ ### Commits
38
+
39
+ - [meta] add `auto-changelog` [`c5fbe72`](https://github.com/es-shims/array-includes/commit/c5fbe728395deff641d756cc9d398a949076c180)
40
+ - [meta] use `npmignore` to autogenerate an npmignore file [`dbd6dc8`](https://github.com/es-shims/array-includes/commit/dbd6dc8f8906cca6b0b493e308686c4fd05bea15)
41
+ - [Deps] update `es-abstract`, `get-intrinsic` [`b819e3b`](https://github.com/es-shims/array-includes/commit/b819e3b3dd1adce0b3359529b0276a416efce351)
42
+ - [actions] update rebase action to use reusable workflow [`6e241d5`](https://github.com/es-shims/array-includes/commit/6e241d5177513cfb0261d0fbe0c8c98daf5c5eab)
43
+ - [Dev Deps] update `aud`, `tape` [`9b2a931`](https://github.com/es-shims/array-includes/commit/9b2a931aee6fc8195a349c6fe7894445a911223f)
44
+ - [readme] note that FF 102+ no longer needs this package [`0a0c758`](https://github.com/es-shims/array-includes/commit/0a0c758ed52808428314ffe53ea8278297170c84)
45
+
46
+ <!-- auto-changelog-above -->
47
+
48
+ 3.1.5 / 2022-05-03
49
+ =================
50
+ * [Fix] install polyfill on FF 99+
51
+ * [Deps] update `define-properties`, `es-abstract`
52
+ * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `functions-have-names`, `safe-publish-latest`, `tape`
53
+ * [actions] reuse common workflows
54
+ * [actions] update codecov uploader
55
+
56
+ 3.1.4 / 2021-10-04
57
+ =================
58
+ * [Robustness] avoid a runtime `Math.max` call
59
+ * [readme] add github actions/codecov badges
60
+ * [readme] fix repo URLs; remove travis badge
61
+ * [Deps] update `es-abstract`, `is-string`
62
+ * [meta] use `prepublishOnly` script for npm 7+
63
+ * [actions] update workflows
64
+ * [actions] use `node/install` instead of `node/run`; use `codecov` action
65
+ * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `@es-shims/api`, `aud`, `tape`
66
+
67
+ 3.1.3 / 2021-02-20
68
+ =================
69
+ * [Deps] update `call-bind`, `es-abstract`, `get-intrinsic`
70
+ * [meta] do not publish github action workflow files
71
+ * [meta] gitignore coverage output
72
+ * [actions] update workflows
73
+ * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `functions-have-names`, `has-strict-mode`, `tape`
74
+ * [Tests] increase coverage
75
+
76
+ 3.1.2 / 2020-11-24
77
+ =================
78
+ * [Robustness] remove dependency on `.apply`
79
+ * [Deps] update `es-abstract`; use `call-bind` and `get-intrinsic` where applicable
80
+ * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `functions-have-names`, `tape`; add `aud`, `safe-publish-latest`
81
+ * [actions] add "Allow Edits" workflow
82
+ * [actions] switch Automatic Rebase workflow to `pull_request_target` event
83
+ * [Tests] migrate tests to Github Actions
84
+ * [Tests] run `nyc` on all tests
85
+ * [Tests] add `implementation` test; run `es-shim-api` in postlint; use `tape` runner
86
+
87
+ 3.1.1 / 2019-12-21
88
+ =================
89
+ * [Fix] IE < 9 does not have index access on strings
90
+ * [Deps] update `es-abstract`
91
+ * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`
92
+ * [meta] remove unused Makefile and associated utilities
93
+ * [Tests] add string tests
94
+
95
+ 3.1.0 / 2019-12-11
96
+ =================
97
+ * [New] add `auto` entry point
98
+ * [Refactor] use split-up `es-abstract` (68% bundle size decrease)
99
+ * [readme] fix repo URLs, remove testling, fix readme parsing
100
+ * [Deps] update `es-abstract`, `define-properties`
101
+ * [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `evalmd`, `covert`, `functions-have-names`, `replace`, `semver`, `tape`, `@es-shims/api`, `function-bind`
102
+ * [meta] add `funding` field, FUNDING.yml
103
+ * [meta] Only apps should have lockfiles
104
+ * [Tests] add more `fromIndex` tests
105
+ * [Tests] use shared travis-ci configs
106
+ * [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops
107
+ * [Tests] remove `jscs`
108
+ * [Tests] use `functions-have-names`
109
+ * [Tests] use `npm audit` instead of `nsp`
110
+ * [Tests] remove `jscs`
111
+ * [actions] add automatic rebasing / merge commit blocking
112
+
113
+ 3.0.3 / 2017-04-18
114
+ =================
115
+ * [Fix] ensure that `shim.js` actually shims when the polyfill differs from native
116
+ * [Tests] up to `node` `v7.9`, `v6.10`, `v4.8`; comment out OS X builds; improve test matrix
117
+ * [Dev Deps] update `nsp`, `eslint`, `@ljharb/eslint-config`, `tape`, `jscs`, `semver`, `function-bind`, `@es-shims/api`
118
+ * [Deps] update `es-abstract`
119
+ * [Docs] update readme: add “getting started” and “usage” (#19)
120
+
121
+ 3.0.2 / 2015-06-06
122
+ =================
123
+ * Use the polyfill, not the implementation, as the default export
124
+ * [Deps] update `es-abstract`
125
+ * [Dev Deps] update `jscs`, `nsp`, `eslint`, `@ljharb/eslint-config`, `semver`
126
+ * [Tests] up to `node` `v5.5`
127
+ * [Tests] keep tests passing in `node` `v0.8`
128
+ * [Tests] Only run `evalmd` as part of the full test suite, since it's more like a linter
129
+ * [Tests] fix npm upgrades for older nodes
130
+
131
+ 3.0.1 / 2015-05-23
132
+ =================
133
+ * [Fix] in "shim", assign the polyfill, not the implementation
134
+
135
+ 3.0.0 / 2015-05-23
136
+ =================
137
+ * [Breaking] Implement the [es-shim API](es-shims/api)
138
+ * [Deps] update `define-properties`, `es-abstract`
139
+ * [Dev Deps] update `eslint`, `semver`, `nsp`, `semver`, `jscs`
140
+ * [Docs] Switch from vb.teelaun.ch to versionbadg.es for the npm version badge SVG
141
+ * [Tests] use my personal shared `eslint` config
142
+ * [Tests] up to `io.js` `v3.0`
143
+
144
+ 2.0.0 / 2015-05-23
145
+ =================
146
+ * Fix to not skip holes, per https://github.com/tc39/Array.prototype.includes/issues/15
147
+
148
+ 1.1.1 / 2015-05-23
149
+ =================
150
+ * Test up to `io.js` `v2.0`
151
+ * Update `es-abstract`, `tape`, `eslint`, `semver`, `jscs`, `semver`
152
+
153
+ 1.1.0 / 2015-03-19
154
+ =================
155
+ * Update `es-abstract`, `editorconfig-tools`, `nsp`, `eslint`, `semver`
156
+
157
+ 1.0.6 / 2015-02-17
158
+ =================
159
+ * All grade A-supported `node`/`iojs` versions now ship with an `npm` that understands `^`.
160
+ * Run `travis-ci` tests on `iojs` and `node` v0.12; allow 0.8 failures.
161
+ * Update `tape`, `jscs`, `es-abstract`, remove `is`.
162
+
163
+ 1.0.5 / 2015-01-30
164
+ =================
165
+ * Update `tape`, `jscs`, `nsp`, `eslint`, `es-abstract`
166
+
167
+ 1.0.4 / 2015-01-10
168
+ =================
169
+ * Use `es-abstract` for ECMAScript spec internal abstract operations
170
+
171
+ 1.0.3 / 2015-01-06
172
+ =================
173
+ * Speed optimization: use Array#indexOf when available
174
+ * Fix ES3, IE 6-8, Opera 10.6, Opera 11.1 support
175
+ * Run testling on both sets of tests
176
+
177
+ 1.0.2 / 2015-01-05
178
+ =================
179
+ * Ensure tests are includes in the module on `npm`
180
+
181
+ 1.0.1 / 2015-01-04
182
+ =================
183
+ * Remove mistaken auto-shim.
184
+
185
+ 1.0.0 / 2015-01-04
186
+ =================
187
+ * v1.0.0
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The MIT License (MIT)
2
+
3
+ Copyright (C) 2015 Jordan Harband
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/README.md ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # array-includes <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+ [![github actions][actions-image]][actions-url]
4
+ [![coverage][codecov-image]][codecov-url]
5
+ [![dependency status][deps-svg]][deps-url]
6
+ [![dev dependency status][dev-deps-svg]][dev-deps-url]
7
+ [![License][license-image]][license-url]
8
+ [![Downloads][downloads-image]][downloads-url]
9
+
10
+ [![npm badge][npm-badge-png]][package-url]
11
+
12
+ An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.
13
+
14
+ This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the proposed [spec](https://262.ecma-international.org/6.0/).
15
+
16
+ Because `Array.prototype.includes` depends on a receiver (the `this` value), the main export takes the array to operate on as the first argument.
17
+
18
+ Engines that need this package include:
19
+ - IE (all versions)
20
+ - Safari < 9
21
+ - Firefox < 43, and 99-101
22
+ - Chrome < 47
23
+ - Edge < 14
24
+ - node < 6
25
+
26
+ ## Getting started
27
+
28
+ ```sh
29
+ npm install --save array-includes
30
+ ```
31
+
32
+ ## Usage
33
+
34
+ Basic usage: **includes(array, value[, fromIndex=0])**
35
+
36
+ ```js
37
+ var includes = require('array-includes');
38
+ var assert = require('assert');
39
+ var arr = [ 'one', 'two' ];
40
+
41
+ includes(arr, 'one'); // true
42
+ includes(arr, 'three'); // false
43
+ includes(arr, 'one', 1); // false
44
+ ```
45
+
46
+
47
+
48
+ ## Example
49
+
50
+ ```js
51
+ var arr = [
52
+ 1,
53
+ 'foo',
54
+ NaN,
55
+ -0
56
+ ];
57
+
58
+ assert.equal(arr.indexOf(0) > -1, true);
59
+ assert.equal(arr.indexOf(-0) > -1, true);
60
+ assert.equal(includes(arr, 0), true);
61
+ assert.equal(includes(arr, -0), true);
62
+
63
+ assert.equal(arr.indexOf(NaN) > -1, false);
64
+ assert.equal(includes(arr, NaN), true);
65
+
66
+ assert.equal(includes(arr, 'foo', 0), true);
67
+ assert.equal(includes(arr, 'foo', 1), true);
68
+ assert.equal(includes(arr, 'foo', 2), false);
69
+ ```
70
+
71
+ ```js
72
+ /* when Array#includes is not present */
73
+ delete Array.prototype.includes;
74
+ var shimmedIncludes = includes.shim();
75
+
76
+ assert.equal(shimmedIncludes, includes.getPolyfill());
77
+ assert.equal(arr.includes('foo', 1), includes(arr, 'foo', 1));
78
+ ```
79
+
80
+ ```js
81
+ /* when Array#includes is present */
82
+ var shimmedIncludes = includes.shim();
83
+
84
+ assert.equal(shimmedIncludes, Array.prototype.includes);
85
+ assert.equal(arr.includes(1, 'foo'), includes(arr, 1, 'foo'));
86
+ ```
87
+
88
+ ## Tests
89
+ Simply clone the repo, `npm install`, and run `npm test`
90
+
91
+ [package-url]: https://npmjs.org/package/array-includes
92
+ [npm-version-svg]: https://versionbadg.es/es-shims/array-includes.svg
93
+ [deps-svg]: https://david-dm.org/es-shims/array-includes.svg
94
+ [deps-url]: https://david-dm.org/es-shims/array-includes
95
+ [dev-deps-svg]: https://david-dm.org/es-shims/array-includes/dev-status.svg
96
+ [dev-deps-url]: https://david-dm.org/es-shims/array-includes#info=devDependencies
97
+ [npm-badge-png]: https://nodei.co/npm/array-includes.png?downloads=true&stars=true
98
+ [license-image]: https://img.shields.io/npm/l/array-includes.svg
99
+ [license-url]: LICENSE
100
+ [downloads-image]: https://img.shields.io/npm/dm/array-includes.svg
101
+ [downloads-url]: https://npm-stat.com/charts.html?package=array-includes
102
+ [codecov-image]: https://codecov.io/gh/es-shims/array-includes/branch/main/graphs/badge.svg
103
+ [codecov-url]: https://app.codecov.io/gh/es-shims/array-includes/
104
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/array-includes
105
+ [actions-url]: https://github.com/es-shims/array-includes/actions
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/auto.js ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ 'use strict';
2
+
3
+ require('./shim')();
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/implementation.js ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var ToIntegerOrInfinity = require('es-abstract/2025/ToIntegerOrInfinity');
4
+ var ToLength = require('es-abstract/2025/ToLength');
5
+ var ToObject = require('es-object-atoms/ToObject');
6
+ var SameValueZero = require('es-abstract/2025/SameValueZero');
7
+ var $isNaN = require('math-intrinsics/isNaN');
8
+ var $isFinite = require('math-intrinsics/isFinite');
9
+ var GetIntrinsic = require('get-intrinsic');
10
+ var callBound = require('call-bound');
11
+ var isString = require('is-string');
12
+
13
+ var $charAt = callBound('String.prototype.charAt');
14
+ var $indexOf = GetIntrinsic('%Array.prototype.indexOf%'); // TODO: use callBind.apply without breaking IE 8
15
+ var $max = GetIntrinsic('%Math.max%');
16
+
17
+ module.exports = function includes(searchElement) {
18
+ var fromIndex = arguments.length > 1 ? ToIntegerOrInfinity(arguments[1]) : 0;
19
+ if ($indexOf && !$isNaN(searchElement) && $isFinite(fromIndex) && typeof searchElement !== 'undefined') {
20
+ return $indexOf.apply(this, arguments) > -1;
21
+ }
22
+
23
+ var O = ToObject(this);
24
+ var length = ToLength(O.length);
25
+ if (length === 0) {
26
+ return false;
27
+ }
28
+ var k = fromIndex >= 0 ? fromIndex : $max(0, length + fromIndex);
29
+ while (k < length) {
30
+ if (SameValueZero(searchElement, isString(O) ? $charAt(O, k) : O[k])) {
31
+ return true;
32
+ }
33
+ k += 1;
34
+ }
35
+ return false;
36
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/index.js ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var define = require('define-properties');
4
+ var RequireObjectCoercible = require('es-object-atoms/RequireObjectCoercible');
5
+ var callBind = require('call-bind');
6
+ var callBound = require('call-bound');
7
+
8
+ var implementation = require('./implementation');
9
+ var getPolyfill = require('./polyfill');
10
+ var polyfill = callBind.apply(getPolyfill());
11
+ var shim = require('./shim');
12
+
13
+ var $slice = callBound('Array.prototype.slice');
14
+
15
+ /* eslint-disable no-unused-vars */
16
+ var boundShim = function includes(array, searchElement) {
17
+ /* eslint-enable no-unused-vars */
18
+ RequireObjectCoercible(array);
19
+ return polyfill(array, $slice(arguments, 1));
20
+ };
21
+ define(boundShim, {
22
+ getPolyfill: getPolyfill,
23
+ implementation: implementation,
24
+ shim: shim
25
+ });
26
+
27
+ module.exports = boundShim;
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/package.json ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "array-includes",
3
+ "version": "3.1.9",
4
+ "author": {
5
+ "name": "Jordan Harband",
6
+ "email": "ljharb@gmail.com",
7
+ "url": "http://ljharb.codes"
8
+ },
9
+ "funding": {
10
+ "url": "https://github.com/sponsors/ljharb"
11
+ },
12
+ "contributors": [
13
+ {
14
+ "name": "Jordan Harband",
15
+ "email": "ljharb@gmail.com",
16
+ "url": "http://ljharb.codes"
17
+ }
18
+ ],
19
+ "description": "An ES7/ES2016 spec-compliant `Array.prototype.includes` shim/polyfill/replacement that works as far down as ES3.",
20
+ "license": "MIT",
21
+ "main": "index.js",
22
+ "scripts": {
23
+ "prepack": "npmignore --auto --commentLines=autogenerated",
24
+ "prepublish": "not-in-publish || npm run prepublishOnly",
25
+ "prepublishOnly": "safe-publish-latest",
26
+ "pretest": "npm run --silent lint",
27
+ "test": "npm run --silent tests-only",
28
+ "posttest": "npx npm@\">= 10.2\" audit --production",
29
+ "tests-only": "nyc tape 'test/**/*.js'",
30
+ "prelint": "evalmd README.md",
31
+ "lint": "eslint --ext=js,mjs .",
32
+ "postlint": "es-shim-api --bound",
33
+ "version": "auto-changelog && git add CHANGELOG.md",
34
+ "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
35
+ },
36
+ "repository": {
37
+ "type": "git",
38
+ "url": "git://github.com/es-shims/array-includes.git"
39
+ },
40
+ "keywords": [
41
+ "Array.prototype.includes",
42
+ "includes",
43
+ "array",
44
+ "ES7",
45
+ "shim",
46
+ "polyfill",
47
+ "contains",
48
+ "Array.prototype.contains",
49
+ "es-shim API"
50
+ ],
51
+ "dependencies": {
52
+ "call-bind": "^1.0.8",
53
+ "call-bound": "^1.0.4",
54
+ "define-properties": "^1.2.1",
55
+ "es-abstract": "^1.24.0",
56
+ "es-object-atoms": "^1.1.1",
57
+ "get-intrinsic": "^1.3.0",
58
+ "is-string": "^1.1.1",
59
+ "math-intrinsics": "^1.1.0"
60
+ },
61
+ "devDependencies": {
62
+ "@es-shims/api": "^2.5.1",
63
+ "@ljharb/eslint-config": "^21.1.1",
64
+ "auto-changelog": "^2.5.0",
65
+ "encoding": "^0.1.13",
66
+ "eslint": "=8.8.0",
67
+ "evalmd": "^0.0.19",
68
+ "functions-have-names": "^1.2.3",
69
+ "has-strict-mode": "^1.1.0",
70
+ "in-publish": "^2.0.1",
71
+ "npmignore": "^0.3.1",
72
+ "nyc": "^10.3.2",
73
+ "safe-publish-latest": "^2.0.0",
74
+ "tape": "^5.9.0"
75
+ },
76
+ "testling": {
77
+ "files": [
78
+ "test/index.js",
79
+ "test/implementation.js",
80
+ "test/shimmed.js"
81
+ ],
82
+ "browsers": [
83
+ "iexplore/6.0..latest",
84
+ "firefox/3.0..6.0",
85
+ "firefox/15.0..latest",
86
+ "firefox/nightly",
87
+ "chrome/4.0..10.0",
88
+ "chrome/20.0..latest",
89
+ "chrome/canary",
90
+ "opera/10.0..latest",
91
+ "opera/next",
92
+ "safari/4.0..latest",
93
+ "ipad/6.0..latest",
94
+ "iphone/6.0..latest",
95
+ "android-browser/4.2"
96
+ ]
97
+ },
98
+ "engines": {
99
+ "node": ">= 0.4"
100
+ },
101
+ "auto-changelog": {
102
+ "output": "CHANGELOG.md",
103
+ "template": "keepachangelog",
104
+ "unreleased": false,
105
+ "commitLimit": false,
106
+ "backfillLimit": false,
107
+ "hideCredit": true,
108
+ "startingVersion": "3.1.6"
109
+ },
110
+ "publishConfig": {
111
+ "ignore": [
112
+ ".github/workflows"
113
+ ]
114
+ }
115
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/polyfill.js ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var implementation = require('./implementation');
4
+
5
+ module.exports = function getPolyfill() {
6
+ if (
7
+ Array.prototype.includes
8
+ && Array(1).includes(undefined) // https://bugzilla.mozilla.org/show_bug.cgi?id=1767541
9
+ ) {
10
+ return Array.prototype.includes;
11
+ }
12
+ return implementation;
13
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/array-includes/shim.js ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 'use strict';
2
+
3
+ var define = require('define-properties');
4
+ var getPolyfill = require('./polyfill');
5
+
6
+ module.exports = function shimArrayPrototypeIncludes() {
7
+ var polyfill = getPolyfill();
8
+ define(
9
+ Array.prototype,
10
+ { includes: polyfill },
11
+ { includes: function () { return Array.prototype.includes !== polyfill; } }
12
+ );
13
+ return polyfill;
14
+ };
novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/.editorconfig ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = tab
5
+ indent_size = 4
6
+ end_of_line = lf
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+ max_line_length = 150
11
+
12
+ [CHANGELOG.md]
13
+ indent_style = space
14
+ indent_size = 2
15
+
16
+ [*.json]
17
+ max_line_length = off
18
+
19
+ [Makefile]
20
+ max_line_length = off
novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/.eslintrc ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+
6
+ "rules": {
7
+ "array-bracket-newline": 0,
8
+ "id-length": 0,
9
+ "max-statements-per-line": [2, { "max": 2 }],
10
+ "new-cap": [2, {
11
+ "capIsNewExceptions": [
12
+ "GetIntrinsic",
13
+ "Call",
14
+ "Get",
15
+ "IsCallable",
16
+ "LengthOfArrayLike",
17
+ "RequireObjectCoercible",
18
+ "ToBoolean",
19
+ "ToObject",
20
+ "ToString",
21
+ ],
22
+ }],
23
+ "no-magic-numbers": 0,
24
+ },
25
+
26
+ "overrides": [
27
+ {
28
+ "files": "test/**",
29
+ "rules": {
30
+ "func-name-matching": 0,
31
+ "max-lines-per-function": 0,
32
+ "no-invalid-this": 1,
33
+ "strict": 1,
34
+ },
35
+ },
36
+ ],
37
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/.nycrc ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "all": true,
3
+ "check-coverage": false,
4
+ "reporter": ["text-summary", "text", "html", "json"],
5
+ "exclude": [
6
+ "coverage",
7
+ "test"
8
+ ]
9
+ }
novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/CHANGELOG.md ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [v1.2.5](https://github.com/es-shims/Array.prototype.findLast/compare/v1.2.4...v1.2.5) - 2024-03-19
9
+
10
+ ### Commits
11
+
12
+ - [meta] remove useless ESM [`30b3843`](https://github.com/es-shims/Array.prototype.findLast/commit/30b38436f06003ab2ea0a9571e3bc5bbf6d6e9fb)
13
+ - [Deps] update `call-bind`, `es-abstract` [`f339e4d`](https://github.com/es-shims/Array.prototype.findLast/commit/f339e4d0748f32a640e58ce3282d98d1baf73269)
14
+ - [actions] remove redundant finisher [`3b66016`](https://github.com/es-shims/Array.prototype.findLast/commit/3b66016b8f9e19084cdcafa1a125eb6b2d26f527)
15
+ - [Refactor] use `es-object-atoms` where possible [`c7146f1`](https://github.com/es-shims/Array.prototype.findLast/commit/c7146f172d379e423abb95928ca29659d710dceb)
16
+ - [Dev Deps] update `hasown`, `tape` [`16149a0`](https://github.com/es-shims/Array.prototype.findLast/commit/16149a0cdf6e8a78e386e435d8a6b1f83a792142)
17
+
18
+ ## [v1.2.4](https://github.com/es-shims/Array.prototype.findLast/compare/v1.2.3...v1.2.4) - 2024-02-05
19
+
20
+ ### Commits
21
+
22
+ - [Deps] update `call-bind`, `define-properties`, `es-abstract`, `es-shim-unscopables`, `get-intrinsic` [`6960289`](https://github.com/es-shims/Array.prototype.findLast/commit/6960289aad2898b3c1c3b874937fe171ccd195cb)
23
+ - [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`96e976a`](https://github.com/es-shims/Array.prototype.findLast/commit/96e976af6cbe6240472bf6ac509526e66bb48fbc)
24
+ - [Dev Deps] update `aud`, `npmignore`, `tape` [`e41c671`](https://github.com/es-shims/Array.prototype.findLast/commit/e41c6718bb4e1f498bc0c7d850fe6f595e6314d1)
25
+ - [Dev Deps] use `hasown` instead of `has` [`3e81897`](https://github.com/es-shims/Array.prototype.findLast/commit/3e818971d0432e11e639d4e0f13fba7ca7f1392d)
26
+ - [Dev Deps] update `object-inspect`, `tape` [`09387d9`](https://github.com/es-shims/Array.prototype.findLast/commit/09387d910af91741959ee9106f20b8379b80fdcb)
27
+
28
+ ## [v1.2.3](https://github.com/es-shims/Array.prototype.findLast/compare/v1.2.2...v1.2.3) - 2023-08-29
29
+
30
+ ### Commits
31
+
32
+ - [Deps] update `define-properties`, `es-abstract`, `get-intrinsic` [`ed6e699`](https://github.com/es-shims/Array.prototype.findLast/commit/ed6e69963e3b7252ce6fc82a92f0843bf92e2cb8)
33
+ - [Tests] add passing test262 test [`ba57e7f`](https://github.com/es-shims/Array.prototype.findLast/commit/ba57e7fb3d85c5d022f84538ac610cbbad3a1f06)
34
+ - [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `object-inspect`, `tape` [`fdf9269`](https://github.com/es-shims/Array.prototype.findLast/commit/fdf9269de92629dbbb101e91971efbab45634020)
35
+ - [Tests] use `globalthis` [`d56fd28`](https://github.com/es-shims/Array.prototype.findLast/commit/d56fd280792c2fa78d6b4efd9c419df5bf49e6d8)
36
+
37
+ ## [v1.2.2](https://github.com/es-shims/Array.prototype.findLast/compare/v1.2.1...v1.2.2) - 2022-11-02
38
+
39
+ ### Commits
40
+
41
+ - [meta] use `npmignore` to autogenerate an npmignore file [`c8bd8e9`](https://github.com/es-shims/Array.prototype.findLast/commit/c8bd8e9410e3b0468754bcc722d10eade90d6b8d)
42
+ - [Deps] update `es-abstract`, `get-intrinsic` [`7dd1e37`](https://github.com/es-shims/Array.prototype.findLast/commit/7dd1e3706aa4d1dc8007dc430ad721b787cceece)
43
+ - [actions] update rebase action to use reusable workflow [`116bfa3`](https://github.com/es-shims/Array.prototype.findLast/commit/116bfa3374f7adbe4363ee186ae397d6175a1386)
44
+ - [Deps] update `define-properties`, `es-abstract`, `get-intrinsic` [`8a6fcb5`](https://github.com/es-shims/Array.prototype.findLast/commit/8a6fcb543f3854f4124b26a60d651f26cb836658)
45
+ - [Dev Deps] update `es-value-fixtures`, `object-inspect`, `tape` [`899e29a`](https://github.com/es-shims/Array.prototype.findLast/commit/899e29acdeb046b92e6a19739cc97f0605bd074d)
46
+ - [Dev Deps] update `aud`, `tape` [`2019883`](https://github.com/es-shims/Array.prototype.findLast/commit/2019883d4a054b95856b6d421e106b9a0fe0f20b)
47
+ - [Tests] add indication of whether it was shimmed [`c940767`](https://github.com/es-shims/Array.prototype.findLast/commit/c9407677645d551481e8b98f96297fec7518165a)
48
+
49
+ ## [v1.2.1](https://github.com/es-shims/Array.prototype.findLast/compare/v1.2.0...v1.2.1) - 2022-04-11
50
+
51
+ ### Commits
52
+
53
+ - [Refactor] use `es-shim-unscopables` [`e85dfc7`](https://github.com/es-shims/Array.prototype.findLast/commit/e85dfc7f324f61e1dc2c99129f4bcc7837ce3ac4)
54
+
55
+ ## [v1.2.0](https://github.com/es-shims/Array.prototype.findLast/compare/v1.1.1...v1.2.0) - 2022-04-11
56
+
57
+ ### Commits
58
+
59
+ - [actions] reuse common workflows [`47e3be7`](https://github.com/es-shims/Array.prototype.findLast/commit/47e3be7cda282144ddc18204534ec5983055a48e)
60
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `safe-publish-latest`, `tape` [`da9ec92`](https://github.com/es-shims/Array.prototype.findLast/commit/da9ec926ee4393d8cf2e2b74202a059a92ef59ac)
61
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `object-inspect`, `tape` [`2658604`](https://github.com/es-shims/Array.prototype.findLast/commit/26586043f36390c4967972c2caf318c0bbf583fb)
62
+ - [actions] update codecov uploader [`9e4ac5e`](https://github.com/es-shims/Array.prototype.findLast/commit/9e4ac5e104a2f258cb818a19d3e6eb4023d1edd3)
63
+ - [New] `shim`/`auto`: add `findLast` to `Symbol.unscopables` [`a3703b0`](https://github.com/es-shims/Array.prototype.findLast/commit/a3703b0dbeefb1dcd4c4fcec9f89c67bc7513821)
64
+ - [meta] use `prepublishOnly` script for npm 7+ [`499fd61`](https://github.com/es-shims/Array.prototype.findLast/commit/499fd61f61d094d997b53c34628e477089b6ff96)
65
+ - [Deps] update `es-abstract` [`9833a38`](https://github.com/es-shims/Array.prototype.findLast/commit/9833a38b6f6d949636fca1e945b2eee1812e142b)
66
+ - [Deps] update `es-abstract` [`3055ac5`](https://github.com/es-shims/Array.prototype.findLast/commit/3055ac5ad56eb224f72c4cc18a06d0af06c6d2a1)
67
+ - [Dev Deps] update `@es-shims/api` [`4639a6b`](https://github.com/es-shims/Array.prototype.findLast/commit/4639a6b10b3ecb84e1bc3e645cad1c60de8d99da)
68
+
69
+ ## [v1.1.1](https://github.com/es-shims/Array.prototype.findLast/compare/v1.1.0...v1.1.1) - 2021-10-01
70
+
71
+ ### Commits
72
+
73
+ - [Refactor] remove ESM entry points [`10118cc`](https://github.com/es-shims/Array.prototype.findLast/commit/10118cc9b896f4c7fa01bfbab17018400b2a7ddb)
74
+ - [Tests] add new tests from test262 [`11a6b0a`](https://github.com/es-shims/Array.prototype.findLast/commit/11a6b0a9d34bc6bbd8271b37594ec9ba5fd4ca87)
75
+ - [Deps] update `es-abstract` [`ad74212`](https://github.com/es-shims/Array.prototype.findLast/commit/ad7421298490b3355b1d3f0a8fa51b8704e5a0ba)
76
+ - [readme] fix URLs [`ea7f11e`](https://github.com/es-shims/Array.prototype.findLast/commit/ea7f11e9ee4961c68104ba43958f5a45a0cffa65)
77
+ - [Dev Deps] update `@ljharb/eslint-config`, `@es-shims/api` [`b834c11`](https://github.com/es-shims/Array.prototype.findLast/commit/b834c114ae5bea9c1002a31574545b01c479c2fd)
78
+
79
+ ## [v1.1.0](https://github.com/es-shims/Array.prototype.findLast/compare/v1.0.0...v1.1.0) - 2021-08-07
80
+
81
+ ### Commits
82
+
83
+ - [New] add ESM entry points [`4830a17`](https://github.com/es-shims/Array.prototype.findLast/commit/4830a173290c5b6fbfda494936ebfc13fb188e9b)
84
+ - [Fix] ES3 engines: ensure nullish receiver throws [`3483d48`](https://github.com/es-shims/Array.prototype.findLast/commit/3483d489b0a2c17509d34aa386de8b83d4c6c0a1)
85
+ - [Fix] add missing entry points to `exports` [`db8fe56`](https://github.com/es-shims/Array.prototype.findLast/commit/db8fe56e3196ea8e74b6c4bda67efef03f6c6594)
86
+ - [Dev Deps] update `eslint`, `tape` [`a59f069`](https://github.com/es-shims/Array.prototype.findLast/commit/a59f069678049d3d8589c2ea22cf65160998fde3)
87
+ - [Deps] update `es-abstract` [`4faa274`](https://github.com/es-shims/Array.prototype.findLast/commit/4faa27421b982962f4b68e199308bfc25300ccc4)
88
+
89
+ ## v1.0.0 - 2021-07-13
90
+
91
+ ### Commits
92
+
93
+ - Implementation & Tests [`70cf3b1`](https://github.com/es-shims/Array.prototype.findLast/commit/70cf3b1254a43d7fc32bc7726f6c372656f84182)
94
+ - Initial commit [`d94083f`](https://github.com/es-shims/Array.prototype.findLast/commit/d94083fc3de59677540a3021c6f3082a22a804e6)
95
+ - npm init [`e016a98`](https://github.com/es-shims/Array.prototype.findLast/commit/e016a98c2ee504e43a7d6018fae31cbe972c1db9)
96
+ - Only apps should have lockfiles [`cb11c67`](https://github.com/es-shims/Array.prototype.findLast/commit/cb11c670b831ede1df53cf312dc6b0bcd96236cc)
novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/LICENSE ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2021 ECMAScript Shims
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
novas/novacore-zephyr/groq-code-cli/node_modules/array.prototype.findlast/README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # array.prototype.findlast <sup>[![Version Badge][npm-version-svg]][package-url]</sup>
2
+
3
+ [![github actions][actions-image]][actions-url]
4
+ [![coverage][codecov-image]][codecov-url]
5
+ [![dependency status][deps-svg]][deps-url]
6
+ [![dev dependency status][dev-deps-svg]][dev-deps-url]
7
+ [![License][license-image]][license-url]
8
+ [![Downloads][downloads-image]][downloads-url]
9
+
10
+ [![npm badge][npm-badge-png]][package-url]
11
+
12
+ An ESnext spec-compliant `Array.prototype.findLast` shim/polyfill/replacement that works as far down as ES3.
13
+
14
+ This package implements the [es-shim API](https://github.com/es-shims/api) interface. It works in an ES3-supported environment and complies with the proposed [spec](https://tc39.es/proposal-array-find-from-last).
15
+
16
+ Because `Array.prototype.findLast` depends on a receiver (the `this` value), the main export takes the array to operate on as the first argument.
17
+
18
+ ## Getting started
19
+
20
+ ```sh
21
+ npm install --save array.prototype.findlast
22
+ ```
23
+
24
+ ## Usage/Examples
25
+
26
+ ```js
27
+ var findLast = require('array.prototype.findlast');
28
+ var assert = require('assert');
29
+
30
+ var arr = [1, [2], [], 3, [[4]]];
31
+ var isNumber = function (x) { return typeof x === 'number' };
32
+
33
+ assert.deepEqual(findLast(arr, isNumber), 3);
34
+ ```
35
+
36
+ ```js
37
+ var findLast = require('array.prototype.findlast');
38
+ var assert = require('assert');
39
+ /* when Array#findLast is not present */
40
+ delete Array.prototype.findLast;
41
+ var shimmed = findLast.shim();
42
+
43
+ assert.equal(shimmed, findLast.getPolyfill());
44
+ assert.deepEqual(arr.findLast(isNumber), findLast(arr, isNumber));
45
+ ```
46
+
47
+ ```js
48
+ var findLast = require('array.prototype.findlast');
49
+ var assert = require('assert');
50
+ /* when Array#findLast is present */
51
+ var shimmed = findLast.shim();
52
+
53
+ assert.equal(shimmed, Array.prototype.findLast);
54
+ assert.deepEqual(arr.findLast(isNumber), findLast(arr, isNumber));
55
+ ```
56
+
57
+ ## Tests
58
+ Simply clone the repo, `npm install`, and run `npm test`
59
+
60
+ [package-url]: https://npmjs.org/package/array.prototype.findlast
61
+ [npm-version-svg]: https://versionbadg.es/es-shims/Array.prototype.findLast.svg
62
+ [deps-svg]: https://david-dm.org/es-shims/Array.prototype.findLast.svg
63
+ [deps-url]: https://david-dm.org/es-shims/Array.prototype.findLast
64
+ [dev-deps-svg]: https://david-dm.org/es-shims/Array.prototype.findLast/dev-status.svg
65
+ [dev-deps-url]: https://david-dm.org/es-shims/Array.prototype.findLast#info=devDependencies
66
+ [npm-badge-png]: https://nodei.co/npm/array.prototype.findlast.png?downloads=true&stars=true
67
+ [license-image]: https://img.shields.io/npm/l/array.prototype.findlast.svg
68
+ [license-url]: LICENSE
69
+ [downloads-image]: https://img.shields.io/npm/dm/array.prototype.findlast.svg
70
+ [downloads-url]: https://npm-stat.com/charts.html?package=array.prototype.findlast
71
+ [codecov-image]: https://codecov.io/gh/es-shims/Array.prototype.findLast/branch/main/graphs/badge.svg
72
+ [codecov-url]: https://app.codecov.io/gh/es-shims/Array.prototype.findLast/
73
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/es-shims/Array.prototype.findLast
74
+ [actions-url]: https://github.com/es-shims/Array.prototype.findLast