Socket
Socket
Sign inDemoInstall

metautil

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metautil - npm Package Compare versions

Comparing version 5.2.2 to 5.2.3

2

lib/network.js

@@ -42,3 +42,3 @@ 'use strict';

const code = res.status;
if (code === 200) return res.json();
if (code === 200) return await res.json();
await res.body.cancel();

@@ -45,0 +45,0 @@ const dest = `for ${method} ${url}`;

{
"name": "metautil",
"version": "5.2.2",
"version": "5.2.3",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -23,3 +23,3 @@ "license": "MIT",

"engines": {
"node": "18 || 20 || 21"
"node": "18 || 20 || 21 || 22"
},

@@ -42,16 +42,13 @@ "repository": {

"types": "tsc -p tsconfig.json",
"lint": "eslint . && prettier --check \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/.*rc\" \"**/*.ts\"",
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/.*rc\" \"**/*.ts\""
"lint": "eslint . && prettier --check \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.ts\"",
"fix": "eslint . --fix && prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.ts\""
},
"devDependencies": {
"@types/node": "^20.11.17",
"eslint": "^8.57.0",
"eslint-config-metarhia": "^8.2.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"@types/node": "^22.5.1",
"eslint": "^9.9.1",
"eslint-config-metarhia": "^9.0.4",
"metatests": "^0.8.2",
"prettier": "^3.2.5",
"typescript": "^5.3.3"
"prettier": "^3.3.3",
"typescript": "^5.5.4"
}
}

@@ -359,3 +359,3 @@ # Metarhia utilities

## Class `EnevtEmitter`
## Class `EventEmitter`

@@ -370,3 +370,3 @@ - `getMaxListeners(): number`

## `EnevtEmitter` utilities
## `EventEmitter` utilities

@@ -373,0 +373,0 @@ - `once(emitter: EventEmitter, name: string): Promise<unknown>`

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