@opentelemetry/otlp-exporter-base
Advanced tools
Comparing version 0.40.0 to 0.41.0
@@ -16,17 +16,3 @@ /* | ||
*/ | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
import { __extends } from "tslib"; | ||
import { OTLPExporterBase } from '../../OTLPExporterBase'; | ||
@@ -33,0 +19,0 @@ import { parseHeaders } from '../../util'; |
@@ -1,28 +0,2 @@ | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
import { __assign, __read } from "tslib"; | ||
/* | ||
@@ -29,0 +3,0 @@ * Copyright The OpenTelemetry Authors |
@@ -16,17 +16,3 @@ /* | ||
*/ | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
import { __extends } from "tslib"; | ||
import { OTLPExporterBase } from '../../OTLPExporterBase'; | ||
@@ -33,0 +19,0 @@ import { parseHeaders } from '../../util'; |
@@ -1,12 +0,2 @@ | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
import { __assign } from "tslib"; | ||
/* | ||
@@ -13,0 +3,0 @@ * Copyright The OpenTelemetry Authors |
@@ -16,17 +16,3 @@ /* | ||
*/ | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
if (typeof b !== "function" && b !== null) | ||
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
extendStatics(d, b); | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
})(); | ||
import { __extends } from "tslib"; | ||
/** | ||
@@ -33,0 +19,0 @@ * Interface for handling error |
@@ -16,18 +16,3 @@ /* | ||
*/ | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
import { __read } from "tslib"; | ||
import { diag } from '@opentelemetry/api'; | ||
@@ -34,0 +19,0 @@ import { getEnv } from '@opentelemetry/core'; |
@@ -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 |
"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 }); | ||
exports.invalidTimeout = exports.configureExporterTimeout = exports.appendRootPathToUrlIfNeeded = exports.appendResourcePathToUrl = exports.parseHeaders = exports.OTLPExporterError = exports.OTLPExporterBase = void 0; | ||
const tslib_1 = require("tslib"); | ||
/* | ||
@@ -29,3 +20,3 @@ * Copyright The OpenTelemetry Authors | ||
*/ | ||
__exportStar(require("./platform"), exports); | ||
(0, tslib_1.__exportStar)(require("./platform"), exports); | ||
var OTLPExporterBase_1 = require("./OTLPExporterBase"); | ||
@@ -32,0 +23,0 @@ Object.defineProperty(exports, "OTLPExporterBase", { enumerable: true, get: function () { return OTLPExporterBase_1.OTLPExporterBase; } }); |
@@ -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/otlp-exporter-base", | ||
"version": "0.40.0", | ||
"version": "0.41.0", | ||
"description": "OpenTelemetry OTLP Exporter base (for internal use only)", | ||
@@ -30,3 +30,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" | ||
@@ -65,15 +65,18 @@ }, | ||
"dependencies": { | ||
"@opentelemetry/core": "1.14.0" | ||
"@opentelemetry/core": "1.15.0", | ||
"tslib": "^2.3.1" | ||
}, | ||
"devDependencies": { | ||
"@opentelemetry/api": "1.4.1", | ||
"@types/mocha": "10.0.0", | ||
"@types/mocha": "10.0.1", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "10.0.13", | ||
"@types/sinon": "10.0.15", | ||
"codecov": "3.8.3", | ||
"cross-var": "1.1.0", | ||
"istanbul-instrumenter-loader": "3.0.1", | ||
"mocha": "10.0.0", | ||
"nock": "13.0.11", | ||
"lerna": "7.1.1", | ||
"mocha": "10.2.0", | ||
"nock": "13.3.1", | ||
"nyc": "15.1.0", | ||
"sinon": "15.0.0", | ||
"sinon": "15.1.2", | ||
"ts-loader": "8.4.0", | ||
@@ -88,3 +91,3 @@ "ts-mocha": "10.0.0", | ||
"sideEffects": false, | ||
"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
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
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
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
6
294354
3
15
3030
+ Addedtslib@^2.3.1
+ Added@opentelemetry/core@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/semantic-conventions@1.14.0(transitive)
Updated@opentelemetry/core@1.15.0