Socket
Socket
Sign inDemoInstall

@google-cloud/projectify

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 2.0.0

3

build/src/index.js

@@ -26,3 +26,3 @@ "use strict";

*/
// tslint:disable-next-line:no-any
/* eslint-disable @typescript-eslint/no-explicit-any */
function replaceProjectIdToken(value, projectId) {

@@ -38,2 +38,3 @@ if (Array.isArray(value)) {

for (const opt in value) {
/* eslint-disable no-prototype-builtins */
if (value.hasOwnProperty(opt)) {

@@ -40,0 +41,0 @@ value[opt] = replaceProjectIdToken(value[opt], projectId);

@@ -6,2 +6,19 @@ # Changelog

[1]: https://www.npmjs.com/package/@google-cloud/projectify?activeTab=versions
## [2.0.0](https://www.github.com/googleapis/nodejs-projectify/compare/v1.0.4...v2.0.0) (2020-03-24)
### ⚠ BREAKING CHANGES
* typescript@3.7 introduced some breaking changes
* drop Node 8 from engines field (#172)
### Features
* drop Node 8 from engines field ([#172](https://www.github.com/googleapis/nodejs-projectify/issues/172)) ([3eac424](https://www.github.com/googleapis/nodejs-projectify/commit/3eac424bfb1ee47144a77888dc68db687988945e))
### Build System
* update to latest version of gts/typescript ([#171](https://www.github.com/googleapis/nodejs-projectify/issues/171)) ([30f90cc](https://www.github.com/googleapis/nodejs-projectify/commit/30f90cc172da6ed9394da91869556bf5eef42434))
### [1.0.4](https://www.github.com/googleapis/nodejs-projectify/compare/v1.0.3...v1.0.4) (2019-12-05)

@@ -8,0 +25,0 @@

{
"name": "@google-cloud/projectify",
"version": "1.0.4",
"version": "2.0.0",
"description": "A simple utility for replacing the projectid token in objects.",

@@ -9,5 +9,3 @@ "main": "build/src/index.js",

"scripts": {
"test-only": "nyc mocha build/test",
"test": "npm run test-only",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json",
"test": "c8 mocha build/test",
"lint": "gts check",

@@ -19,3 +17,2 @@ "clean": "gts clean",

"pretest": "npm run compile",
"posttest": "npm run lint",
"docs": "compodoc src/",

@@ -26,3 +23,4 @@ "presystem-test": "npm run compile",

"docs-test": "linkinator docs",
"predocs-test": "npm run docs"
"predocs-test": "npm run docs",
"prelint": "cd samples; npm link ../; npm i"
},

@@ -37,18 +35,15 @@ "keywords": [],

"devDependencies": {
"@compodoc/compodoc": "^1.1.7",
"@types/mocha": "^5.2.4",
"@types/node": "^10.5.2",
"codecov": "^3.0.4",
"gts": "^1.0.0",
"hard-rejection": "^2.0.0",
"intelli-espower-loader": "^1.0.1",
"mocha": "^6.0.0",
"nyc": "^14.0.0",
"source-map-support": "^0.5.6",
"typescript": "3.6.4",
"linkinator": "^1.5.0"
"@compodoc/compodoc": "^1.1.11",
"@types/mocha": "^7.0.2",
"@types/node": "^10.17.17",
"codecov": "^3.6.5",
"gts": "2.0.0-alpha.5",
"mocha": "^7.1.1",
"c8": "^7.1.0",
"typescript": "3.8.3",
"linkinator": "^2.0.4"
},
"engines": {
"node": ">=8.10.0"
"node": ">=10"
}
}

@@ -71,2 +71,23 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

## 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

@@ -95,2 +116,8 @@

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

@@ -97,0 +124,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc