@google-cloud/profiler 4.2.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/build/package.json +86 -0
- package/package.json +10 -10
- package/build/protos/README.md +0 -3
- package/build/protos/profile.d.ts +0 -945
- package/build/protos/profile.js +0 -2989
- package/build/protos/profiler.d.ts +0 -3874
- package/build/protos/profiler.js +0 -10254
- package/build/src/config.d.ts +0 -80
- package/build/src/config.js +0 -42
- package/build/src/config.js.map +0 -1
- package/build/src/index.d.ts +0 -36
- package/build/src/index.js +0 -248
- package/build/src/index.js.map +0 -1
- package/build/src/logger.d.ts +0 -12
- package/build/src/logger.js +0 -77
- package/build/src/logger.js.map +0 -1
- package/build/src/profiler.d.ts +0 -148
- package/build/src/profiler.js +0 -464
- package/build/src/profiler.js.map +0 -1
- package/build/src/v8-types.d.ts +0 -25
- package/build/src/v8-types.js +0 -16
- package/build/src/v8-types.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/@google-cloud/profiler?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [5.0.0](https://github.com/googleapis/cloud-profiler-nodejs/compare/v4.2.0...v5.0.0) (2022-06-20)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
|
|
12
|
+
* update library to use Node 12 (#835)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **deps:** update dependency @google-cloud/common to v4 ([#843](https://github.com/googleapis/cloud-profiler-nodejs/issues/843)) ([1af6b0f](https://github.com/googleapis/cloud-profiler-nodejs/commit/1af6b0f18aec665b042a27ea90158b99d7435d4e))
|
|
17
|
+
* **deps:** update dependency @google-cloud/logging-min to v10 ([#838](https://github.com/googleapis/cloud-profiler-nodejs/issues/838)) ([1120298](https://github.com/googleapis/cloud-profiler-nodejs/commit/11202986b7d4501637e7c30c5e9787789e98ccba))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Build System
|
|
21
|
+
|
|
22
|
+
* update library to use Node 12 ([#835](https://github.com/googleapis/cloud-profiler-nodejs/issues/835)) ([07221ef](https://github.com/googleapis/cloud-profiler-nodejs/commit/07221ef0503c25311834a50b987b70d51393420c))
|
|
23
|
+
|
|
7
24
|
## [4.2.0](https://github.com/googleapis/cloud-profiler-nodejs/compare/v4.1.7...v4.2.0) (2022-05-13)
|
|
8
25
|
|
|
9
26
|
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@google-cloud/profiler",
|
|
3
|
+
"version": "5.0.0",
|
|
4
|
+
"description": "Adds support for Cloud Profiler to Node.js applications",
|
|
5
|
+
"repository": "googleapis/cloud-profiler-nodejs",
|
|
6
|
+
"main": "build/src/index.js",
|
|
7
|
+
"types": "build/src/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"test": "c8 mocha build/test/test-*.js",
|
|
10
|
+
"system-test": "c8 --no-clean mocha build/system-test/test-*.js --timeout=60000",
|
|
11
|
+
"samples-test": "echo 'no sample tests'",
|
|
12
|
+
"clean": "gts clean",
|
|
13
|
+
"compile": "tsc -p . && cp -R protos build",
|
|
14
|
+
"fix": "gts fix",
|
|
15
|
+
"lint": "gts check",
|
|
16
|
+
"docs": "jsdoc -c .jsdoc.js",
|
|
17
|
+
"prelint": "cd samples; npm link ../; npm install",
|
|
18
|
+
"prepare": "npm run compile",
|
|
19
|
+
"pretest": "npm run compile",
|
|
20
|
+
"proto": "mkdir -p protos && pbjs -t static-module -w commonjs -o protos/profiler.js third_party/googleapis/google/devtools/cloudprofiler/v2/profiler.proto && pbts -o protos/profiler.d.ts protos/profiler.js",
|
|
21
|
+
"license-check": "jsgl --local .",
|
|
22
|
+
"docs-test": "linkinator docs",
|
|
23
|
+
"predocs-test": "npm run docs",
|
|
24
|
+
"precompile": "gts clean"
|
|
25
|
+
},
|
|
26
|
+
"author": {
|
|
27
|
+
"name": "Google Inc."
|
|
28
|
+
},
|
|
29
|
+
"license": "Apache-2.0",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@google-cloud/common": "^4.0.0",
|
|
32
|
+
"@google-cloud/logging-min": "^10.0.0",
|
|
33
|
+
"@types/console-log-level": "^1.4.0",
|
|
34
|
+
"@types/semver": "^7.0.0",
|
|
35
|
+
"console-log-level": "^1.4.0",
|
|
36
|
+
"delay": "^5.0.0",
|
|
37
|
+
"extend": "^3.0.2",
|
|
38
|
+
"gcp-metadata": "^4.0.0",
|
|
39
|
+
"parse-duration": "^1.0.0",
|
|
40
|
+
"pprof": "3.2.0",
|
|
41
|
+
"pretty-ms": "^7.0.0",
|
|
42
|
+
"protobufjs": "~6.11.0",
|
|
43
|
+
"semver": "^7.0.0",
|
|
44
|
+
"teeny-request": "^8.0.0"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/extend": "^3.0.0",
|
|
48
|
+
"@types/long": "^4.0.0",
|
|
49
|
+
"@types/mocha": "^9.0.0",
|
|
50
|
+
"@types/nock": "^10.0.0",
|
|
51
|
+
"@types/node": "^16.0.0",
|
|
52
|
+
"@types/pretty-ms": "^4.0.0",
|
|
53
|
+
"@types/sinon": "^10.0.0",
|
|
54
|
+
"@types/tmp": "0.2.3",
|
|
55
|
+
"c8": "^7.0.0",
|
|
56
|
+
"codecov": "^3.0.0",
|
|
57
|
+
"gts": "^3.1.0",
|
|
58
|
+
"js-green-licenses": "^3.0.0",
|
|
59
|
+
"jsdoc": "^3.6.2",
|
|
60
|
+
"jsdoc-fresh": "^2.0.0",
|
|
61
|
+
"jsdoc-region-tag": "^2.0.0",
|
|
62
|
+
"linkinator": "^2.0.0",
|
|
63
|
+
"mocha": "^9.2.2",
|
|
64
|
+
"nock": "^13.0.0",
|
|
65
|
+
"sinon": "^14.0.0",
|
|
66
|
+
"source-map": "^0.7.0",
|
|
67
|
+
"tmp": "0.2.1",
|
|
68
|
+
"typescript": "^4.7.2"
|
|
69
|
+
},
|
|
70
|
+
"files": [
|
|
71
|
+
"build/src",
|
|
72
|
+
"build/third_party/cloud-debug-nodejs",
|
|
73
|
+
"bindings",
|
|
74
|
+
"build/protos"
|
|
75
|
+
],
|
|
76
|
+
"nyc": {
|
|
77
|
+
"exclude": [
|
|
78
|
+
"protos",
|
|
79
|
+
"build/test",
|
|
80
|
+
"build/system-test"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"engines": {
|
|
84
|
+
"node": ">=12.0.0"
|
|
85
|
+
}
|
|
86
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-cloud/profiler",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Adds support for Cloud Profiler to Node.js applications",
|
|
5
5
|
"repository": "googleapis/cloud-profiler-nodejs",
|
|
6
6
|
"main": "build/src/index.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@google-cloud/common": "^
|
|
32
|
-
"@google-cloud/logging-min": "^
|
|
31
|
+
"@google-cloud/common": "^4.0.0",
|
|
32
|
+
"@google-cloud/logging-min": "^10.0.0",
|
|
33
33
|
"@types/console-log-level": "^1.4.0",
|
|
34
34
|
"@types/semver": "^7.0.0",
|
|
35
35
|
"console-log-level": "^1.4.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"pretty-ms": "^7.0.0",
|
|
42
42
|
"protobufjs": "~6.11.0",
|
|
43
43
|
"semver": "^7.0.0",
|
|
44
|
-
"teeny-request": "^
|
|
44
|
+
"teeny-request": "^8.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/extend": "^3.0.0",
|
|
@@ -54,18 +54,18 @@
|
|
|
54
54
|
"@types/tmp": "0.2.3",
|
|
55
55
|
"c8": "^7.0.0",
|
|
56
56
|
"codecov": "^3.0.0",
|
|
57
|
-
"gts": "^
|
|
57
|
+
"gts": "^3.1.0",
|
|
58
58
|
"js-green-licenses": "^3.0.0",
|
|
59
59
|
"jsdoc": "^3.6.2",
|
|
60
|
-
"jsdoc-fresh": "^
|
|
61
|
-
"jsdoc-region-tag": "^
|
|
60
|
+
"jsdoc-fresh": "^2.0.0",
|
|
61
|
+
"jsdoc-region-tag": "^2.0.0",
|
|
62
62
|
"linkinator": "^2.0.0",
|
|
63
|
-
"mocha": "^
|
|
63
|
+
"mocha": "^9.2.2",
|
|
64
64
|
"nock": "^13.0.0",
|
|
65
65
|
"sinon": "^14.0.0",
|
|
66
66
|
"source-map": "^0.7.0",
|
|
67
67
|
"tmp": "0.2.1",
|
|
68
|
-
"typescript": "^
|
|
68
|
+
"typescript": "^4.7.2"
|
|
69
69
|
},
|
|
70
70
|
"files": [
|
|
71
71
|
"build/src",
|
|
@@ -81,6 +81,6 @@
|
|
|
81
81
|
]
|
|
82
82
|
},
|
|
83
83
|
"engines": {
|
|
84
|
-
"node": ">=
|
|
84
|
+
"node": ">=12.0.0"
|
|
85
85
|
}
|
|
86
86
|
}
|
package/build/protos/README.md
DELETED