@defer/client
Advanced tools
Comparing version 1.11.0-alpha-20230918153628-7a88795 to 1.11.0-alpha-20230918201843-8ead1cd
@@ -38,7 +38,2 @@ "use strict"; | ||
const randomUUID = () => { | ||
// The `globalThis` variable in Node 16.x does not provide access to `Blob`. | ||
if (typeof Blob === "undefined") { | ||
const { Blob } = require("node:buffer"); | ||
return URL.createObjectURL(new Blob([])).slice(-36); | ||
} | ||
return URL.createObjectURL(new Blob([])).slice(-36); | ||
@@ -45,0 +40,0 @@ }; |
@@ -6,3 +6,2 @@ "use strict"; | ||
const errors_js_1 = require("../errors.js"); | ||
// @ts-expect-error https://github.com/microsoft/TypeScript/issues/52841#issuecomment-1574002759 | ||
const ResponseJSON = Response.json; | ||
@@ -9,0 +8,0 @@ function asNextRoute(deferFn, options) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = "1.11.0-alpha-20230918153628-7a88795"; | ||
exports.default = "1.11.0-alpha-20230918201843-8ead1cd"; |
@@ -9,7 +9,2 @@ import parseDuration from "parse-duration"; | ||
const randomUUID = () => { | ||
// The `globalThis` variable in Node 16.x does not provide access to `Blob`. | ||
if (typeof Blob === "undefined") { | ||
const { Blob } = require("node:buffer"); | ||
return URL.createObjectURL(new Blob([])).slice(-36); | ||
} | ||
return URL.createObjectURL(new Blob([])).slice(-36); | ||
@@ -16,0 +11,0 @@ }; |
import { getExecution } from "../index.js"; | ||
import { APIError } from "../errors.js"; | ||
// @ts-expect-error https://github.com/microsoft/TypeScript/issues/52841#issuecomment-1574002759 | ||
const ResponseJSON = Response.json; | ||
@@ -5,0 +4,0 @@ export function asNextRoute(deferFn, options) { |
@@ -1,1 +0,1 @@ | ||
export default "1.11.0-alpha-20230918153628-7a88795"; | ||
export default "1.11.0-alpha-20230918201843-8ead1cd"; |
{ | ||
"name": "@defer/client", | ||
"version": "1.11.0-alpha-20230918153628-7a88795", | ||
"version": "1.11.0-alpha-20230918201843-8ead1cd", | ||
"description": "Zero infrastructure NodeJS background jobs", | ||
"dependencies": { | ||
"parse-duration": "^1.0.2" | ||
"parse-duration": "^1.1.0" | ||
}, | ||
@@ -8,0 +8,0 @@ "repository": "git@github.com:defer-run/defer.client.git", |
@@ -53,4 +53,4 @@ <p align="center"> | ||
1. Clone the repository: `git clone git@github.com:defer-run/defer.client.git` | ||
1. Install the dependencies: `yarn` | ||
1. Run the test after introducing changes: `yarn test` | ||
1. Bump a patch or minor by running `yarn changelog` (please provide a brief description of the changes) | ||
1. Install the dependencies: `npm ci` | ||
1. Run the test after introducing changes: `npm run test` | ||
1. Bump a patch or minor by running `npx changelog` (please provide a brief description of the changes) |
@@ -1,2 +0,2 @@ | ||
declare const _default: "1.11.0-alpha-20230918153628-7a88795"; | ||
declare const _default: "1.11.0-alpha-20230918201843-8ead1cd"; | ||
export default _default; |
Sorry, the diff of this file is not supported yet
67957
1517
Updatedparse-duration@^1.1.0