@rushstack/rush-http-build-cache-plugin 5.97.1-pr3481.18 → 5.98.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/.heft/build-cache/jest-cache/haste-map-bae913f9b9aa720eb4deeae0a60a4b27-22ae7f4ce9de4306889d8c05e5cc39b9-f6b1af01a3130057bdfe3d86807211f9 +0 -0
  2. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/{42/Import_42731f0220476b7d949a2d8f3a6f3333 → 12/Import_12af6d2ca109ffba883fc5079062e0e8} +157 -14
  3. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/{c7/commons_c77bee95093c1098b4a591f2dadf398d → 2e/commons_2e52897dfe4222d991674613f5b35882} +1007 -2581
  4. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/{26/package_263c59db6933ba9581588638fb19da5c → 2f/package_2f923ac6ad9bbd4966f8472750ef7770} +2 -2
  5. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/34/PrefixProxyTerminalProvider_34b4603b9c4455de1c3cc05820149fdd +65 -0
  6. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/{58/index_58c57a8f2a96bf6fdf5db35a2e44baa7 → 46/index_46761981528d09d1a0e438f06cd2c548} +7 -2
  7. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/{06/ConfigurationFile_06d7f35feb0bd944d9b9a2a4d9e112c8 → 57/ConfigurationFile_57c950e8ef4673e11bff94304a50823c} +10 -4
  8. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/{fa/rushlib_fa830331d24a41292b5cb91040384188 → 69/rushlib_695f6e29167e91482e2906a8d09b3a5a} +17 -28
  9. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/8a/HttpBuildCacheProvidertest_8a1598e1f1b42d6933964acfb7612893 +116 -0
  10. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/8a/HttpBuildCacheProvidertest_8a1598e1f1b42d6933964acfb7612893.map +1 -0
  11. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/a3/RushHttpBuildCachePlugin_a3e8a9bb172ff361907e770dcf3268be +1551 -0
  12. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/a3/RushHttpBuildCachePlugin_a3e8a9bb172ff361907e770dcf3268be.map +1 -0
  13. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/{c2/Async_c2ea5cc2edc0a460dcf394ef8277e88e → b4/Async_b43c9d64ab6a035dbce65b9f1a28e166} +78 -2
  14. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/ba/TerminalWritable_ba71b4b7bfe6a26c85f4fd0245057a0a +54 -0
  15. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/ce/index_ce3464019fb882539ee9a6f3e36e615a +2 -2
  16. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/ce/index_ce3464019fb882539ee9a6f3e36e615a.map +1 -1
  17. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/{5d/Text_5da85b5db9a2f06bbe29cdcd91e6fbca → df/Text_df57ddd200e4237e617fc183dcb5fe67} +7 -1
  18. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/{e5/HttpBuildCacheProvider_e53bd002cf44ae62693f20b8c4682941 → ec/HttpBuildCacheProvider_ecceab34e8340fa24dde11b618ffa8a4} +1210 -909
  19. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/ec/HttpBuildCacheProvider_ecceab34e8340fa24dde11b618ffa8a4.map +1 -0
  20. package/.heft/build-cache/jest-cache/perf-cache-bae913f9b9aa720eb4deeae0a60a4b27-da39a3ee5e6b4b0d3255bfef95601890 +1 -1
  21. package/.rush/temp/operation/_phase_build/state.json +1 -1
  22. package/.rush/temp/operation/_phase_test/all.log +29 -0
  23. package/.rush/temp/operation/_phase_test/state.json +1 -1
  24. package/.rush/temp/package-deps__phase_build.json +5 -5
  25. package/.rush/temp/package-deps__phase_test.json +5 -5
  26. package/.rush/temp/rushstack+rush-http-build-cache-plugin-_phase_build-08118e08afc6d454e5623f20498fd64b5e3e9051.log +10 -0
  27. package/.rush/temp/shrinkwrap-deps.json +10 -10
  28. package/lib/HttpBuildCacheProvider.d.ts +2 -0
  29. package/lib/HttpBuildCacheProvider.d.ts.map +1 -1
  30. package/lib/HttpBuildCacheProvider.js +26 -7
  31. package/lib/HttpBuildCacheProvider.js.map +1 -1
  32. package/lib/RushHttpBuildCachePlugin.d.ts.map +1 -1
  33. package/lib/RushHttpBuildCachePlugin.js +28 -4
  34. package/lib/RushHttpBuildCachePlugin.js.map +1 -1
  35. package/lib/test/HttpBuildCacheProvider.test.d.ts.map +1 -0
  36. package/lib/{HttpBuildCacheProvider.test.js → test/HttpBuildCacheProvider.test.js} +46 -3
  37. package/lib/test/HttpBuildCacheProvider.test.js.map +1 -0
  38. package/package.json +6 -6
  39. package/rush-logs/rush-http-build-cache-plugin._phase_build.log +4 -23
  40. package/rush-logs/rush-http-build-cache-plugin._phase_test.log +16 -16
  41. package/src/HttpBuildCacheProvider.ts +36 -7
  42. package/src/RushHttpBuildCachePlugin.ts +23 -28
  43. package/src/test/HttpBuildCacheProvider.test.ts +115 -0
  44. package/temp/coverage/clover.xml +117 -109
  45. package/temp/coverage/coverage-final.json +2 -2
  46. package/temp/coverage/lcov-report/HttpBuildCacheProvider.ts.html +166 -79
  47. package/temp/coverage/lcov-report/RushHttpBuildCachePlugin.ts.html +29 -44
  48. package/temp/coverage/lcov-report/index.html +24 -24
  49. package/temp/coverage/lcov-report/index.ts.html +1 -1
  50. package/temp/coverage/lcov.info +236 -218
  51. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/e5/HttpBuildCacheProvider_e53bd002cf44ae62693f20b8c4682941.map +0 -1
  52. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/e6/RushHttpBuildCachePlugin_e69b4b7cd4f95aa49455690c88f00247 +0 -362
  53. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/e6/RushHttpBuildCachePlugin_e69b4b7cd4f95aa49455690c88f00247.map +0 -1
  54. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/f7/HttpBuildCacheProvidertest_f710af633835df558cad54cb165c14fa +0 -73
  55. package/.heft/build-cache/jest-cache/jest-transform-cache-bae913f9b9aa720eb4deeae0a60a4b27-474488b31a4a940a3990e9eaf06f1647/f7/HttpBuildCacheProvidertest_f710af633835df558cad54cb165c14fa.map +0 -1
  56. package/.rush/temp/rushstack+rush-http-build-cache-plugin-_phase_build-5e3cfa01506c2ac77af487ee9732b935a5bbe122.log +0 -27
  57. package/lib/HttpBuildCacheProvider.test.d.ts.map +0 -1
  58. package/lib/HttpBuildCacheProvider.test.js.map +0 -1
  59. package/src/HttpBuildCacheProvider.test.ts +0 -58
  60. /package/lib/{HttpBuildCacheProvider.test.d.ts → test/HttpBuildCacheProvider.test.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"mappings":";;AAAA;AACA;AAAA;AAAA;EAAA;EAAA;EAAA;EAAA;EAAA;IAAA;IAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;UAAA;QAAA;QAAA;UAAA;UAAA;QAAA;MAAA;MAAA;QAAA;UAAA;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,WAAW,CAACE,KAAK,CAACC,UAAU,CAACC,GAAG,CAAC,IAAI,CAACC,UAAU,EAAE,MAAK;MAAA;MAAA;MAAA;MACrDL,WAAW,CAACM,sCAAsC,CAAC,MAAM,EAAE,MAAOC,gBAAgB,IAAI;QAAA;QAAA;QACpF,MAAMC,MAAM;QAAA;QAAA,0BACVD,gBAGD,CAACE,iBAAiB;QAEnB,MAAM;UAAEC,GAAG;UAAEC,YAAY;UAAEC,OAAO;UAAEC,YAAY;UAAEC,cAAc;UAAEC;QAAmB,CAAE;QAAA;QAAA,0BAAGP,MAAM;QAEhG,MAAMQ,OAAO;QAAA;QAAA,0BAAmC;UAC9CX,UAAU,EAAE,IAAI,CAACA,UAAU;UAC3BY,eAAe,EAAEhB,UAAU,CAACiB,cAAc;UAC1CR,GAAG,EAAEA,GAAG;UACRC,YAAY,EAAEA,YAAY;UAC1BC,OAAO,EAAEA,OAAO;UAChBC,YAAY,EAAEA,YAAY;UAC1BC,cAAc,EAAEA,cAAc;UAC9BC,mBAAmB,EAAE,CAAC,CAACA;SACxB;QAED,MAAM;UAAEI;QAAsB,CAAE;QAAA;QAAA,0BAAG;UAAA;UAAA;UAAA;UAAA,4BAAa,0BAA0B;QAAA,EAAC;QAAC;QAAA;QAC5E,OAAO,IAAIA,sBAAsB,CAACH,OAAO,EAAEhB,WAAW,CAAC;MACzD,CAAC,CAAC;IACJ,CAAC,CAAC;EACJ;;AACD;AAAA;AA9BDoB","names":["PLUGIN_NAME","RushHttpBuildCachePlugin","constructor","apply","rushSession","rushConfig","hooks","initialize","tap","pluginName","registerCloudBuildCacheProviderFactory","buildCacheConfig","config","httpConfiguration","url","uploadMethod","headers","tokenHandler","cacheKeyPrefix","isCacheWriteAllowed","options","rushProjectRoot","rushJsonFolder","HttpBuildCacheProvider","exports"],"sources":["/home/vsts/work/1/s/rush-plugins/rush-http-build-cache-plugin/src/RushHttpBuildCachePlugin.ts"],"sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\nimport type { IRushPlugin, RushSession, RushConfiguration } from '@rushstack/rush-sdk';\nimport type { HttpBuildCacheProvider, IHttpBuildCacheProviderOptions } from './HttpBuildCacheProvider';\n\nconst PLUGIN_NAME: string = 'HttpBuildCachePlugin';\n\n/**\n * @public\n */\nexport interface IRushHttpBuildCachePluginConfig {\n /**\n * The URL of the server that stores the caches (e.g. \"https://build-caches.example.com\").\n */\n url: string;\n\n /**\n * The HTTP method to use when writing to the cache (defaults to PUT).\n */\n uploadMethod?: string;\n\n /**\n * An optional set of HTTP headers to pass to the cache server.\n */\n headers?: Record<string, string>;\n\n /**\n * An optional command that prints the endpoint's credentials to stdout. Provide the\n * command or script to execute and, optionally, any arguments to pass to the script.\n */\n tokenHandler?: {\n exec: string;\n args?: string[];\n };\n\n /**\n * Prefix for cache keys.\n */\n cacheKeyPrefix?: string;\n\n /**\n * If set to true, allow writing to the cache. Defaults to false.\n */\n isCacheWriteAllowed?: boolean;\n}\n\n/**\n * @public\n */\nexport class RushHttpBuildCachePlugin implements IRushPlugin {\n public readonly pluginName: string = PLUGIN_NAME;\n\n public apply(rushSession: RushSession, rushConfig: RushConfiguration): void {\n rushSession.hooks.initialize.tap(this.pluginName, () => {\n rushSession.registerCloudBuildCacheProviderFactory('http', async (buildCacheConfig) => {\n const config: IRushHttpBuildCachePluginConfig = (\n buildCacheConfig as typeof buildCacheConfig & {\n httpConfiguration: IRushHttpBuildCachePluginConfig;\n }\n ).httpConfiguration;\n\n const { url, uploadMethod, headers, tokenHandler, cacheKeyPrefix, isCacheWriteAllowed } = config;\n\n const options: IHttpBuildCacheProviderOptions = {\n pluginName: this.pluginName,\n rushProjectRoot: rushConfig.rushJsonFolder,\n url: url,\n uploadMethod: uploadMethod,\n headers: headers,\n tokenHandler: tokenHandler,\n cacheKeyPrefix: cacheKeyPrefix,\n isCacheWriteAllowed: !!isCacheWriteAllowed\n };\n\n const { HttpBuildCacheProvider } = await import('./HttpBuildCacheProvider');\n return new HttpBuildCacheProvider(options, rushSession);\n });\n });\n }\n}\n"]}
@@ -1,9 +1,21 @@
1
- 3817be9a4649c6145c8368590b85d811
1
+ 6d4790c8d0cbba844fa0570935749f81
2
2
  "use strict";
3
3
  // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
4
4
  // See LICENSE in the project root for license information.
5
+ var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
6
+ var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
7
+ if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
8
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
9
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
10
+ function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
11
+ function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
12
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
13
+ function fulfill(value) { resume("next", value); }
14
+ function reject(value) { resume("throw", value); }
15
+ function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
16
+ };
5
17
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Async = void 0;
18
+ exports.AsyncQueue = exports.Async = void 0;
7
19
  /**
8
20
  * Utilities for parallel asynchronous operations, for use with the system `Promise` APIs.
9
21
  *
@@ -139,4 +151,68 @@ class Async {
139
151
  }
140
152
  }
141
153
  exports.Async = Async;
154
+ function getSignal() {
155
+ let resolver;
156
+ const promise = new Promise((resolve) => {
157
+ resolver = resolve;
158
+ });
159
+ return [promise, resolver];
160
+ }
161
+ /**
162
+ * A queue that allows for asynchronous iteration. During iteration, the queue will wait until
163
+ * the next item is pushed into the queue before yielding. If instead all queue items are consumed
164
+ * and all callbacks have been called, the queue will return.
165
+ *
166
+ * @public
167
+ */
168
+ class AsyncQueue {
169
+ constructor(iterable) {
170
+ this._queue = iterable ? Array.from(iterable) : [];
171
+ const [promise, resolver] = getSignal();
172
+ this._onPushSignal = promise;
173
+ this._onPushResolve = resolver;
174
+ }
175
+ [Symbol.asyncIterator]() {
176
+ return __asyncGenerator(this, arguments, function* _a() {
177
+ let activeIterations = 0;
178
+ let [callbackSignal, callbackResolve] = getSignal();
179
+ const callback = () => {
180
+ if (--activeIterations === 0) {
181
+ // Resolve whatever the latest callback promise is and create a new one
182
+ callbackResolve();
183
+ const [newCallbackSignal, newCallbackResolve] = getSignal();
184
+ callbackSignal = newCallbackSignal;
185
+ callbackResolve = newCallbackResolve;
186
+ }
187
+ };
188
+ let position = 0;
189
+ while (this._queue.length > position || activeIterations > 0) {
190
+ if (this._queue.length > position) {
191
+ activeIterations++;
192
+ yield yield __await([this._queue[position++], callback]);
193
+ }
194
+ else {
195
+ // On push, the item will be added to the queue and the onPushSignal will be resolved.
196
+ // On calling the callback, active iterations will be decremented by the callback and the
197
+ // callbackSignal will be resolved. This means that the loop will continue if there are
198
+ // active iterations or if there are items in the queue that haven't been yielded yet.
199
+ yield __await(Promise.race([this._onPushSignal, callbackSignal]));
200
+ }
201
+ }
202
+ });
203
+ }
204
+ /**
205
+ * Adds an item to the queue.
206
+ *
207
+ * @param item - The item to push into the queue.
208
+ */
209
+ push(item) {
210
+ this._queue.push(item);
211
+ this._onPushResolve();
212
+ const [onPushSignal, onPushResolve] = getSignal();
213
+ this._onPushSignal = onPushSignal;
214
+ this._onPushResolve = onPushResolve;
215
+ }
216
+ }
217
+ exports.AsyncQueue = AsyncQueue;
142
218
  //# sourceMappingURL=Async.js.map
