@opentelemetry/opentelemetry-browser-detector
Advanced tools
Comparing version 0.40.0 to 0.41.0
@@ -16,38 +16,3 @@ /* | ||
*/ | ||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
}); | ||
}; | ||
var __generator = (this && this.__generator) || function (thisArg, body) { | ||
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; | ||
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; | ||
function verb(n) { return function (v) { return step([n, v]); }; } | ||
function step(op) { | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
if (y = 0, t) op = [op[0] & 2, t.value]; | ||
switch (op[0]) { | ||
case 0: case 1: t = op; break; | ||
case 4: _.label++; return { value: op[1], done: false }; | ||
case 5: _.label++; y = op[1]; op = [0]; continue; | ||
case 7: op = _.ops.pop(); _.trys.pop(); continue; | ||
default: | ||
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } | ||
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } | ||
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } | ||
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } | ||
if (t[2]) _.ops.pop(); | ||
_.trys.pop(); continue; | ||
} | ||
op = body.call(thisArg, _); | ||
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } | ||
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; | ||
} | ||
}; | ||
import { __awaiter, __generator } from "tslib"; | ||
import { diag } from '@opentelemetry/api'; | ||
@@ -54,0 +19,0 @@ import { Resource, } from '@opentelemetry/resources'; |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.40.0"; | ||
export declare const VERSION = "0.41.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '0.40.0'; | ||
export var VERSION = '0.41.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.40.0"; | ||
export declare const VERSION = "0.41.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '0.40.0'; | ||
export const VERSION = '0.41.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -17,14 +17,5 @@ "use strict"; | ||
*/ | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./BrowserDetector"), exports); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./BrowserDetector"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.40.0"; | ||
export declare const VERSION = "0.41.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.40.0'; | ||
exports.VERSION = '0.41.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/opentelemetry-browser-detector", | ||
"version": "0.40.0", | ||
"version": "0.41.0", | ||
"description": "OpenTelemetry Resource Detector for Browser", | ||
@@ -23,3 +23,3 @@ "main": "build/src/index.js", | ||
"watch": "tsc --build --watch tsconfig.json tsconfig.esm.json tsconfig.esnext.json", | ||
"precompile": "lerna run version --scope $(npm pkg get name) --include-dependencies", | ||
"precompile": "cross-var lerna run version --scope $npm_package_name --include-dependencies", | ||
"prewatch": "npm run precompile", | ||
@@ -57,11 +57,13 @@ "peer-api-check": "node ../../../scripts/peer-api-check.js" | ||
"devDependencies": { | ||
"@babel/core": "7.16.0", | ||
"@babel/core": "7.22.6", | ||
"@opentelemetry/api": "1.4.1", | ||
"@types/mocha": "9.1.1", | ||
"@types/mocha": "10.0.1", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "10.0.13", | ||
"@types/sinon": "10.0.15", | ||
"codecov": "3.8.3", | ||
"mocha": "10.0.0", | ||
"cross-var": "1.1.0", | ||
"lerna": "7.1.1", | ||
"mocha": "10.2.0", | ||
"nyc": "15.1.0", | ||
"sinon": "15.0.0", | ||
"sinon": "15.1.2", | ||
"ts-loader": "8.4.0", | ||
@@ -75,7 +77,8 @@ "ts-mocha": "10.0.0", | ||
"dependencies": { | ||
"@opentelemetry/resources": "1.14.0", | ||
"@opentelemetry/semantic-conventions": "1.14.0" | ||
"@opentelemetry/resources": "1.15.0", | ||
"@opentelemetry/semantic-conventions": "1.15.0", | ||
"tslib": "^2.3.1" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/experimental/packages/browser-detector", | ||
"gitHead": "edebbcc757535bc88f01340409dbbecc0bb6ccf8" | ||
"gitHead": "06e919d6c909e8cc8e28b6624d9843f401d9b059" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
55411
4
14
438
+ Addedtslib@^2.3.1
+ Added@opentelemetry/core@1.15.0(transitive)
+ Added@opentelemetry/resources@1.15.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.15.0(transitive)
+ Addedtslib@2.8.1(transitive)
- Removed@opentelemetry/core@1.14.0(transitive)
- Removed@opentelemetry/resources@1.14.0(transitive)
- Removed@opentelemetry/semantic-conventions@1.14.0(transitive)