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

make-cancellable-promise

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

make-cancellable-promise - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

dist/cjs/package.json

4

package.json
{
"name": "make-cancellable-promise",
"version": "1.3.0",
"version": "1.3.1",
"description": "Make any Promise cancellable.",

@@ -18,3 +18,3 @@ "type": "module",

"build-esm": "tsc --project tsconfig.build.json --outDir dist/esm --module esnext",
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs",
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs && echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json",
"clean": "rimraf dist",

@@ -21,0 +21,0 @@ "lint": "eslint .",

import { describe, expect, it, vi } from 'vitest';
import makeCancellablePromise from './index';
import makeCancellablePromise from './index.js';
vi.useFakeTimers();

@@ -5,0 +6,0 @@

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