@datadog/build-plugin
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
140114
3239