utilitas 1989.8.68 → 1989.8.69

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.
Files changed (2) hide show
  1. package/lib/shot.js +1 -1
  2. package/package.json +6 -6
package/lib/shot.js CHANGED
@@ -33,7 +33,7 @@ const get = async (url, options) => {
33
33
  utilitas.assert(url, 'URL is required.');
34
34
  options = options || {};
35
35
  options.encode = utilitas.ensureString(options.encode, { case: 'UP' });
36
- const r = await fetch(url, Object.assign(options.fetch || {}, defFetchOpt));
36
+ const r = await fetch(url, { defFetchOpt, ...options.fetch || {} });
37
37
  const ts = (b) => { return b.toString('utf8'); };
38
38
  const [htpMime, buffer] = [r.headers.get('content-type'), await r.buffer()];
39
39
  const bufMime = utilitas.extract(await fileType.fromBuffer(buffer), 'mime');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for Node.js.",
4
- "version": "1989.8.68",
4
+ "version": "1989.8.69",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.js",
@@ -21,24 +21,24 @@
21
21
  "url": "https://github.com/Leask/utilitas.git"
22
22
  },
23
23
  "dependencies": {
24
- "@sentry/node": "^6.14.1",
24
+ "@sentry/node": "^6.15.0",
25
25
  "base64url": "^3.0.1",
26
26
  "colors": "^1.4.0",
27
- "fast-geoip": "^1.1.45",
27
+ "fast-geoip": "^1.1.47",
28
28
  "file-type": "^16.5.3",
29
29
  "ini": "github:Leask/ini",
30
- "ioredis": "^4.28.0",
30
+ "ioredis": "^4.28.1",
31
31
  "jsonwebtoken": "^8.5.1",
32
32
  "mailgun-js": "^0.22.0",
33
33
  "mathjs": "^10.0.0",
34
- "mysql2": "^2.3.2",
34
+ "mysql2": "^2.3.3",
35
35
  "node-fetch": "^2.6.6",
36
36
  "node-mailjet": "^3.3.4",
37
37
  "ping": "^0.4.1",
38
38
  "public-ip": "^4.0.4",
39
39
  "qs": "^6.10.1",
40
40
  "telesignsdk": "^2.2.1",
41
- "twilio": "^3.71.1",
41
+ "twilio": "^3.71.2",
42
42
  "uuid": "^8.3.2",
43
43
  "winston": "^3.3.3",
44
44
  "winston-papertrail-mproved": "^1.0.7"