Push before general cleanup to avoid merge errors
This commit is contained in:
242
node_modules/google-p12-pem/CHANGELOG.md
generated
vendored
Normal file
242
node_modules/google-p12-pem/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,242 @@
|
||||
# Changelog
|
||||
|
||||
[npm history][1]
|
||||
|
||||
[1]: https://www.npmjs.com/package/google-p12-pem?activeTab=versions
|
||||
|
||||
## [4.0.1](https://github.com/googleapis/google-p12-pem/compare/v4.0.0...v4.0.1) (2022-08-23)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** pin node forge at 1.3.0 ([#415](https://github.com/googleapis/google-p12-pem/issues/415)) ([70316b4](https://github.com/googleapis/google-p12-pem/commit/70316b423128dae578b0d9182df2375335c10fe1))
|
||||
* **deps:** unpin node-forge ([#417](https://github.com/googleapis/google-p12-pem/issues/417)) ([69b9066](https://github.com/googleapis/google-p12-pem/commit/69b9066d417538ebefe26127524a546aa646cd37))
|
||||
* remove pip install statements ([#1546](https://github.com/googleapis/google-p12-pem/issues/1546)) ([#420](https://github.com/googleapis/google-p12-pem/issues/420)) ([fefb866](https://github.com/googleapis/google-p12-pem/commit/fefb866764b495f67d501f894c38ef38e23578af))
|
||||
|
||||
## [4.0.0](https://github.com/googleapis/google-p12-pem/compare/v3.1.4...v4.0.0) (2022-05-17)
|
||||
|
||||
|
||||
### ⚠ BREAKING CHANGES
|
||||
|
||||
* update library to use Node 12 (#410)
|
||||
|
||||
### Build System
|
||||
|
||||
* update library to use Node 12 ([#410](https://github.com/googleapis/google-p12-pem/issues/410)) ([e5a823a](https://github.com/googleapis/google-p12-pem/commit/e5a823afb2cf37bd879af251146ea3dfc4f6281d))
|
||||
|
||||
### [3.1.4](https://github.com/googleapis/google-p12-pem/compare/v3.1.3...v3.1.4) (2022-04-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** force fixed version of node-forge ([#403](https://github.com/googleapis/google-p12-pem/issues/403)) ([f375cca](https://github.com/googleapis/google-p12-pem/commit/f375cca4008bad392a0a2e88e8c58b30a28beaaf)), closes [#397](https://github.com/googleapis/google-p12-pem/issues/397)
|
||||
|
||||
### [3.1.3](https://github.com/googleapis/google-p12-pem/compare/v3.1.2...v3.1.3) (2022-01-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update dependency node-forge to v1 ([#382](https://github.com/googleapis/google-p12-pem/issues/382)) ([078735b](https://github.com/googleapis/google-p12-pem/commit/078735b433d9cdaae463676c4f8c3bb0a7b041b4))
|
||||
|
||||
### [3.1.2](https://www.github.com/googleapis/google-p12-pem/compare/v3.1.1...v3.1.2) (2021-08-11)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **build:** migrate to using main branch ([#362](https://www.github.com/googleapis/google-p12-pem/issues/362)) ([7c412e4](https://www.github.com/googleapis/google-p12-pem/commit/7c412e4a3d616f9eed634c03386579e0674fe6c5))
|
||||
|
||||
### [3.1.1](https://www.github.com/googleapis/google-p12-pem/compare/v3.1.0...v3.1.1) (2021-07-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **build:** use updated repository URL ([#355](https://www.github.com/googleapis/google-p12-pem/issues/355)) ([3bcec25](https://www.github.com/googleapis/google-p12-pem/commit/3bcec256a815e76ada58418cac3bbf334621e19d))
|
||||
|
||||
## [3.1.0](https://www.github.com/googleapis/google-p12-pem/compare/v3.0.3...v3.1.0) (2021-06-10)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* add `gcf-owl-bot[bot]` to `ignoreAuthors` ([#318](https://www.github.com/googleapis/google-p12-pem/issues/318)) ([e93e51b](https://www.github.com/googleapis/google-p12-pem/commit/e93e51bbbf333161d836cee1a464be93105ed8ca))
|
||||
|
||||
### [3.0.3](https://www.github.com/googleapis/google-p12-pem/compare/v3.0.2...v3.0.3) (2020-09-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update dependency node-forge to ^0.10.0 ([#291](https://www.github.com/googleapis/google-p12-pem/issues/291)) ([0694c2e](https://www.github.com/googleapis/google-p12-pem/commit/0694c2ed1f8a0783cdab3b5e7ecb31a0b975bde5))
|
||||
|
||||
### [3.0.2](https://www.github.com/googleapis/google-p12-pem/compare/v3.0.1...v3.0.2) (2020-07-09)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* typeo in nodejs .gitattribute ([#270](https://www.github.com/googleapis/google-p12-pem/issues/270)) ([046f594](https://www.github.com/googleapis/google-p12-pem/commit/046f5946bc6809481aa04c7ed604bca3dacc21cc))
|
||||
|
||||
### [3.0.1](https://www.github.com/googleapis/google-p12-pem/compare/v3.0.0...v3.0.1) (2020-04-14)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* apache license URL ([#468](https://www.github.com/googleapis/google-p12-pem/issues/468)) ([#252](https://www.github.com/googleapis/google-p12-pem/issues/252)) ([5469838](https://www.github.com/googleapis/google-p12-pem/commit/5469838c5137f69352aa80f40eb6c1415e887e18))
|
||||
|
||||
## [3.0.0](https://www.github.com/googleapis/google-p12-pem/compare/v2.0.4...v3.0.0) (2020-03-20)
|
||||
|
||||
|
||||
### ⚠ BREAKING CHANGES
|
||||
|
||||
* typescript@3.7.x introduced backwards incompatibilities
|
||||
* drops Node 8 from engines (#242)
|
||||
|
||||
### Features
|
||||
|
||||
* drops Node 8 from engines ([#242](https://www.github.com/googleapis/google-p12-pem/issues/242)) ([857cc92](https://www.github.com/googleapis/google-p12-pem/commit/857cc92e711a2ffd5bba18179c8d0395f38cc6ef))
|
||||
|
||||
|
||||
### Build System
|
||||
|
||||
* update typescript/gts ([#243](https://www.github.com/googleapis/google-p12-pem/issues/243)) ([f910f07](https://www.github.com/googleapis/google-p12-pem/commit/f910f07374d586241663755ddf66f3a38e394c28))
|
||||
|
||||
### [2.0.4](https://www.github.com/googleapis/google-p12-pem/compare/v2.0.3...v2.0.4) (2020-01-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** pin TypeScript below 3.7.0 ([81dd96d](https://www.github.com/googleapis/google-p12-pem/commit/81dd96d4b43100824561f45b51f9126195b41d1d))
|
||||
|
||||
### [2.0.3](https://www.github.com/googleapis/google-p12-pem/compare/v2.0.2...v2.0.3) (2019-11-13)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **docs:** add jsdoc-region-tag plugin ([#206](https://www.github.com/googleapis/google-p12-pem/issues/206)) ([b34efde](https://www.github.com/googleapis/google-p12-pem/commit/b34efdebb853dd5129e15ec1ff11a75184fc32d7))
|
||||
|
||||
### [2.0.2](https://www.github.com/googleapis/google-p12-pem/compare/v2.0.1...v2.0.2) (2019-09-06)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update dependency node-forge to ^0.9.0 ([#193](https://www.github.com/googleapis/google-p12-pem/issues/193)) ([ecac0f4](https://www.github.com/googleapis/google-p12-pem/commit/ecac0f4))
|
||||
* **docs:** remove reference-docs anchor ([a6ad735](https://www.github.com/googleapis/google-p12-pem/commit/a6ad735))
|
||||
|
||||
### [2.0.1](https://www.github.com/googleapis/google-p12-pem/compare/v2.0.0...v2.0.1) (2019-06-26)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **docs:** link to reference docs section on googleapis.dev ([#184](https://www.github.com/googleapis/google-p12-pem/issues/184)) ([a08353b](https://www.github.com/googleapis/google-p12-pem/commit/a08353b))
|
||||
|
||||
## [2.0.0](https://www.github.com/google/google-p12-pem/compare/v1.0.4...v2.0.0) (2019-05-02)
|
||||
|
||||
|
||||
### Build System
|
||||
|
||||
* upgrade engines field to >=8.10.0 ([#167](https://www.github.com/google/google-p12-pem/issues/167)) ([85da6e6](https://www.github.com/google/google-p12-pem/commit/85da6e6))
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* upgrade engines field to >=8.10.0 (#167)
|
||||
|
||||
## v1.0.4
|
||||
|
||||
03-12-2019 12:25 PDT
|
||||
|
||||
This release includes a new shiny version of node-forge!
|
||||
|
||||
### Dependencies
|
||||
- fix(deps): update dependency node-forge to ^0.8.0 ([#137](https://github.com/google/google-p12-pem/pull/137))
|
||||
|
||||
### Documentation
|
||||
- docs: update links in contrib guide ([#145](https://github.com/google/google-p12-pem/pull/145))
|
||||
- docs: move CONTRIBUTING.md to root ([#140](https://github.com/google/google-p12-pem/pull/140))
|
||||
- docs: add lint/fix example to contributing guide ([#138](https://github.com/google/google-p12-pem/pull/138))
|
||||
|
||||
### Internal / Testing Changes
|
||||
- build: Add docuploader credentials to node publish jobs ([#149](https://github.com/google/google-p12-pem/pull/149))
|
||||
- build: update release config ([#147](https://github.com/google/google-p12-pem/pull/147))
|
||||
- build: use node10 to run samples-test, system-test etc ([#148](https://github.com/google/google-p12-pem/pull/148))
|
||||
- chore(deps): update dependency mocha to v6
|
||||
- build: use linkinator for docs test ([#144](https://github.com/google/google-p12-pem/pull/144))
|
||||
- build: create docs test npm scripts ([#143](https://github.com/google/google-p12-pem/pull/143))
|
||||
- build: test using @grpc/grpc-js in CI ([#142](https://github.com/google/google-p12-pem/pull/142))
|
||||
- chore(deps): update dependency eslint-config-prettier to v4 ([#135](https://github.com/google/google-p12-pem/pull/135))
|
||||
- build: ignore googleapis.com in doc link check ([#134](https://github.com/google/google-p12-pem/pull/134))
|
||||
- build: check dead links on Kokoro ([#132](https://github.com/google/google-p12-pem/pull/132))
|
||||
- test: add system test, samples, and sample test ([#131](https://github.com/google/google-p12-pem/pull/131))
|
||||
- chore(build): inject yoshi automation key ([#130](https://github.com/google/google-p12-pem/pull/130))
|
||||
- chore: update nyc and eslint configs ([#129](https://github.com/google/google-p12-pem/pull/129))
|
||||
- chore: fix publish.sh permission +x ([#127](https://github.com/google/google-p12-pem/pull/127))
|
||||
- fix(build): fix Kokoro release script ([#126](https://github.com/google/google-p12-pem/pull/126))
|
||||
- build: add Kokoro configs for autorelease ([#125](https://github.com/google/google-p12-pem/pull/125))
|
||||
|
||||
## v1.0.3
|
||||
|
||||
12-07-2018 09:50 PST
|
||||
|
||||
This is a service release very few updates. The only interesting change is the removal of support for Node.js 4.x and 9.x, both of which are out of LTS support.
|
||||
|
||||
### Dependencies
|
||||
- fix(deps): update dependency pify to v4 ([#62](https://github.com/google/google-p12-pem/pull/62))
|
||||
|
||||
### Documentation
|
||||
- docs: clean up the readme ([#121](https://github.com/google/google-p12-pem/pull/121))
|
||||
|
||||
### Internal / Testing Changes
|
||||
- chore: basic cleanup ([#122](https://github.com/google/google-p12-pem/pull/122))
|
||||
- chore: always nyc report before calling codecov ([#120](https://github.com/google/google-p12-pem/pull/120))
|
||||
- chore: nyc ignore build/test by default ([#119](https://github.com/google/google-p12-pem/pull/119))
|
||||
- chore(build): update templates and synth ([#117](https://github.com/google/google-p12-pem/pull/117))
|
||||
- fix(build): fix system key decryption ([#112](https://github.com/google/google-p12-pem/pull/112))
|
||||
- chore(deps): update dependency typescript to ~3.2.0 ([#111](https://github.com/google/google-p12-pem/pull/111))
|
||||
- chore: add synth.metadata
|
||||
- chore(deps): update dependency gts to ^0.9.0 ([#106](https://github.com/google/google-p12-pem/pull/106))
|
||||
- chore: update eslintignore config ([#105](https://github.com/google/google-p12-pem/pull/105))
|
||||
- chore: use latest npm on Windows ([#104](https://github.com/google/google-p12-pem/pull/104))
|
||||
- chore: update CircleCI config ([#103](https://github.com/google/google-p12-pem/pull/103))
|
||||
- chore: include build in eslintignore ([#100](https://github.com/google/google-p12-pem/pull/100))
|
||||
- chore: update issue templates ([#96](https://github.com/google/google-p12-pem/pull/96))
|
||||
- chore: remove old issue template ([#94](https://github.com/google/google-p12-pem/pull/94))
|
||||
- build: run tests on node11 ([#93](https://github.com/google/google-p12-pem/pull/93))
|
||||
- chores(build): run codecov on continuous builds ([#88](https://github.com/google/google-p12-pem/pull/88))
|
||||
- chores(build): do not collect sponge.xml from windows builds ([#90](https://github.com/google/google-p12-pem/pull/90))
|
||||
- chore(deps): update dependency typescript to ~3.1.0 ([#89](https://github.com/google/google-p12-pem/pull/89))
|
||||
- chore: update new issue template ([#87](https://github.com/google/google-p12-pem/pull/87))
|
||||
- build: fix codecov uploading on Kokoro ([#84](https://github.com/google/google-p12-pem/pull/84))
|
||||
- Update kokoro config ([#81](https://github.com/google/google-p12-pem/pull/81))
|
||||
- Run system tests on Kokoro ([#78](https://github.com/google/google-p12-pem/pull/78))
|
||||
- Don't publish sourcemaps ([#79](https://github.com/google/google-p12-pem/pull/79))
|
||||
- test: remove appveyor config ([#77](https://github.com/google/google-p12-pem/pull/77))
|
||||
- Update CI config ([#76](https://github.com/google/google-p12-pem/pull/76))
|
||||
- Enable prefer-const in the eslint config ([#75](https://github.com/google/google-p12-pem/pull/75))
|
||||
- Enable no-var in eslint ([#74](https://github.com/google/google-p12-pem/pull/74))
|
||||
- Update CI config ([#73](https://github.com/google/google-p12-pem/pull/73))
|
||||
- Retry npm install in CI ([#71](https://github.com/google/google-p12-pem/pull/71))
|
||||
- Update CI config ([#69](https://github.com/google/google-p12-pem/pull/69))
|
||||
- Update CI config ([#68](https://github.com/google/google-p12-pem/pull/68))
|
||||
- Update github templates and CircleCI config ([#67](https://github.com/google/google-p12-pem/pull/67))
|
||||
- chore(deps): update dependency nyc to v13 ([#65](https://github.com/google/google-p12-pem/pull/65))
|
||||
- add synth file and standardize config ([#64](https://github.com/google/google-p12-pem/pull/64))
|
||||
- chore: ignore package-log.json ([#61](https://github.com/google/google-p12-pem/pull/61))
|
||||
- chore: update renovate config ([#59](https://github.com/google/google-p12-pem/pull/59))
|
||||
- chore(deps): lock file maintenance ([#60](https://github.com/google/google-p12-pem/pull/60))
|
||||
- chore: remove greenkeeper badge ([#58](https://github.com/google/google-p12-pem/pull/58))
|
||||
- test: throw on deprecation
|
||||
- chore: move mocha options to mocha.opts ([#54](https://github.com/google/google-p12-pem/pull/54))
|
||||
- chore(deps): update dependency typescript to v3 ([#56](https://github.com/google/google-p12-pem/pull/56))
|
||||
- chore(deps): lock file maintenance ([#55](https://github.com/google/google-p12-pem/pull/55))
|
||||
- chore(deps): lock file maintenance ([#53](https://github.com/google/google-p12-pem/pull/53))
|
||||
- chore(deps): update dependency gts to ^0.8.0 ([#49](https://github.com/google/google-p12-pem/pull/49))
|
||||
- test: use strictEqual in tests ([#51](https://github.com/google/google-p12-pem/pull/51))
|
||||
- chore(deps): update dependency typescript to ~2.9.0 ([#50](https://github.com/google/google-p12-pem/pull/50))
|
||||
- chore: Configure Renovate ([#48](https://github.com/google/google-p12-pem/pull/48))
|
||||
- fix: drop support for node.js 4.x and 9.x ([#46](https://github.com/google/google-p12-pem/pull/46))
|
||||
- Add Code of Conduct
|
||||
- chore(package): update gts to the latest version ([#45](https://github.com/google/google-p12-pem/pull/45))
|
||||
- chore(package): update nyc to version 12.0.2 ([#42](https://github.com/google/google-p12-pem/pull/42))
|
||||
- chore: upgrade to the latest version of all dependencies ([#39](https://github.com/google/google-p12-pem/pull/39))
|
||||
- chore(build): run lint as a separate job ([#40](https://github.com/google/google-p12-pem/pull/40))
|
||||
- fix: pin gts version with ^ ([#38](https://github.com/google/google-p12-pem/pull/38))
|
||||
- chore(package): update @types/node to version 10.0.3 ([#34](https://github.com/google/google-p12-pem/pull/34))
|
||||
- chore: start testing on node 10 ([#36](https://github.com/google/google-p12-pem/pull/36))
|
||||
- chore(package): update @types/mocha to version 5.0.0 ([#33](https://github.com/google/google-p12-pem/pull/33))
|
||||
21
node_modules/google-p12-pem/LICENSE
generated
vendored
Normal file
21
node_modules/google-p12-pem/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Ryan Seys
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
154
node_modules/google-p12-pem/README.md
generated
vendored
Normal file
154
node_modules/google-p12-pem/README.md
generated
vendored
Normal file
@@ -0,0 +1,154 @@
|
||||
[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
|
||||
[//]: # "To regenerate it, use `python -m synthtool`."
|
||||
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
|
||||
|
||||
# [google-p12-pem: Node.js Client](https://github.com/googleapis/google-p12-pem)
|
||||
|
||||
[](https://cloud.google.com/terms/launch-stages)
|
||||
[](https://www.npmjs.org/package/google-p12-pem)
|
||||
|
||||
|
||||
|
||||
|
||||
Convert Google .p12 keys to .pem keys.
|
||||
|
||||
|
||||
A comprehensive list of changes in each version may be found in
|
||||
[the CHANGELOG](https://github.com/googleapis/google-p12-pem/blob/main/CHANGELOG.md).
|
||||
|
||||
* [google-p12-pem Node.js Client API Reference][client-docs]
|
||||
|
||||
* [github.com/googleapis/google-p12-pem](https://github.com/googleapis/google-p12-pem)
|
||||
|
||||
Read more about the client libraries for Cloud APIs, including the older
|
||||
Google APIs Client Libraries, in [Client Libraries Explained][explained].
|
||||
|
||||
[explained]: https://cloud.google.com/apis/docs/client-libraries-explained
|
||||
|
||||
**Table of contents:**
|
||||
|
||||
|
||||
* [Quickstart](#quickstart)
|
||||
|
||||
* [Installing the client library](#installing-the-client-library)
|
||||
* [Using the client library](#using-the-client-library)
|
||||
* [Samples](#samples)
|
||||
* [Versioning](#versioning)
|
||||
* [Contributing](#contributing)
|
||||
* [License](#license)
|
||||
|
||||
## Quickstart
|
||||
|
||||
### Installing the client library
|
||||
|
||||
```bash
|
||||
npm install google-p12-pem
|
||||
```
|
||||
|
||||
|
||||
### Using the client library
|
||||
|
||||
```javascript
|
||||
const {getPem} = require('google-p12-pem');
|
||||
|
||||
/**
|
||||
* Given a p12 file, convert it to the PEM format.
|
||||
* @param {string} pathToCert The relative path to a p12 file.
|
||||
*/
|
||||
async function quickstart() {
|
||||
// TODO(developer): provide the path to your cert
|
||||
// const pathToCert = 'path/to/cert.p12';
|
||||
|
||||
const pem = await getPem(pathToCert);
|
||||
console.log('The converted PEM:');
|
||||
console.log(pem);
|
||||
}
|
||||
|
||||
quickstart();
|
||||
|
||||
```
|
||||
#### CLI style
|
||||
|
||||
``` sh
|
||||
gp12-pem myfile.p12 > output.pem
|
||||
```
|
||||
|
||||
|
||||
## Samples
|
||||
|
||||
Samples are in the [`samples/`](https://github.com/googleapis/google-p12-pem/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
|
||||
|
||||
| Sample | Source Code | Try it |
|
||||
| --------------------------- | --------------------------------- | ------ |
|
||||
| Quickstart | [source code](https://github.com/googleapis/google-p12-pem/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-p12-pem&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
|
||||
|
||||
|
||||
|
||||
The [google-p12-pem Node.js Client API Reference][client-docs] documentation
|
||||
also contains samples.
|
||||
|
||||
## Supported Node.js Versions
|
||||
|
||||
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
|
||||
Libraries are compatible with all current _active_ and _maintenance_ versions of
|
||||
Node.js.
|
||||
If you are using an end-of-life version of Node.js, we recommend that you update
|
||||
as soon as possible to an actively supported LTS version.
|
||||
|
||||
Google's client libraries support legacy versions of Node.js runtimes on a
|
||||
best-efforts basis with the following warnings:
|
||||
|
||||
* Legacy versions are not tested in continuous integration.
|
||||
* Some security patches and features cannot be backported.
|
||||
* Dependencies cannot be kept up-to-date.
|
||||
|
||||
Client libraries targeting some end-of-life versions of Node.js are available, and
|
||||
can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
|
||||
The dist-tags follow the naming convention `legacy-(version)`.
|
||||
For example, `npm install google-p12-pem@legacy-8` installs client libraries
|
||||
for versions compatible with Node.js 8.
|
||||
|
||||
## Versioning
|
||||
|
||||
This library follows [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
This library is considered to be **General Availability (GA)**. This means it
|
||||
is stable; the code surface will not change in backwards-incompatible ways
|
||||
unless absolutely necessary (e.g. because of critical security issues) or with
|
||||
an extensive deprecation period. Issues and requests against **GA** libraries
|
||||
are addressed with the highest priority.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
More Information: [Google Cloud Platform Launch Stages][launch_stages]
|
||||
|
||||
[launch_stages]: https://cloud.google.com/terms/launch-stages
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-p12-pem/blob/main/CONTRIBUTING.md).
|
||||
|
||||
Please note that this `README.md`, the `samples/README.md`,
|
||||
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
|
||||
are generated from a central template. To edit one of these files, make an edit
|
||||
to its templates in
|
||||
[directory](https://github.com/googleapis/synthtool).
|
||||
|
||||
## License
|
||||
|
||||
Apache Version 2.0
|
||||
|
||||
See [LICENSE](https://github.com/googleapis/google-p12-pem/blob/main/LICENSE)
|
||||
|
||||
[client-docs]: https://googleapis.dev/nodejs/google-p12-pem/latest/
|
||||
|
||||
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
|
||||
[projects]: https://console.cloud.google.com/project
|
||||
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
|
||||
|
||||
[auth]: https://cloud.google.com/docs/authentication/getting-started
|
||||
8
node_modules/google-p12-pem/build/src/bin/gp12-pem.d.ts
generated
vendored
Normal file
8
node_modules/google-p12-pem/build/src/bin/gp12-pem.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env node
|
||||
/**
|
||||
* Copyright 2018 Google LLC
|
||||
*
|
||||
* Distributed under MIT license.
|
||||
* See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
|
||||
*/
|
||||
export {};
|
||||
15
node_modules/google-p12-pem/build/src/index.d.ts
generated
vendored
Normal file
15
node_modules/google-p12-pem/build/src/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Copyright 2018 Google LLC
|
||||
*
|
||||
* Distributed under MIT license.
|
||||
* See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
|
||||
*/
|
||||
/**
|
||||
* Convert a .p12 file to .pem string
|
||||
* @param filename The .p12 key filename.
|
||||
* @param callback The callback function.
|
||||
* @return A promise that resolves with the .pem private key
|
||||
* if no callback provided.
|
||||
*/
|
||||
export declare function getPem(filename: string): Promise<string>;
|
||||
export declare function getPem(filename: string, callback: (err: Error | null, pem: string | null) => void): void;
|
||||
53
node_modules/google-p12-pem/package.json
generated
vendored
Normal file
53
node_modules/google-p12-pem/package.json
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"name": "google-p12-pem",
|
||||
"version": "4.0.1",
|
||||
"description": "Convert Google .p12 keys to .pem keys.",
|
||||
"main": "./build/src/index.js",
|
||||
"types": "./build/src/index.d.ts",
|
||||
"repository": "googleapis/google-p12-pem",
|
||||
"bin": {
|
||||
"gp12-pem": "build/src/bin/gp12-pem.js"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "c8 mocha build/test",
|
||||
"check": "gts check && npm run license-check",
|
||||
"clean": "gts clean",
|
||||
"compile": "tsc -p .",
|
||||
"fix": "gts fix",
|
||||
"prepare": "npm run compile",
|
||||
"pretest": "npm run compile",
|
||||
"license-check": "jsgl --local .",
|
||||
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
|
||||
"presystem-test": "npm run compile",
|
||||
"system-test": "mocha build/system-test",
|
||||
"lint": "gts check",
|
||||
"docs": "compodoc src/",
|
||||
"docs-test": "linkinator docs",
|
||||
"predocs-test": "npm run docs",
|
||||
"prelint": "cd samples; npm link ../; npm install",
|
||||
"precompile": "gts clean"
|
||||
},
|
||||
"files": [
|
||||
"build/src",
|
||||
"!build/src/**/*.map"
|
||||
],
|
||||
"author": "Ryan Seys",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"node-forge": "^1.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@compodoc/compodoc": "^1.1.7",
|
||||
"@types/mocha": "^9.0.0",
|
||||
"@types/node": "^16.0.0",
|
||||
"@types/node-forge": "^1.0.1",
|
||||
"c8": "^7.4.0",
|
||||
"gts": "^3.1.0",
|
||||
"linkinator": "^4.0.0",
|
||||
"mocha": "^9.2.2",
|
||||
"typescript": "^4.6.4"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user