@@ -0,0 +1,54 @@
1
+ e10ab454d900c680421aedb7d99f0bec
2
+ "use strict";
3
+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
4
+ // See LICENSE in the project root for license information.
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TerminalWritable = void 0;
7
+ const ITerminalProvider_1 = require("./ITerminalProvider");
8
+ const stream_1 = require("stream");
9
+ /**
10
+ * A adapter to allow writing to a provided terminal using Writable streams.
11
+ *
12
+ * @beta
13
+ */
14
+ class TerminalWritable extends stream_1.Writable {
15
+ constructor(options) {
16
+ const { terminal, severity, writableOptions } = options;
17
+ super(writableOptions);
18
+ this._writev = undefined;
19
+ switch (severity) {
20
+ case ITerminalProvider_1.TerminalProviderSeverity.log:
21
+ this._writeMethod = terminal.write.bind(terminal);
22
+ break;
23
+ case ITerminalProvider_1.TerminalProviderSeverity.verbose:
24
+ this._writeMethod = terminal.writeVerbose.bind(terminal);
25
+ break;
26
+ case ITerminalProvider_1.TerminalProviderSeverity.debug:
27
+ this._writeMethod = terminal.writeDebug.bind(terminal);
28
+ break;
29
+ case ITerminalProvider_1.TerminalProviderSeverity.warning:
30
+ this._writeMethod = terminal.writeWarning.bind(terminal);
31
+ break;
32
+ case ITerminalProvider_1.TerminalProviderSeverity.error:
33
+ this._writeMethod = terminal.writeError.bind(terminal);
34
+ break;
35
+ default:
36
+ throw new Error(`Unknown severity: ${severity}`);
37
+ }
38
+ }
39
+ _write(chunk, encoding,
40
+ // eslint-disable-next-line @rushstack/no-new-null
41
+ callback) {
42
+ try {
43
+ const chunkData = typeof chunk === 'string' ? chunk : Buffer.from(chunk);
44
+ this._writeMethod(chunkData.toString());
45
+ }
46
+ catch (e) {
47
+ callback(e);
48
+ return;
49
+ }
50
+ callback();
51
+ }
52
+ }
53
+ exports.TerminalWritable = TerminalWritable;
54
+ //# sourceMappingURL=TerminalWritable.js.map
@@ -1,4 +1,4 @@
1
- b17dd527c7bfa2e203f014e0eacadd6a
1
+ 5e06840b02f85d94fa67df91677c70ce
2
2
  "use strict";
