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 2.0.0 to 2.0.1

18

CHANGELOG.md

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

## v2.0.1
05-23-2019 13:08 PDT
### Implementation Changes
- fix: agent should correctly set zone in GCP ([#489](https://github.com/googleapis/cloud-profiler-nodejs/pull/489))
### Dependencies
- fix(deps): remove unused dependencies ([#494](https://github.com/googleapis/cloud-profiler-nodejs/pull/494))
- refactor: drop dependency on pify ([#493](https://github.com/googleapis/cloud-profiler-nodejs/pull/493))
### Documentation
- doc: remove reference to Node 6 from documentation ([#485](https://github.com/googleapis/cloud-profiler-nodejs/pull/485))
### Internal / Testing Changes
- chore: retry npm install in system test when the command hangs ([#491](https://github.com/googleapis/cloud-profiler-nodejs/pull/491))
- chore: remove unused third_party directory ([#486](https://github.com/googleapis/cloud-profiler-nodejs/pull/486))
## v2.0.0

@@ -9,0 +27,0 @@

3

out/src/index.js

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

return __awaiter(this, void 0, void 0, function* () {
const res = yield gcpMetadata.instance(field);
return res.data;
return gcpMetadata.instance(field);
});

@@ -47,0 +46,0 @@ }

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

const common_1 = require("@google-cloud/common");
const pify = require("pify");
const util_1 = require("util");
const pprof_1 = require("pprof");

@@ -37,3 +37,3 @@ const msToStr = require("pretty-ms");

const SCOPE = 'https://www.googleapis.com/auth/monitoring.write';
const gzip = pify(zlib.gzip);
const gzip = util_1.promisify(zlib.gzip);
var ProfileTypes;

@@ -147,3 +147,3 @@ (function (ProfileTypes) {

const buffer = profile_1.perftools.profiles.Profile.encode(p).finish();
const gzBuf = yield gzip(buffer);
const gzBuf = (yield gzip(buffer));
return gzBuf.toString('base64');

@@ -150,0 +150,0 @@ });

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

@@ -33,16 +33,10 @@ "repository": "googleapis/cloud-profiler-nodejs",

"dependencies": {
"gaxios": "2.0.1",
"@google-cloud/common": "^1.0.0",
"@types/console-log-level": "^1.4.0",
"@types/semver": "^6.0.0",
"bindings": "^1.2.1",
"console-log-level": "^1.4.0",
"delay": "^4.0.1",
"extend": "^3.0.1",
"findit2": "^2.2.3",
"gcp-metadata": "^2.0.0",
"lodash.pickby": "^4.6.0",
"p-limit": "^2.0.0",
"parse-duration": "^0.1.1",
"pify": "^4.0.0",
"pprof": "^0.2.0",

@@ -52,8 +46,6 @@ "pretty-ms": "^5.0.0",

"semver": "^6.0.0",
"source-map": "^0.6.1",
"split": "^1.0.1"
"source-map": "^0.6.1"
},
"devDependencies": {
"@types/extend": "^3.0.0",
"@types/lodash.pickby": "^4.6.4",
"@types/long": "^4.0.0",

@@ -63,10 +55,6 @@ "@types/mocha": "^5.0.0",

"@types/node": "^10.0.3",
"@types/p-limit": "^2.0.0",
"@types/pify": "^3.0.0",
"@types/pretty-ms": "^4.0.0",
"@types/request": "^2.47.1",
"@types/sinon": "^7.0.3",
"@types/tmp": "0.1.0",
"codecov": "^3.0.0",
"deep-copy": "^1.4.2",
"gts": "^1.0.0",

@@ -73,0 +61,0 @@ "intelli-espower-loader": "^1.0.1",

@@ -16,9 +16,6 @@ # Google Cloud Profiler

1. Your application will need to be using Node.js version 6.12.3 or greater,
Node.js 8.9.4 or greater, or Node.js 10.4.1 or greater. The profiler will not
be enabled when using earlier versions of Node 6, 8, and 10 because the
profiler is not stable with those versions of Node.js.
* Versions of Node.js 6 prior to 6.12.3 are impacted by
[this](https://bugs.chromium.org/p/v8/issues/detail?id=4959) issue, which can
cause segmentation faults when heap profiling is enabled.
1. Your application will need to be using Node.js 8.9.4 or greater, or Node.js
10.4.1 or greater. The profiler will not be enabled when using an earlier
version of Node 8 or 10 because the profiler is not stable with those versions
of Node.js.
* Versions of Node.js before Node.js 8 prior to 8.9.4 are impacted by

@@ -25,0 +22,0 @@ [this](https://bugs.chromium.org/p/v8/issues/detail?id=6623) issue, which

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