@opentelemetry/metrics
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -26,3 +26,3 @@ "use strict"; | ||
if (boundaries === undefined || boundaries.length === 0) { | ||
throw new Error(`HistogramAggregator should be created with boundaries.`); | ||
throw new Error('HistogramAggregator should be created with boundaries.'); | ||
} | ||
@@ -29,0 +29,0 @@ // we need to an ordered set to be able to correctly compute count for each |
@@ -134,3 +134,3 @@ "use strict"; | ||
_isValidName(name) { | ||
return Boolean(name.match(/^[a-z][a-z0-9_.\-]*$/i)); | ||
return Boolean(name.match(/^[a-z][a-z0-9_.-]*$/i)); | ||
} | ||
@@ -137,0 +137,0 @@ } |
@@ -1,17 +0,2 @@ | ||
/*! | ||
* Copyright 2019, OpenTelemetry Authors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
export declare const VERSION = "0.8.1"; | ||
export declare const VERSION = "0.8.2"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
/*! | ||
* Copyright 2019, OpenTelemetry Authors | ||
/* | ||
* Copyright 2020, OpenTelemetry Authors | ||
* | ||
@@ -19,3 +19,3 @@ * Licensed under the Apache License, Version 2.0 (the "License"); | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.8.1'; | ||
exports.VERSION = '0.8.2'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/metrics", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "OpenTelemetry metrics SDK", | ||
@@ -13,4 +13,4 @@ "main": "build/src/index.js", | ||
"clean": "rimraf build/*", | ||
"lint": "gts check", | ||
"lint:fix": "gts fix", | ||
"lint": "eslint . --ext .ts", | ||
"lint:fix": "eslint . --ext .ts --fix", | ||
"precompile": "tsc --version", | ||
@@ -49,3 +49,3 @@ "version:update": "node ../../scripts/version-update.js", | ||
"codecov": "^3.6.1", | ||
"gts": "^1.1.0", | ||
"gts": "^2.0.0", | ||
"mocha": "^7.1.2", | ||
@@ -57,11 +57,9 @@ "nyc": "^15.0.0", | ||
"ts-node": "^8.6.2", | ||
"tslint-consistent-codestyle": "^1.16.0", | ||
"tslint-microsoft-contrib": "^6.2.0", | ||
"typescript": "3.7.2" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/api": "^0.8.1", | ||
"@opentelemetry/core": "^0.8.1", | ||
"@opentelemetry/resources": "^0.8.1" | ||
"@opentelemetry/api": "^0.8.2", | ||
"@opentelemetry/core": "^0.8.2", | ||
"@opentelemetry/resources": "^0.8.2" | ||
} | ||
} |
12
86362
1804
Updated@opentelemetry/api@^0.8.2
Updated@opentelemetry/core@^0.8.2