abuseipdb-client 0.1.58 → 0.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37,6 +37,10 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
37
37
|
|
|
38
38
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
39
39
|
|
|
40
|
+
function getDefaultExportFromCjs (x) {
|
|
41
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
42
|
+
}
|
|
43
|
+
|
|
40
44
|
/*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
|
|
41
45
|
|
|
42
46
|
if (!globalThis.DOMException) {
|
|
@@ -54,11 +58,9 @@ if (!globalThis.DOMException) {
|
|
|
54
58
|
|
|
55
59
|
var nodeDomexception = globalThis.DOMException;
|
|
56
60
|
|
|
57
|
-
var
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
set exports(v){ ponyfill_es2018Exports = v; },
|
|
61
|
-
};
|
|
61
|
+
var DOMException$1 = /*@__PURE__*/getDefaultExportFromCjs(nodeDomexception);
|
|
62
|
+
|
|
63
|
+
var ponyfill_es2018 = {exports: {}};
|
|
62
64
|
|
|
63
65
|
/**
|
|
64
66
|
* web-streams-polyfill v3.2.1
|
|
@@ -67,7 +69,7 @@ var ponyfill_es2018 = {
|
|
|
67
69
|
var hasRequiredPonyfill_es2018;
|
|
68
70
|
|
|
69
71
|
function requirePonyfill_es2018 () {
|
|
70
|
-
if (hasRequiredPonyfill_es2018) return
|
|
72
|
+
if (hasRequiredPonyfill_es2018) return ponyfill_es2018.exports;
|
|
71
73
|
hasRequiredPonyfill_es2018 = 1;
|
|
72
74
|
(function (module, exports) {
|
|
73
75
|
(function (global, factory) {
|
|
@@ -4277,8 +4279,8 @@ function requirePonyfill_es2018 () {
|
|
|
4277
4279
|
|
|
4278
4280
|
})));
|
|
4279
4281
|
|
|
4280
|
-
} (ponyfill_es2018,
|
|
4281
|
-
return
|
|
4282
|
+
} (ponyfill_es2018, ponyfill_es2018.exports));
|
|
4283
|
+
return ponyfill_es2018.exports;
|
|
4282
4284
|
}
|
|
4283
4285
|
|
|
4284
4286
|
/* c8 ignore start */
|
|
@@ -4675,7 +4677,7 @@ class BlobDataItem {
|
|
|
4675
4677
|
async * stream () {
|
|
4676
4678
|
const { mtimeMs } = await stat(this.#path);
|
|
4677
4679
|
if (mtimeMs > this.lastModified) {
|
|
4678
|
-
throw new
|
|
4680
|
+
throw new DOMException$1('The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.', 'NotReadableError')
|
|
4679
4681
|
}
|
|
4680
4682
|
yield * node_fs.createReadStream(this.#path, {
|
|
4681
4683
|
start: this.#start,
|