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 3.0.0 to 3.0.1

9

CHANGELOG.md

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

### [3.0.1](https://www.github.com/googleapis/cloud-profiler-nodejs/compare/v3.0.0...v3.0.1) (2019-10-30)
### Bug Fixes
* remove @google-cloud/common retries for CreateProfile and UpdateProfile requests ([#555](https://www.github.com/googleapis/cloud-profiler-nodejs/issues/555)) ([09ef74d](https://www.github.com/googleapis/cloud-profiler-nodejs/commit/09ef74d9a9a84d4c3a04edd9f93013cf8c56425b))
* **deps:** update dependency pprof to v1.2.0 ([#557](https://www.github.com/googleapis/cloud-profiler-nodejs/issues/557)) ([664bf0e](https://www.github.com/googleapis/cloud-profiler-nodejs/commit/664bf0e948cfb898702a2c4198e8d30f0699862c))
## v3.0.0

@@ -117,2 +125,1 @@

Confirming that we can use [releasetool](https://github.com/googleapis/releasetool) to release the agent going forward.

4

out/src/index.d.ts

@@ -16,3 +16,3 @@ /**

*/
import { SemVer } from 'semver';
import * as semver from 'semver';
import { Config } from './config';

@@ -26,3 +26,3 @@ import { Profiler } from './profiler';

*/
export declare function nodeVersionOkay(version: string | SemVer): boolean;
export declare function nodeVersionOkay(version: string | semver.SemVer): boolean;
/**

@@ -29,0 +29,0 @@ * Initializes the config, and starts heap profiler if the heap profiler is

@@ -113,3 +113,3 @@ "use strict";

getMetadataInstanceField('zone'),
]).catch((err) => {
]).catch((_) => {
// ignore errors, which will occur when not on GCE.

@@ -228,3 +228,3 @@ })) || [undefined, undefined];

if (!config.disableHeap) {
const heap = yield profiler.profile({
yield profiler.profile({
name: 'Heap-Profile' + new Date(),

@@ -237,3 +237,3 @@ profileType: 'HEAP',

if (!config.disableTime) {
const wall = yield profiler.profile({
yield profiler.profile({
name: 'Time-Profile' + new Date(),

@@ -240,0 +240,0 @@ profileType: 'WALL',

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

json: true,
maxRetries: 0,
// Default timeout for for a request is 1 minute, but request to create

@@ -405,2 +406,3 @@ // profile is designed to hang until it is time to collect a profile

json: true,
maxRetries: 0,
};

@@ -407,0 +409,0 @@ try {

{
"name": "@google-cloud/profiler",
"version": "3.0.0",
"version": "3.0.1",
"description": "Adds support for Stackdriver Profiler to Node.js applications",

@@ -41,7 +41,6 @@ "repository": "googleapis/cloud-profiler-nodejs",

"parse-duration": "^0.1.1",
"pprof": "1.1.0",
"pprof": "1.2.0",
"pretty-ms": "^5.0.0",
"protobufjs": "~6.8.6",
"semver": "^6.0.0",
"source-map": "^0.7.0"
"semver": "^6.0.0"
},

@@ -59,3 +58,2 @@ "devDependencies": {

"gts": "^1.0.0",
"intelli-espower-loader": "^1.0.1",
"js-green-licenses": "^1.0.0",

@@ -69,4 +67,3 @@ "jsdoc": "^3.6.2",

"sinon": "^7.3.2",
"source-map-support": "^0.5.6",
"teeny-request": "^5.2.0",
"source-map": "^0.7.0",
"tmp": "0.1.0",

@@ -73,0 +70,0 @@ "typescript": "~3.6.0"

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 too big to display

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