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

@neo-one/utils

Package Overview
Dependencies
Maintainers
3
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo-one/utils - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0-alpha-8

11

labels.d.ts

@@ -51,12 +51,1 @@ export declare enum Labels {

}
export declare const labelToTag: (label: string) => {
name: string;
};
export declare const labelsToTags: (labels: readonly string[]) => {
name: string;
}[];
interface Span {
readonly addAttribute: (key: string, value: string | number | boolean) => void;
}
export declare const addAttributesToSpan: (span: Span, attributes: Record<string, string | number | boolean>) => void;
export {};

@@ -54,12 +54,3 @@ "use strict";

})(Labels = exports.Labels || (exports.Labels = {}));
exports.labelToTag = (label) => ({
name: label.replace(/\./g, '_'),
});
exports.labelsToTags = (labels) => labels.map(exports.labelToTag);
exports.addAttributesToSpan = (span, attributes) => {
Object.entries(attributes).forEach(([key, value]) => {
span.addAttribute(key, value);
});
};
//# sourceMappingURL=labels.js.map

2

makeErrorWithCode.d.ts

@@ -9,5 +9,5 @@ /// <reference types="node" />

};
captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void;
captureStackTrace(targetObject: object, constructorOpt?: Function | undefined): void;
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
stackTraceLimit: number;
};
{
"name": "@neo-one/utils",
"version": "2.4.0",
"version": "2.5.0-alpha-8",
"author": "Alex DiCarlo <alexdicarlo@gmail.com>",

@@ -5,0 +5,0 @@ "description": "NEO•ONE shared utils.",

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