Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@defer/client

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@defer/client - npm Package Compare versions

Comparing version 1.11.0-alpha-20230918153628-7a88795 to 1.11.0-alpha-20230918201843-8ead1cd

5

cjs/index.js

@@ -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 @@ };

1

cjs/next/asNextRoute.js

@@ -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) {

2

cjs/version.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc