@opencensus/exporter-zipkin
Advanced tools
Comparing version 0.0.22 to 0.1.0
@@ -17,7 +17,14 @@ "use strict"; | ||
*/ | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
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" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./zipkin")); | ||
__exportStar(require("./zipkin"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -86,3 +86,3 @@ /** | ||
*/ | ||
publish(spans: Span[]): Promise<any>; | ||
publish(spans: Span[]): Promise<unknown>; | ||
} |
@@ -18,2 +18,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ZipkinTraceExporter = exports.MICROS_PER_MILLI = void 0; | ||
const core_1 = require("@opencensus/core"); | ||
@@ -38,2 +39,3 @@ const core_2 = require("@opencensus/core"); | ||
this.serviceName = options.serviceName; | ||
// @ts-expect-error ts-migrate(2345) FIXME: Argument of type 'this' is not assignable to param... Remove this comment to see the full error message | ||
this.buffer = new core_1.ExporterBuffer(this, options); | ||
@@ -181,2 +183,3 @@ this.logger = options.logger || core_2.logger.logger(); | ||
*/ | ||
// @ts-expect-error ts-migrate(2416) FIXME: Property 'publish' in type 'ZipkinTraceExporter' i... Remove this comment to see the full error message | ||
publish(spans) { | ||
@@ -189,4 +192,4 @@ const spanList = this.mountSpanList(spans); | ||
} | ||
exports.ZipkinTraceExporter = ZipkinTraceExporter; | ||
ZipkinTraceExporter.DEFAULT_URL = 'http://localhost:9411/api/v2/spans'; | ||
exports.ZipkinTraceExporter = ZipkinTraceExporter; | ||
//# sourceMappingURL=zipkin.js.map |
{ | ||
"name": "@opencensus/exporter-zipkin", | ||
"version": "0.0.22", | ||
"version": "0.1.0", | ||
"description": "OpenCensus Zipkin Exporter allows the user to send collected traces with OpenCensus Node.js to Zipkin.", | ||
@@ -52,17 +52,17 @@ "main": "build/src/index.js", | ||
"devDependencies": { | ||
"@types/mocha": "^7.0.0", | ||
"@types/nock": "^10.0.0", | ||
"@types/node": "^10.12.12", | ||
"codecov": "^3.6.2", | ||
"gts": "^1.0.0", | ||
"mocha": "^7.0.0", | ||
"nock": "^10.0.0", | ||
"nyc": "14.1.1", | ||
"ts-mocha": "^7.0.0", | ||
"ts-node": "^8.0.0", | ||
"typescript": "~3.2.0" | ||
"@types/mocha": "8.2.3", | ||
"@types/nock": "10.0.3", | ||
"@types/node": "10.17.60", | ||
"codecov": "3.8.3", | ||
"gts": "1.1.2", | ||
"mocha": "7.2.0", | ||
"nock": "10.0.6", | ||
"nyc": "15.1.0", | ||
"ts-mocha": "8.0.0", | ||
"ts-node": "8.10.2", | ||
"typescript": "3.9.10" | ||
}, | ||
"dependencies": { | ||
"@opencensus/core": "^0.0.22" | ||
"@opencensus/core": "^0.1.0" | ||
} | ||
} |
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
27464
321
2
+ Added@opencensus/core@0.1.0(transitive)
- Removed@opencensus/core@0.0.22(transitive)
Updated@opencensus/core@^0.1.0