abuseipdb-client 0.1.12 → 0.1.14

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 CHANGED
@@ -1,6 +1,5 @@
1
1
  'use strict';
2
2
 
3
- var fetch = require('isomorphic-unfetch');
4
3
  var node_fs = require('node:fs');
5
4
  var node_path = require('node:path');
6
5
  var zod = require('zod');
@@ -5107,7 +5106,10 @@ _AbuseIPDBClient_headers = new WeakMap(), _AbuseIPDBClient_apiKey = new WeakMap(
5107
5106
  formattedResponse = { headers, error: body };
5108
5107
  }
5109
5108
  else {
5110
- formattedResponse = { headers, result: body };
5109
+ formattedResponse = {
5110
+ headers,
5111
+ result: body,
5112
+ };
5111
5113
  }
5112
5114
  }
5113
5115
  return formattedResponse;
package/dist/index.mjs CHANGED
@@ -1,4 +1,3 @@
1
- import fetch from 'isomorphic-unfetch';
2
1
  import { fileFromSync } from 'fetch-blob/from.js';
3
2
  import { FormData } from 'formdata-polyfill/esm.min.js';
4
3
  import { z } from 'zod';
@@ -427,7 +426,10 @@ _AbuseIPDBClient_headers = new WeakMap(), _AbuseIPDBClient_apiKey = new WeakMap(
427
426
  formattedResponse = { headers, error: body };
428
427
  }
429
428
  else {
430
- formattedResponse = { headers, result: body };
429
+ formattedResponse = {
430
+ headers,
431
+ result: body,
432
+ };
431
433
  }
432
434
  }
433
435
  return formattedResponse;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abuseipdb-client",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "private": false,
5
5
  "description": "AbuseIPDB Node.js API client.",
6
6
  "author": "Arthur Melo <contact@arthurmelo.com>",
@@ -40,7 +40,7 @@
40
40
  "dependencies": {
41
41
  "fetch-blob": "^3.2.0",
42
42
  "formdata-polyfill": "^4.0.10",
43
- "isomorphic-unfetch": "^3.1.0",
43
+ "isomorphic-unfetch": "^4.0.1",
44
44
  "jsonapi-typescript": "^0.1.3",
45
45
  "validator": "^13.7.0",
46
46
  "zod": "^3.20.2"