Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ono

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ono - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

2

cjs/isomorphic.node.d.ts
/// <reference types="node" />
import util from "util";
import * as util from "util";
import { OnoError } from "./types";

@@ -4,0 +4,0 @@ /**

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const util_1 = __importDefault(require("util"));
const util = require("util");
const to_json_1 = require("./to-json");
// The `inspect()` method is actually a Symbol, not a string key.
// https://nodejs.org/api/util.html#util_util_inspect_custom
const inspectMethod = util_1.default.inspect.custom || Symbol.for("nodejs.util.inspect.custom");
const inspectMethod = util.inspect.custom || Symbol.for("nodejs.util.inspect.custom");
/**

@@ -16,3 +13,3 @@ * Ono supports Node's `util.format()` formatting for error messages.

*/
exports.format = util_1.default.format;
exports.format = util.format;
/**

@@ -19,0 +16,0 @@ * Adds an `inspect()` method to support Node's `util.inspect()` function.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const newline = /\r?\n/;
const onoCall = /(^| )ono[ @]/;
const onoCall = /\bono[ @]/;
/**

@@ -6,0 +6,0 @@ * Is the property lazily computed?

/// <reference types="node" />
import util from "util";
import * as util from "util";
import { OnoError } from "./types";

@@ -4,0 +4,0 @@ /**

@@ -1,2 +0,2 @@

import util from "util";
import * as util from "util";
import { getDeepKeys } from "./to-json";

@@ -3,0 +3,0 @@ // The `inspect()` method is actually a Symbol, not a string key.

const newline = /\r?\n/;
const onoCall = /(^| )ono[ @]/;
const onoCall = /\bono[ @]/;
/**

@@ -4,0 +4,0 @@ * Is the property lazily computed?

{
"name": "ono",
"version": "6.0.0",
"version": "6.0.1",
"description": "Throw better errors.",

@@ -60,3 +60,3 @@ "keywords": [

"@babel/polyfill": "^7.7.0",
"@types/node": "^13.1.1",
"@types/node": "^13.1.4",
"chai": "^4.2.0",

@@ -69,4 +69,4 @@ "coveralls": "^3.0.9",

"karma-cli": "^2.0.0",
"karma-config": "^1.5.7",
"mocha": "^6.2.2",
"karma-config": "^1.5.8",
"mocha": "^7.0.0",
"npm-check": "^5.9.0",

@@ -79,5 +79,5 @@ "nyc": "^15.0.0",

"typescript-tslint-plugin": "^0.5.5",
"version-bump-prompt": "^5.0.6"
"version-bump-prompt": "^5.0.7"
},
"dependencies": {}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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