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

extra-abort

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extra-abort - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

lib/utils.d.ts

4

lib/abort-error.js

@@ -6,7 +6,7 @@ "use strict";

const types_1 = require("@blackglory/types");
const iterable_operator_1 = require("iterable-operator");
const utils_1 = require("./utils");
class AbortError extends errors_1.CustomError {
static [Symbol.hasInstance](instance) {
if ((0, types_1.isError)(instance)) {
const names = (0, iterable_operator_1.toArray)((0, errors_1.getErrorNames)(instance));
const names = (0, utils_1.toArray)((0, errors_1.getErrorNames)(instance));
return names.includes('AbortError')

@@ -13,0 +13,0 @@ || (names.includes('DOMException') &&

{
"name": "extra-abort",
"version": "0.2.1",
"version": "0.2.2",
"description": "",

@@ -60,5 +60,4 @@ "keywords": [],

"@blackglory/types": "^1.4.0",
"iterable-operator": "^2.1.0 || ^3.0.0",
"justypes": "^3.0.0"
}
}

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