3
3
 
4
4
  /* istanbul ignore next */
@@ -85,4 +85,4 @@ const RushHttpBuildCachePlugin_1 =
85
85
  /* istanbul ignore next */
86
86
  cov_1ufkhiak5h().s[2]++;
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UV0RUEsa0JBQWVDLG1EQUF3QiIsIm5hbWVzIjpbImV4cG9ydHMiLCJSdXNoSHR0cEJ1aWxkQ2FjaGVQbHVnaW5fMSJdLCJzb3VyY2VzIjpbIi9ob21lL3ZzdHMvd29yay8xL3MvcnVzaC1wbHVnaW5zL3J1c2gtaHR0cC1idWlsZC1jYWNoZS1wbHVnaW4vc3JjL2luZGV4LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFJ1c2hIdHRwQnVpbGRDYWNoZVBsdWdpbiB9IGZyb20gJy4vUnVzaEh0dHBCdWlsZENhY2hlUGx1Z2luJztcblxuZXhwb3J0IGRlZmF1bHQgUnVzaEh0dHBCdWlsZENhY2hlUGx1Z2luO1xuZXhwb3J0IHsgSUh0dHBCdWlsZENhY2hlUHJvdmlkZXJPcHRpb25zIH0gZnJvbSAnLi9IdHRwQnVpbGRDYWNoZVByb3ZpZGVyJztcbiJdfQ==
@@ -1 +1 @@
1
- {"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAsE;AAAAA;AAEtEC,kBAAeC,mDAAwB","names":["cov_1ufkhiak5h","exports","RushHttpBuildCachePlugin_1"],"sources":["/home/vsts/work/1/s/rush-plugins/rush-http-build-cache-plugin/src/index.ts"],"sourcesContent":["import { RushHttpBuildCachePlugin } from './RushHttpBuildCachePlugin';\n\nexport default RushHttpBuildCachePlugin;\nexport { IHttpBuildCacheProviderOptions } from './HttpBuildCacheProvider';\n"]}
1
+ {"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAsE;AAAA;AAEtEA,kBAAeC,mDAAwB","names":["exports","RushHttpBuildCachePlugin_1"],"sources":["/home/vsts/work/1/s/rush-plugins/rush-http-build-cache-plugin/src/index.ts"],"sourcesContent":["import { RushHttpBuildCachePlugin } from './RushHttpBuildCachePlugin';\n\nexport default RushHttpBuildCachePlugin;\nexport { IHttpBuildCacheProviderOptions } from './HttpBuildCacheProvider';\n"]}
@@ -1,4 +1,4 @@
1
- 8dae91cf649ea3fe0d93d91605c9165e
1
+ dbc00db5527ff656d12f0370bfc72137
2
2
  "use strict";
3
3
  // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
4
4
  // See LICENSE in the project root for license information.
@@ -180,6 +180,12 @@ class Text {
180
180
  }
181
181
  return s + newlineKind; // no, add it
182
182
  }
183
+ /**
184
+ * Escapes a string so that it can be treated as a literal string when used in a regular expression.
185
+ */
186
+ static escapeRegExp(literal) {
187
+ return literal.replace(/[^A-Za-z0-9_]/g, '\\$&');
188
+ }
183
189
  }
184
190
  exports.Text = Text;
185
191
  Text._newLineRegEx = /\r\n|\n\r|\r|\n/g;