@google-cloud/promisify 2.0.3 → 2.0.4

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +9 -10
  3. package/package.json +6 -10
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@
4
4
 
5
5
  [1]: https://www.npmjs.com/package/nodejs-promisify?activeTab=versions
6
6
 
7
+ ### [2.0.4](https://www.github.com/googleapis/nodejs-promisify/compare/v2.0.3...v2.0.4) (2021-09-09)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **build:** switch primary branch to main ([#270](https://www.github.com/googleapis/nodejs-promisify/issues/270)) ([11242f7](https://www.github.com/googleapis/nodejs-promisify/commit/11242f7f76e170dae7a429f8d4064bf33be9bb3f))
13
+
7
14
  ### [2.0.3](https://www.github.com/googleapis/nodejs-promisify/compare/v2.0.2...v2.0.3) (2020-09-04)
8
15
 
9
16
 
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
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)
8
8
  [![npm version](https://img.shields.io/npm/v/@google-cloud/promisify.svg)](https://www.npmjs.org/package/@google-cloud/promisify)
9
- [![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-promisify/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-promisify)
9
+ [![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-promisify/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-promisify)
10
10
 
11
11
 
12
12
 
@@ -15,7 +15,7 @@ A simple utility for promisifying functions and classes.
15
15
 
16
16
 
17
17
  A comprehensive list of changes in each version may be found in
18
- [the CHANGELOG](https://github.com/googleapis/nodejs-promisify/blob/master/CHANGELOG.md).
18
+ [the CHANGELOG](https://github.com/googleapis/nodejs-promisify/blob/main/CHANGELOG.md).
19
19
 
20
20
  * [Google Cloud Common Promisify Node.js Client API Reference][client-docs]
21
21
 
@@ -80,12 +80,11 @@ installed as a dependency when you install other `@google-cloud` packages.
80
80
 
81
81
  ## Samples
82
82
 
83
- Samples are in the [`samples/`](https://github.com/googleapis/nodejs-promisify/tree/master/samples) directory. The samples' `README.md`
84
- has instructions for running the samples.
83
+ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-promisify/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
85
84
 
86
85
  | Sample | Source Code | Try it |
87
86
  | --------------------------- | --------------------------------- | ------ |
88
- | Quickstart | [source code](https://github.com/googleapis/nodejs-promisify/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-promisify&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
87
+ | Quickstart | [source code](https://github.com/googleapis/nodejs-promisify/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-promisify&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
89
88
 
90
89
 
91
90
 
@@ -98,7 +97,7 @@ Our client libraries follow the [Node.js release schedule](https://nodejs.org/en
98
97
  Libraries are compatible with all current _active_ and _maintenance_ versions of
99
98
  Node.js.
100
99
 
101
- Client libraries targetting some end-of-life versions of Node.js are available, and
100
+ Client libraries targeting some end-of-life versions of Node.js are available, and
102
101
  can be installed via npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
103
102
  The dist-tags follow the naming convention `legacy-(version)`.
104
103
 
@@ -134,19 +133,19 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
134
133
 
135
134
  ## Contributing
136
135
 
137
- Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-promisify/blob/master/CONTRIBUTING.md).
136
+ Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-promisify/blob/main/CONTRIBUTING.md).
138
137
 
139
138
  Please note that this `README.md`, the `samples/README.md`,
140
139
  and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
141
140
  are generated from a central template. To edit one of these files, make an edit
142
- to its template in this
143
- [directory](https://github.com/googleapis/synthtool/tree/master/synthtool/gcp/templates/node_library).
141
+ to its templates in
142
+ [directory](https://github.com/googleapis/synthtool).
144
143
 
145
144
  ## License
146
145
 
147
146
  Apache Version 2.0
148
147
 
149
- See [LICENSE](https://github.com/googleapis/nodejs-promisify/blob/master/LICENSE)
148
+ See [LICENSE](https://github.com/googleapis/nodejs-promisify/blob/main/LICENSE)
150
149
 
151
150
  [client-docs]: https://googleapis.dev/nodejs/promisify/latest
152
151
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google-cloud/promisify",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "A simple utility for promisifying functions and classes.",
5
5
  "main": "build/src/index.js",
6
6
  "types": "build/src/index.d.ts",
@@ -20,9 +20,7 @@
20
20
  "predocs-test": "npm run docs",
21
21
  "prelint": "cd samples; npm link ../; npm install",
22
22
  "clean": "gts clean",
23
- "precompile": "gts clean",
24
- "api-extractor": "api-extractor run --local",
25
- "api-documenter": "api-documenter yaml --input-folder=temp"
23
+ "precompile": "gts clean"
26
24
  },
27
25
  "keywords": [],
28
26
  "files": [
@@ -34,8 +32,8 @@
34
32
  "devDependencies": {
35
33
  "@compodoc/compodoc": "^1.1.9",
36
34
  "@types/mocha": "^8.0.0",
37
- "@types/node": "^10.5.2",
38
- "@types/sinon": "^9.0.0",
35
+ "@types/node": "^14.0.0",
36
+ "@types/sinon": "^10.0.0",
39
37
  "c8": "^7.0.0",
40
38
  "chai": "^4.2.0",
41
39
  "codecov": "^3.0.4",
@@ -43,10 +41,8 @@
43
41
  "hard-rejection": "^2.1.0",
44
42
  "linkinator": "^2.0.0",
45
43
  "mocha": "^8.0.0",
46
- "sinon": "^9.0.0",
47
- "typescript": "^3.8.3",
48
- "@microsoft/api-documenter": "^7.8.10",
49
- "@microsoft/api-extractor": "^7.8.10"
44
+ "sinon": "^11.0.0",
45
+ "typescript": "^3.8.3"
50
46
  },
51
47
  "engines": {
52
48
  "node": ">=10"