@google-cloud/spanner 5.16.1 → 5.16.2

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 CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/nodejs-spanner?activeTab=versions
6
6
 
7
+ ### [5.16.2](https://github.com/googleapis/nodejs-spanner/compare/v5.16.1...v5.16.2) (2022-01-17)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * fix for new @types/node version ([#1542](https://github.com/googleapis/nodejs-spanner/issues/1542)) ([4b56c58](https://github.com/googleapis/nodejs-spanner/commit/4b56c584fa85ab8b22867157566ce7245daa8d8d))
13
+
7
14
  ### [5.16.1](https://www.github.com/googleapis/nodejs-spanner/compare/v5.16.0...v5.16.1) (2021-12-29)
8
15
 
9
16
 
package/README.md CHANGED
@@ -4,9 +4,8 @@
4
4
 
5
5
  # [Cloud Spanner: Node.js Client](https://github.com/googleapis/nodejs-spanner)
6
6
 
7
- [![release level](https://img.shields.io/badge/release%20level-general%20availability%20%28GA%29-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
7
+ [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
8
8
  [![npm version](https://img.shields.io/npm/v/@google-cloud/spanner.svg)](https://www.npmjs.org/package/@google-cloud/spanner)
9
- [![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-spanner/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-spanner)
10
9
 
11
10
 
12
11
 
@@ -170,10 +169,10 @@ _Legacy Node.js versions are supported as a best effort:_
170
169
  This library follows [Semantic Versioning](http://semver.org/).
171
170
 
172
171
 
173
- This library is considered to be **General Availability (GA)**. This means it
174
- is stable; the code surface will not change in backwards-incompatible ways
172
+
173
+ This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways
175
174
  unless absolutely necessary (e.g. because of critical security issues) or with
176
- an extensive deprecation period. Issues and requests against **GA** libraries
175
+ an extensive deprecation period. Issues and requests against **stable** libraries
177
176
  are addressed with the highest priority.
178
177
 
179
178
 
@@ -181,7 +180,6 @@ are addressed with the highest priority.
181
180
 
182
181
 
183
182
 
184
-
185
183
  More Information: [Google Cloud Platform Launch Stages][launch_stages]
186
184
 
187
185
  [launch_stages]: https://cloud.google.com/terms/launch-stages
@@ -1,4 +1,4 @@
1
- // Copyright 2021 Google LLC
1
+ // Copyright 2022 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2021 Google LLC
1
+ // Copyright 2022 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -127,7 +127,7 @@ export declare class PartialResultStream extends Transform implements ResultEven
127
127
  *
128
128
  * @param {Error} [err] Optional error to destroy stream with.
129
129
  */
130
- destroy(err?: Error): void;
130
+ destroy(err?: Error): this;
131
131
  /**
132
132
  * Processes each chunk.
133
133
  *
@@ -51,7 +51,7 @@ class PartialResultStream extends stream_1.Transform {
51
51
  */
52
52
  destroy(err) {
53
53
  if (this._destroyed) {
54
- return;
54
+ return this;
55
55
  }
56
56
  this._destroyed = true;
57
57
  process.nextTick(() => {
@@ -60,6 +60,7 @@ class PartialResultStream extends stream_1.Transform {
60
60
  }
61
61
  this.emit('close');
62
62
  });
63
+ return this;
63
64
  }
64
65
  /**
65
66
  * Processes each chunk.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@google-cloud/spanner",
3
3
  "description": "Cloud Spanner Client Library for Node.js",
4
- "version": "5.16.1",
4
+ "version": "5.16.2",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Google Inc.",
7
7
  "engines": {