@rharkor/caching-for-turbo 2.3.4 → 2.3.5

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 (2) hide show
  1. package/dist/cli/index.js +16 -16
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -203815,10 +203815,24 @@ function parse(str = '', format = 'ms') {
203815
203815
  return result && ((result / (parse.unit[format] || 1)) * (str[0] === '-' ? -1 : 1))
203816
203816
  }
203817
203817
 
203818
- ;// CONCATENATED MODULE: external "node:stream/promises"
203819
- const promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream/promises");
203820
203818
  // EXTERNAL MODULE: external "node:fs"
203821
203819
  var external_node_fs_ = __nccwpck_require__(73024);
203820
+ ;// CONCATENATED MODULE: external "node:stream/promises"
203821
+ const promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream/promises");
203822
+ ;// CONCATENATED MODULE: ./src/lib/utils.ts
203823
+ const timingProvider = (name, tracker, fn) => {
203824
+ return async (...args) => {
203825
+ const start = performance.now();
203826
+ const result = await fn(...args);
203827
+ const end = performance.now();
203828
+ if (process.env.LOG_LEVEL === 'debug') {
203829
+ console.log(`${name} took ${end - start}ms`);
203830
+ }
203831
+ tracker[name] += end - start;
203832
+ return result;
203833
+ };
203834
+ };
203835
+
203822
203836
  // EXTERNAL MODULE: ./node_modules/stream-to-promise/index.js
203823
203837
  var stream_to_promise = __nccwpck_require__(42050);
203824
203838
  var stream_to_promise_default = /*#__PURE__*/__nccwpck_require__.n(stream_to_promise);
@@ -203887,20 +203901,6 @@ function getCacheClient() {
203887
203901
  };
203888
203902
  }
203889
203903
 
203890
- ;// CONCATENATED MODULE: ./src/lib/utils.ts
203891
- const timingProvider = (name, tracker, fn) => {
203892
- return async (...args) => {
203893
- const start = performance.now();
203894
- const result = await fn(...args);
203895
- const end = performance.now();
203896
- if (process.env.LOG_LEVEL === 'debug') {
203897
- console.log(`${name} took ${end - start}ms`);
203898
- }
203899
- tracker[name] += end - start;
203900
- return result;
203901
- };
203902
- };
203903
-
203904
203904
  ;// CONCATENATED MODULE: ./src/lib/providers/cache/index.ts
203905
203905
 
203906
203906
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rharkor/caching-for-turbo",
3
3
  "description": "Sets up Turborepo Remote Caching to work with GitHub Actions built-in cache",
4
- "version": "2.3.4",
4
+ "version": "2.3.5",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/rharkor/caching-for-turbo",
7
7
  "repository": {