Socket
Socket
Sign inDemoInstall

@google-cloud/profiler

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/profiler - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

9

build/src/index.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.startLocal = exports.start = exports.createProfiler = exports.nodeVersionOkay = void 0;
exports.nodeVersionOkay = nodeVersionOkay;
exports.createProfiler = createProfiler;
exports.start = start;
exports.startLocal = startLocal;
const delay_1 = require("delay");

@@ -137,3 +140,2 @@ const extend = require("extend");

}
exports.nodeVersionOkay = nodeVersionOkay;
/**

@@ -168,3 +170,2 @@ * Initializes the config, and starts heap profiler if the heap profiler is

}
exports.createProfiler = createProfiler;
/**

@@ -188,3 +189,2 @@ * Starts the profiling agent and returns a promise.

}
exports.start = start;
/**

@@ -247,3 +247,2 @@ * For debugging purposes. Collects profiles and discards the collected

}
exports.startLocal = startLocal;
// If the module was --require'd from the command line, start the agent.

@@ -250,0 +249,0 @@ if (module.parent && module.parent.id === 'internal/preload') {

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.createLogger = exports.Logger = void 0;
exports.Logger = void 0;
exports.createLogger = createLogger;
/* eslint-disable @typescript-eslint/no-explicit-any */

@@ -81,3 +82,2 @@ const config_1 = require("./config");

}
exports.createLogger = createLogger;
//# sourceMappingURL=logger.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.Profiler = exports.Retryer = exports.BackoffResponseError = exports.parseBackoffDuration = void 0;
exports.Profiler = exports.Retryer = exports.BackoffResponseError = void 0;
exports.parseBackoffDuration = parseBackoffDuration;
const common_1 = require("@google-cloud/common");

@@ -100,3 +101,2 @@ const pprof_1 = require("pprof");

}
exports.parseBackoffDuration = parseBackoffDuration;
/**

@@ -103,0 +103,0 @@ * @return true if an deployment is a Deployment and false otherwise.

@@ -7,2 +7,11 @@ # Changelog

## [6.0.2](https://github.com/googleapis/cloud-profiler-nodejs/compare/v6.0.1...v6.0.2) (2024-09-11)
### Bug Fixes
* **deps:** Update dependency @google-cloud/logging-min to v11 ([#939](https://github.com/googleapis/cloud-profiler-nodejs/issues/939)) ([97ec3fb](https://github.com/googleapis/cloud-profiler-nodejs/commit/97ec3fbe9d254dc824b6df9eec6630b3acfd04c6))
* **deps:** Update dependency protobufjs to ~7.3.0 ([#928](https://github.com/googleapis/cloud-profiler-nodejs/issues/928)) ([89eb3be](https://github.com/googleapis/cloud-profiler-nodejs/commit/89eb3be3c19e8f607d5a7764c8849a0f602f47dc))
* **deps:** Update dependency protobufjs to ~7.4.0 ([#938](https://github.com/googleapis/cloud-profiler-nodejs/issues/938)) ([60b8264](https://github.com/googleapis/cloud-profiler-nodejs/commit/60b826405724d16c5173a1b9c6a852bd34222f4d))
## [6.0.1](https://github.com/googleapis/cloud-profiler-nodejs/compare/v6.0.0...v6.0.1) (2024-02-05)

@@ -9,0 +18,0 @@

{
"name": "@google-cloud/profiler",
"version": "6.0.1",
"version": "6.0.2",
"description": "Adds support for Cloud Profiler to Node.js applications",

@@ -31,3 +31,3 @@ "repository": "googleapis/cloud-profiler-nodejs",

"@google-cloud/common": "^5.0.0",
"@google-cloud/logging-min": "^10.0.0",
"@google-cloud/logging-min": "^11.0.0",
"@types/console-log-level": "^1.4.0",

@@ -42,3 +42,3 @@ "@types/semver": "^7.0.0",

"pretty-ms": "^7.0.0",
"protobufjs": "~7.2.4",
"protobufjs": "~7.4.0",
"semver": "^7.0.0",

@@ -49,7 +49,7 @@ "teeny-request": "^9.0.0"

"@types/extend": "^3.0.0",
"@types/long": "^4.0.0",
"@types/long": "^5.0.0",
"@types/mocha": "^9.0.0",
"@types/nock": "^10.0.0",
"@types/nock": "^11.0.0",
"@types/node": "^20.4.9",
"@types/pretty-ms": "^4.0.0",
"@types/pretty-ms": "^5.0.0",
"@types/sinon": "^17.0.0",

@@ -67,5 +67,5 @@ "@types/tmp": "0.2.6",

"nock": "^13.0.0",
"sinon": "^17.0.0",
"sinon": "^18.0.0",
"source-map": "^0.7.0",
"tmp": "0.2.1",
"tmp": "0.2.3",
"typescript": "^5.1.6"

@@ -72,0 +72,0 @@ },

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

[client-docs]: https://cloud.google.com/nodejs/docs/reference/profiler/latest
[product-docs]: https://cloud.google.com/profiler
[product-docs]: https://cloud.google.com/profiler/docs
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png

@@ -406,0 +406,0 @@ [projects]: https://console.cloud.google.com/project

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

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