Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -4,6 +4,51 @@
[1]: https://www.npmjs.com/package/google-p12-pem?activeTab=versions
### [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)

View File

@@ -14,6 +14,9 @@
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/master/CHANGELOG.md).
* [github.com/googleapis/google-p12-pem](https://github.com/googleapis/google-p12-pem)
@@ -47,22 +50,22 @@ npm install google-p12-pem
### Using the client library
```javascript
const {getPem} = require('google-p12-pem');
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';
/**
* 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);
}
const pem = await getPem(pathToCert);
console.log('The converted PEM:');
console.log(pem);
}
quickstart();
quickstart();
```
#### CLI style
@@ -83,6 +86,27 @@ has instructions for running the 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.
Client libraries targetting some end-of-life versions of Node.js are available, and
can be installed via npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
The dist-tags follow the naming convention `legacy-(version)`.
_Legacy Node.js versions are supported as a best effort:_
* Legacy versions will not be tested in continuous integration.
* Some security patches may not be able to be backported.
* Dependencies will not be kept up-to-date, and features will not be backported.
#### Legacy tags available
* `legacy-8`: install client libraries from this dist-tag for versions
compatible with Node.js 8.
## Versioning
This library follows [Semantic Versioning](http://semver.org/).
@@ -106,6 +130,12 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-p12-pem/blob/master/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 template in this
[directory](https://github.com/googleapis/synthtool/tree/master/synthtool/gcp/templates/node_library).
## License
Apache Version 2.0

View File

@@ -12,12 +12,12 @@ const argv = process.argv;
const p12Path = argv[2];
if (!p12Path) {
console.error('Please specify a *.p12 file to convert.');
process.exit(1);
process.exitCode = 1;
}
gp12.getPem(p12Path, (err, pem) => {
if (err) {
console.log(err);
process.exit(1);
process.exitCode = 1;
}
else {
console.log(pem);

View File

@@ -6,6 +6,7 @@
* See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPem = void 0;
const fs = require("fs");
const forge = require("node-forge");
const util_1 = require("util");

View File

@@ -1,27 +1,27 @@
{
"_from": "google-p12-pem@^2.0.0",
"_id": "google-p12-pem@2.0.3",
"_from": "google-p12-pem@^3.0.3",
"_id": "google-p12-pem@3.0.3",
"_inBundle": false,
"_integrity": "sha512-Tq2kBCANxYYPxaBpTgCpRfdoPs9+/lNzc/Iaee4kuMVW5ascD+HwhpBsTLwH85C9Ev4qfB8KKHmpPQYyD2vg2w==",
"_integrity": "sha512-wS0ek4ZtFx/ACKYF3JhyGe5kzH7pgiQ7J5otlumqR9psmWMYc+U9cErKlCYVYHoUaidXHdZ2xbo34kB+S+24hA==",
"_location": "/google-p12-pem",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "google-p12-pem@^2.0.0",
"raw": "google-p12-pem@^3.0.3",
"name": "google-p12-pem",
"escapedName": "google-p12-pem",
"rawSpec": "^2.0.0",
"rawSpec": "^3.0.3",
"saveSpec": null,
"fetchSpec": "^2.0.0"
"fetchSpec": "^3.0.3"
},
"_requiredBy": [
"/gtoken"
],
"_resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-2.0.3.tgz",
"_shasum": "14ecd78a94bd03bf86d74d9d0724787e85c7731f",
"_spec": "google-p12-pem@^2.0.0",
"_where": "/Users/drew.heavner/Documents/Github/upload-google-play/node_modules/gtoken",
"_resolved": "https://registry.npmjs.org/google-p12-pem/-/google-p12-pem-3.0.3.tgz",
"_shasum": "673ac3a75d3903a87f05878f3c75e06fc151669e",
"_spec": "google-p12-pem@^3.0.3",
"_where": "/home/codespace/workspace/upload-google-play/node_modules/gtoken",
"author": {
"name": "Ryan Seys"
},
@@ -33,32 +33,27 @@
},
"bundleDependencies": false,
"dependencies": {
"node-forge": "^0.9.0"
"node-forge": "^0.10.0"
},
"deprecated": false,
"description": "Convert Google .p12 keys to .pem keys.",
"devDependencies": {
"@compodoc/compodoc": "^1.1.7",
"@types/mocha": "^5.2.0",
"@microsoft/api-documenter": "^7.8.10",
"@microsoft/api-extractor": "^7.8.10",
"@types/mocha": "^8.0.0",
"@types/node": "^10.0.9",
"@types/node-forge": "^0.8.0",
"@types/node-forge": "^0.9.0",
"c8": "^7.0.0",
"codecov": "^3.0.2",
"eslint": "^6.0.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.0.0",
"gts": "^1.0.0",
"intelli-espower-loader": "^1.0.1",
"js-green-licenses": "^1.0.0",
"linkinator": "^1.5.0",
"mocha": "^6.0.0",
"nyc": "^14.0.0",
"prettier": "^1.15.3",
"source-map-support": "^0.5.6",
"typescript": "~3.7.0"
"gts": "^2.0.0",
"js-green-licenses": "^2.0.0",
"linkinator": "^2.0.0",
"mocha": "^8.0.0",
"typescript": "^3.8.3"
},
"engines": {
"node": ">=8.10.0"
"node": ">=10"
},
"files": [
"build/src",
@@ -73,23 +68,26 @@
"url": "git+https://github.com/google/google-p12-pem.git"
},
"scripts": {
"api-documenter": "api-documenter yaml --input-folder=temp",
"api-extractor": "api-extractor run --local",
"check": "gts check && npm run license-check",
"clean": "gts clean",
"compile": "tsc -p .",
"docs": "compodoc src/",
"docs-test": "linkinator docs",
"fix": "gts fix && eslint --fix '**/*.js'",
"fix": "gts fix",
"license-check": "jsgl --local .",
"lint": "gts check && eslint '**/*.js'",
"posttest": "npm run check",
"lint": "gts check",
"precompile": "gts clean",
"predocs-test": "npm run docs",
"prelint": "cd samples; npm link ../; npm install",
"prepare": "npm run compile",
"presystem-test": "npm run compile",
"pretest": "npm run compile",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"system-test": "mocha build/system-test",
"test": "nyc mocha build/test"
"test": "c8 mocha build/test"
},
"types": "./build/src/index.d.ts",
"version": "2.0.3"
"version": "3.0.3"
}