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

@datadog/build-plugin

Package Overview
Dependencies
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datadog/build-plugin - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

15

dist/hooks/datadog/metrics/common.js

@@ -85,3 +85,3 @@ "use strict";

type: 'count',
value: Object.keys(plugins).length,
value: plugins.size,
tags: [],

@@ -131,7 +131,7 @@ });

type: 'count',
value: Object.keys(loaders).length,
value: loaders.size,
tags: [],
});
metrics.push(...helpers_1.flattened(Object.values(loaders).map((loader) => [
{
for (const loader of loaders.values()) {
metrics.push({
metric: 'loaders.duration',

@@ -141,4 +141,3 @@ type: 'duration',

tags: [`loaderName:${loader.name}`],
},
{
}, {
metric: 'loaders.increment',

@@ -148,5 +147,5 @@ type: 'count',

tags: [`loaderName:${loader.name}`],
},
])));
});
}
return metrics;
};
{
"name": "@datadog/build-plugin",
"version": "1.0.3",
"version": "1.0.4",
"license": "MIT",

@@ -17,2 +17,5 @@ "author": "Datadog",

},
"volta": {
"node": "12.16.1"
},
"scripts": {

@@ -19,0 +22,0 @@ "build": "yarn clean; tsc",

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