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

@rarible/utils

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rarible/utils - npm Package Compare versions

Comparing version 0.10.0-alpha.10 to 0.10.0-alpha.13

build/common/index.d.ts

6

build/error/utils/index.d.ts
export declare function extractErrorMessage(error: unknown): string | undefined;
export declare function extractErrorName(error: unknown): string | undefined;
export declare function extractErrorStack(error: unknown): string | undefined;
export type ErrorLike = {
message: string;
name: string;
stack?: string;
};
export declare function isErrorLike(obj: unknown): obj is ErrorLike;

6

build/error/utils/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractErrorStack = exports.extractErrorName = exports.extractErrorMessage = void 0;
exports.isErrorLike = exports.extractErrorStack = exports.extractErrorName = exports.extractErrorMessage = void 0;
const tslib_1 = require("tslib");

@@ -41,1 +41,5 @@ const tg = tslib_1.__importStar(require("generic-type-guard"));

exports.extractErrorStack = extractErrorStack;
function isErrorLike(obj) {
return hasName(obj) && hasMessage(obj);
}
exports.isErrorLike = isErrorLike;
export * from "./bn";
export * from "./id";
export * from "./error";
export * from "./common";

@@ -7,1 +7,2 @@ "use strict";

tslib_1.__exportStar(require("./error"), exports);
tslib_1.__exportStar(require("./common"), exports);

4

package.json
{
"name": "@rarible/utils",
"version": "0.10.0-alpha.10",
"version": "0.10.0-alpha.13",
"keywords": [

@@ -36,3 +36,3 @@ "rarible",

},
"gitHead": "db86bc82bfc491a74c3717c5c7f1e996306206ef"
"gitHead": "248bce48687c674c82baeaf28130f91975b7a4dc"
}

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