Socket
Socket
Sign inDemoInstall

@google-cloud/trace-agent

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/trace-agent - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

1

build/src/cls.js

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.cls = exports.TraceCLS = exports.TraceCLSMechanism = void 0;
const semver = require("semver");

@@ -18,0 +19,0 @@ const async_hooks_1 = require("./cls/async-hooks");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.AsyncHooksCLS = void 0;
const shimmer = require("shimmer");

@@ -18,0 +19,0 @@ // A list of well-known EventEmitter methods that add event listeners.

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.AsyncListenerCLS = void 0;
/**

@@ -18,0 +19,0 @@ * An implementation of continuation-local storage that wraps the

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.NullCLS = void 0;
/**

@@ -18,0 +19,0 @@ * A trivial implementation of continuation-local storage where context takes on

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SingularCLS = void 0;
/**

@@ -18,0 +19,0 @@ * A trivial implementation of continuation-local storage where everything is

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = void 0;
const path = require("path");

@@ -18,0 +19,0 @@ const pluginDirectory = path.join(path.resolve(__dirname, '..'), 'src', 'plugins');

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SpanType = exports.Constants = void 0;
// TODO(kjin): Once tests are fully converted, undercase the name of this

@@ -18,0 +19,0 @@ // variable.

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.get = exports.start = exports.PluginTypes = void 0;
const filesLoadedBeforeTrace = Object.keys(require.cache);

@@ -18,0 +19,0 @@ // This file's top-level imports must not transitively depend on modules that

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Logger = exports.LEVELS = void 0;
const consoleLogLevel = require("console-log-level");

@@ -18,0 +19,0 @@ const config_1 = require("./config");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.DISABLED_ROOT_SPAN = exports.UNCORRELATED_ROOT_SPAN = exports.DISABLED_CHILD_SPAN = exports.UNCORRELATED_CHILD_SPAN = exports.UntracedRootSpanData = exports.ChildSpanData = exports.RootSpanData = exports.BaseSpanData = void 0;
const crypto = require("crypto");

@@ -18,0 +19,0 @@ const util = require("util");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.StackdriverTracer = void 0;
const uuid = require("uuid");

@@ -18,0 +19,0 @@ const cls_1 = require("./cls");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.TraceLabels = void 0;
// TODO(kjin): Once tests are fully converted, undercase the name of this

@@ -18,0 +19,0 @@ // variable.

2

build/src/trace-plugin-loader.d.ts

@@ -130,3 +130,3 @@ import { Plugin } from './plugin-types';

constructor(config: PluginLoaderConfig, components: StackdriverTracerComponents);
readonly state: PluginLoaderState;
get state(): PluginLoaderState;
/**

@@ -133,0 +133,0 @@ * Activates plugin loading/patching by hooking into the require method.

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.pluginLoader = exports.PluginLoader = exports.PluginLoaderState = exports.CorePluginWrapper = exports.ModulePluginWrapper = void 0;
const builtinModules = require("builtin-modules");

@@ -18,0 +19,0 @@ const path = require("path");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.traceWriter = exports.TraceWriter = exports.TraceBuffer = void 0;
const gcpMetadata = require("gcp-metadata");

@@ -18,0 +19,0 @@ const os = require("os");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.SpanKind = void 0;
// Data model for Stackdriver Trace API

@@ -18,0 +19,0 @@ // https://cloud.google.com/trace/docs/reference/v1/rest/v1/projects.traces

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.neverTrace = exports.alwaysTrace = exports.BuiltinTracePolicy = exports.TraceContextHeaderBehavior = void 0;
const constants_1 = require("./constants");

@@ -4,0 +5,0 @@ // Copyright 2015 Google LLC

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.tracing = exports.Tracing = void 0;
const propagation_stackdriver_1 = require("@opencensus/propagation-stackdriver");

@@ -18,0 +19,0 @@ const path = require("path");

"use strict";
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.deserializeTraceContext = exports.serializeTraceContext = exports.createStackTrace = exports.packageNameFromPath = exports.generateTraceContext = exports.parseContextFromHeader = exports.truncate = exports.lastOf = exports.Singleton = exports.FORCE_NEW = exports.kSingleton = exports.decToHex = exports.hexToDec = void 0;
// Copyright 2015 Google LLC

@@ -5,0 +6,0 @@ //

# Changelog
### [5.1.1](https://www.github.com/googleapis/cloud-trace-nodejs/compare/v5.1.0...v5.1.1) (2020-09-12)
### Bug Fixes
* typeo in nodejs .gitattribute ([#1290](https://www.github.com/googleapis/cloud-trace-nodejs/issues/1290)) ([24deca8](https://www.github.com/googleapis/cloud-trace-nodejs/commit/24deca8e39df2507db3e2283ff540aceb54a6c89))
## [5.1.0](https://www.github.com/googleapis/cloud-trace-nodejs/compare/v5.0.0...v5.1.0) (2020-06-11)

@@ -4,0 +11,0 @@

{
"name": "@google-cloud/trace-agent",
"version": "5.1.0",
"version": "5.1.1",
"description": "Node.js Support for StackDriver Trace",

@@ -27,3 +27,5 @@ "main": "build/src/index.js",

"samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../",
"prelint": "cd samples; npm link ../; npm i"
"prelint": "cd samples; npm link ../; npm i",
"api-extractor": "api-extractor run --local",
"api-documenter": "api-documenter yaml --input-folder=temp"
},

@@ -63,3 +65,3 @@ "files": [

"@types/methods": "^1.1.0",
"@types/mocha": "^7.0.0",
"@types/mocha": "^8.0.0",
"@types/mongoose": "^5.3.26",

@@ -76,3 +78,3 @@ "@types/nock": "^10.0.0",

"@types/uuid": "^8.0.0",
"axios": "^0.19.0",
"axios": "^0.20.0",
"c8": "^7.0.0",

@@ -88,3 +90,3 @@ "cpy": "^8.0.0",

"mocha": "^8.0.0",
"nock": "^12.0.0",
"nock": "^13.0.0",
"once": "^1.4.0",

@@ -95,4 +97,6 @@ "retry-axios": "^2.0.0",

"tmp": "0.2.1",
"ts-node": "^8.0.0",
"typescript": "3.6.4"
"ts-node": "^9.0.0",
"typescript": "^3.9.6",
"@microsoft/api-documenter": "^7.8.10",
"@microsoft/api-extractor": "^7.8.10"
},

@@ -99,0 +103,0 @@ "dependencies": {

@@ -17,2 +17,5 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

A comprehensive list of changes in each version may be found in
[the CHANGELOG](https://github.com/googleapis/cloud-trace-nodejs/blob/master/CHANGELOG.md).
* [Stackdriver Trace Node.js Client API Reference][client-docs]

@@ -19,0 +22,0 @@ * [Stackdriver Trace Documentation][product-docs]

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc