abortcontroller-polyfill
Advanced tools
| (function (factory) { | ||
| typeof define === 'function' && define.amd ? define(factory) : | ||
| factory(); | ||
| }((function () { 'use strict'; | ||
| })((function () { 'use strict'; | ||
@@ -25,2 +25,5 @@ function _classCallCheck(instance, Constructor) { | ||
| if (staticProps) _defineProperties(Constructor, staticProps); | ||
| Object.defineProperty(Constructor, "prototype", { | ||
| writable: false | ||
| }); | ||
| return Constructor; | ||
@@ -41,2 +44,5 @@ } | ||
| }); | ||
| Object.defineProperty(subClass, "prototype", { | ||
| writable: false | ||
| }); | ||
| if (superClass) _setPrototypeOf(subClass, superClass); | ||
@@ -46,3 +52,3 @@ } | ||
| function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
| return o.__proto__ || Object.getPrototypeOf(o); | ||
@@ -54,7 +60,6 @@ }; | ||
| function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
| o.__proto__ = p; | ||
| return o; | ||
| }; | ||
| return _setPrototypeOf(o, p); | ||
@@ -87,2 +92,4 @@ } | ||
| return call; | ||
| } else if (call !== void 0) { | ||
| throw new TypeError("Derived constructors may only return object or undefined"); | ||
| } | ||
@@ -121,5 +128,5 @@ | ||
| function _get(target, property, receiver) { | ||
| function _get() { | ||
| if (typeof Reflect !== "undefined" && Reflect.get) { | ||
| _get = Reflect.get; | ||
| _get = Reflect.get.bind(); | ||
| } else { | ||
@@ -133,3 +140,3 @@ _get = function _get(target, property, receiver) { | ||
| if (desc.get) { | ||
| return desc.get.call(receiver); | ||
| return desc.get.call(arguments.length < 3 ? target : receiver); | ||
| } | ||
@@ -141,3 +148,3 @@ | ||
| return _get(target, property, receiver || target); | ||
| return _get.apply(this, arguments); | ||
| } | ||
@@ -385,2 +392,2 @@ | ||
| }))); | ||
| })); |
@@ -24,2 +24,5 @@ 'use strict'; | ||
| if (staticProps) _defineProperties(Constructor, staticProps); | ||
| Object.defineProperty(Constructor, "prototype", { | ||
| writable: false | ||
| }); | ||
| return Constructor; | ||
@@ -40,2 +43,5 @@ } | ||
| }); | ||
| Object.defineProperty(subClass, "prototype", { | ||
| writable: false | ||
| }); | ||
| if (superClass) _setPrototypeOf(subClass, superClass); | ||
@@ -45,3 +51,3 @@ } | ||
| function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
| return o.__proto__ || Object.getPrototypeOf(o); | ||
@@ -53,7 +59,6 @@ }; | ||
| function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
| o.__proto__ = p; | ||
| return o; | ||
| }; | ||
| return _setPrototypeOf(o, p); | ||
@@ -86,2 +91,4 @@ } | ||
| return call; | ||
| } else if (call !== void 0) { | ||
| throw new TypeError("Derived constructors may only return object or undefined"); | ||
| } | ||
@@ -120,5 +127,5 @@ | ||
| function _get(target, property, receiver) { | ||
| function _get() { | ||
| if (typeof Reflect !== "undefined" && Reflect.get) { | ||
| _get = Reflect.get; | ||
| _get = Reflect.get.bind(); | ||
| } else { | ||
@@ -132,3 +139,3 @@ _get = function _get(target, property, receiver) { | ||
| if (desc.get) { | ||
| return desc.get.call(receiver); | ||
| return desc.get.call(arguments.length < 3 ? target : receiver); | ||
| } | ||
@@ -140,3 +147,3 @@ | ||
| return _get(target, property, receiver || target); | ||
| return _get.apply(this, arguments); | ||
| } | ||
@@ -360,2 +367,2 @@ | ||
| exports.AbortSignal = AbortSignal; | ||
| exports.default = AbortController; | ||
| exports["default"] = AbortController; |
+14
-7
@@ -24,2 +24,5 @@ 'use strict'; | ||
| if (staticProps) _defineProperties(Constructor, staticProps); | ||
| Object.defineProperty(Constructor, "prototype", { | ||
| writable: false | ||
| }); | ||
| return Constructor; | ||
@@ -40,2 +43,5 @@ } | ||
| }); | ||
| Object.defineProperty(subClass, "prototype", { | ||
| writable: false | ||
| }); | ||
| if (superClass) _setPrototypeOf(subClass, superClass); | ||
@@ -45,3 +51,3 @@ } | ||
| function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
| return o.__proto__ || Object.getPrototypeOf(o); | ||
@@ -53,7 +59,6 @@ }; | ||
| function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
| o.__proto__ = p; | ||
| return o; | ||
| }; | ||
| return _setPrototypeOf(o, p); | ||
@@ -86,2 +91,4 @@ } | ||
| return call; | ||
| } else if (call !== void 0) { | ||
| throw new TypeError("Derived constructors may only return object or undefined"); | ||
| } | ||
@@ -120,5 +127,5 @@ | ||
| function _get(target, property, receiver) { | ||
| function _get() { | ||
| if (typeof Reflect !== "undefined" && Reflect.get) { | ||
| _get = Reflect.get; | ||
| _get = Reflect.get.bind(); | ||
| } else { | ||
@@ -132,3 +139,3 @@ _get = function _get(target, property, receiver) { | ||
| if (desc.get) { | ||
| return desc.get.call(receiver); | ||
| return desc.get.call(arguments.length < 3 ? target : receiver); | ||
| } | ||
@@ -140,3 +147,3 @@ | ||
| return _get(target, property, receiver || target); | ||
| return _get.apply(this, arguments); | ||
| } | ||
@@ -143,0 +150,0 @@ |
| (function (factory) { | ||
| typeof define === 'function' && define.amd ? define(factory) : | ||
| factory(); | ||
| }((function () { 'use strict'; | ||
| })((function () { 'use strict'; | ||
@@ -25,2 +25,5 @@ function _classCallCheck(instance, Constructor) { | ||
| if (staticProps) _defineProperties(Constructor, staticProps); | ||
| Object.defineProperty(Constructor, "prototype", { | ||
| writable: false | ||
| }); | ||
| return Constructor; | ||
@@ -41,2 +44,5 @@ } | ||
| }); | ||
| Object.defineProperty(subClass, "prototype", { | ||
| writable: false | ||
| }); | ||
| if (superClass) _setPrototypeOf(subClass, superClass); | ||
@@ -46,3 +52,3 @@ } | ||
| function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
| return o.__proto__ || Object.getPrototypeOf(o); | ||
@@ -54,7 +60,6 @@ }; | ||
| function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
| o.__proto__ = p; | ||
| return o; | ||
| }; | ||
| return _setPrototypeOf(o, p); | ||
@@ -87,2 +92,4 @@ } | ||
| return call; | ||
| } else if (call !== void 0) { | ||
| throw new TypeError("Derived constructors may only return object or undefined"); | ||
| } | ||
@@ -121,5 +128,5 @@ | ||
| function _get(target, property, receiver) { | ||
| function _get() { | ||
| if (typeof Reflect !== "undefined" && Reflect.get) { | ||
| _get = Reflect.get; | ||
| _get = Reflect.get.bind(); | ||
| } else { | ||
@@ -133,3 +140,3 @@ _get = function _get(target, property, receiver) { | ||
| if (desc.get) { | ||
| return desc.get.call(receiver); | ||
| return desc.get.call(arguments.length < 3 ? target : receiver); | ||
| } | ||
@@ -141,3 +148,3 @@ | ||
| return _get(target, property, receiver || target); | ||
| return _get.apply(this, arguments); | ||
| } | ||
@@ -545,2 +552,2 @@ | ||
| }))); | ||
| })); |
+16
-9
| (function (factory) { | ||
| typeof define === 'function' && define.amd ? define(factory) : | ||
| factory(); | ||
| }((function () { 'use strict'; | ||
| })((function () { 'use strict'; | ||
@@ -25,2 +25,5 @@ function _classCallCheck(instance, Constructor) { | ||
| if (staticProps) _defineProperties(Constructor, staticProps); | ||
| Object.defineProperty(Constructor, "prototype", { | ||
| writable: false | ||
| }); | ||
| return Constructor; | ||
@@ -41,2 +44,5 @@ } | ||
| }); | ||
| Object.defineProperty(subClass, "prototype", { | ||
| writable: false | ||
| }); | ||
| if (superClass) _setPrototypeOf(subClass, superClass); | ||
@@ -46,3 +52,3 @@ } | ||
| function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
| return o.__proto__ || Object.getPrototypeOf(o); | ||
@@ -54,7 +60,6 @@ }; | ||
| function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
| o.__proto__ = p; | ||
| return o; | ||
| }; | ||
| return _setPrototypeOf(o, p); | ||
@@ -87,2 +92,4 @@ } | ||
| return call; | ||
| } else if (call !== void 0) { | ||
| throw new TypeError("Derived constructors may only return object or undefined"); | ||
| } | ||
@@ -121,5 +128,5 @@ | ||
| function _get(target, property, receiver) { | ||
| function _get() { | ||
| if (typeof Reflect !== "undefined" && Reflect.get) { | ||
| _get = Reflect.get; | ||
| _get = Reflect.get.bind(); | ||
| } else { | ||
@@ -133,3 +140,3 @@ _get = function _get(target, property, receiver) { | ||
| if (desc.get) { | ||
| return desc.get.call(receiver); | ||
| return desc.get.call(arguments.length < 3 ? target : receiver); | ||
| } | ||
@@ -141,3 +148,3 @@ | ||
| return _get(target, property, receiver || target); | ||
| return _get.apply(this, arguments); | ||
| } | ||
@@ -545,2 +552,2 @@ | ||
| }))); | ||
| })); |
+15
-15
| { | ||
| "name": "abortcontroller-polyfill", | ||
| "version": "1.7.4", | ||
| "version": "1.7.5", | ||
| "description": "Polyfill/ponyfill for the AbortController DOM API + optional patching of fetch (stub that calls catch, doesn't actually abort request).", | ||
@@ -27,19 +27,19 @@ "main": "dist/umd-polyfill.js", | ||
| "devDependencies": { | ||
| "@babel/cli": "^7.13.16", | ||
| "@babel/core": "^7.14.0", | ||
| "@babel/plugin-transform-member-expression-literals": "^7.12.13", | ||
| "@babel/preset-env": "^7.14.1", | ||
| "@wdio/cli": "^7.5.7", | ||
| "@wdio/jasmine-framework": "^7.5.3", | ||
| "@wdio/local-runner": "^7.5.7", | ||
| "@wdio/selenium-standalone-service": "^7.5.7", | ||
| "@wdio/spec-reporter": "^7.5.7", | ||
| "detect-browser": "^5.2.0", | ||
| "eslint": "^7.26.0", | ||
| "@babel/cli": "^7.19.3", | ||
| "@babel/core": "^7.19.3", | ||
| "@babel/plugin-transform-member-expression-literals": "^7.18.6", | ||
| "@babel/preset-env": "^7.19.3", | ||
| "@wdio/cli": "^7.25.1", | ||
| "@wdio/jasmine-framework": "^7.25.1", | ||
| "@wdio/local-runner": "^7.25.1", | ||
| "@wdio/selenium-standalone-service": "^7.25.1", | ||
| "@wdio/spec-reporter": "^7.25.1", | ||
| "detect-browser": "^5.3.0", | ||
| "eslint": "^8.25.0", | ||
| "npm-run-all": "^4.1.5", | ||
| "prettier": "2.2.1", | ||
| "rollup": "^2.47.0", | ||
| "prettier": "^2.7.1", | ||
| "rollup": "^2.79.1", | ||
| "rollup-plugin-babel": "^4.4.0", | ||
| "webdriverio": "^7.5.7" | ||
| "webdriverio": "^7.25.1" | ||
| } | ||
| } |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
94552
1.7%2253
1.81%