New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nodeswork/utils

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodeswork/utils - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

1

dist/metrics/operators.d.ts

@@ -14,2 +14,3 @@ import { MetricsData, MetricsDimensions, MetricsValue, Operator } from './def';

}
export declare function dimensions(...args: any[]): MetricsDimensions;
export interface UpdateMetricsDataOptions<T> {

@@ -16,0 +17,0 @@ dimensions?: MetricsDimensions;

@@ -167,2 +167,10 @@ "use strict";

exports.MetricsOperator = MetricsOperator;
function dimensions(...args) {
const result = {};
for (let idx = 0; idx < args.length; idx += 2) {
result[args[idx]] = args[idx + 1];
}
return result;
}
exports.dimensions = dimensions;
exports.operator = new MetricsOperator();

2

package.json
{
"name": "@nodeswork/utils",
"version": "0.1.2",
"version": "0.1.3",
"description": "Utilities used across nodeswork repos.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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