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

abort-polyfill

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abort-polyfill - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

9

index.js

@@ -43,5 +43,10 @@ /**

const handlers = getHandlers(this)
const handler = handlers.get(name)
if (handler) {
this.removeEventListener(name, handler)
}
if (typeof value === 'function') {
handlers.set(name, value)
this.addEventListener(name, value)
const newHandler = value.bind(this)
handlers.set(name, newHandler)
this.addEventListener(name, newHandler)
} else {

@@ -48,0 +53,0 @@ handlers.set(name, null)

{
"name": "abort-polyfill",
"version": "0.0.0",
"version": "0.0.1",
"description": "Polyfill AbortController and AbortSignal",

@@ -5,0 +5,0 @@ "license": "MIT",

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