gce-images
Advanced tools
Comparing version 2.1.4 to 3.0.0
@@ -16,3 +16,9 @@ import { GoogleAuth, GoogleAuthOptions } from 'google-auth-library'; | ||
creationTimestamp: string; | ||
deprecated: boolean; | ||
deprecated: { | ||
state: 'ACTIVE' | 'DEPRECATED' | 'OBSOLETE' | 'DELETED'; | ||
replacement: string; | ||
deprecated: string; | ||
obsolete: string; | ||
deleted: string; | ||
}; | ||
kind: 'compute#image'; | ||
@@ -32,2 +38,9 @@ selfLink: string; | ||
licenses: string[]; | ||
family: string; | ||
labelFingerprint: string; | ||
guestOsFeatures: { | ||
type: 'MULTI_IP_SUBNET' | 'UEFI_COMPATIBLE' | 'VIRTIO_SCSI_MULTIQUEUE' | 'WINDOWS'; | ||
}[]; | ||
licenseCodes: string[]; | ||
storageLocations: string[]; | ||
} | ||
@@ -107,4 +120,4 @@ export interface GetAllCallback { | ||
_filterDeprecated(image: Image): boolean; | ||
_sortNewestFirst(imageA: Image, imageB: Image): 0 | 1 | -1; | ||
_sortNewestFirst(imageA: Image, imageB: Image): 1 | 0 | -1; | ||
} | ||
export {}; |
@@ -16,2 +16,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GCEImages = void 0; | ||
const arrify = require("arrify"); | ||
@@ -18,0 +19,0 @@ const google_auth_library_1 = require("google-auth-library"); |
@@ -7,2 +7,25 @@ # Changelog | ||
## [3.0.0](https://www.github.com/googleapis/nodejs-gce-images/compare/v2.1.4...v3.0.0) (2020-06-04) | ||
### ⚠ BREAKING CHANGES | ||
* update to latest version of gts/typescript (#223) | ||
* drop Node 8 from engines field (#221) | ||
### Features | ||
* drop Node 8 from engines field ([#221](https://www.github.com/googleapis/nodejs-gce-images/issues/221)) ([66f0265](https://www.github.com/googleapis/nodejs-gce-images/commit/66f0265bddeb93d8c612b70d0d3cf386f5ce56b2)) | ||
### Bug Fixes | ||
* **deps:** update dependency google-auth-library to v6 ([#220](https://www.github.com/googleapis/nodejs-gce-images/issues/220)) ([be859ff](https://www.github.com/googleapis/nodejs-gce-images/commit/be859ffce2c12da117a844146d18521dbe67424e)) | ||
* apache license URL ([#468](https://www.github.com/googleapis/nodejs-gce-images/issues/468)) ([#227](https://www.github.com/googleapis/nodejs-gce-images/issues/227)) ([4a9744f](https://www.github.com/googleapis/nodejs-gce-images/commit/4a9744fb9a77801a3e2bf0b59fc38631dc402769)) | ||
### Build System | ||
* update to latest version of gts/typescript ([#223](https://www.github.com/googleapis/nodejs-gce-images/issues/223)) ([df07287](https://www.github.com/googleapis/nodejs-gce-images/commit/df0728732054ad79c6ea2ac57a4eb0aec063c0dd)) | ||
### [2.1.4](https://www.github.com/googleapis/nodejs-gce-images/compare/v2.1.3...v2.1.4) (2020-01-06) | ||
@@ -9,0 +32,0 @@ |
{ | ||
"name": "gce-images", | ||
"version": "2.1.4", | ||
"version": "3.0.0", | ||
"description": "Get a list of globally available Google Compute Engine images", | ||
@@ -12,3 +12,3 @@ "main": "./build/src/index.js", | ||
"docs": "compodoc src/", | ||
"lint": "gts check && eslint '**/*.js'", | ||
"lint": "gts check", | ||
"test": "c8 mocha build/test", | ||
@@ -20,7 +20,9 @@ "samples-test": "cd samples/ && npm link ../ && npm test && cd ../", | ||
"compile": "tsc -p .", | ||
"fix": "gts fix && eslint --fix '**/*.js'", | ||
"fix": "gts fix", | ||
"prepare": "npm run compile", | ||
"pretest": "npm run compile", | ||
"docs-test": "linkinator docs", | ||
"predocs-test": "npm run docs" | ||
"predocs-test": "npm run docs", | ||
"prelint": "cd samples; npm link ../; npm install", | ||
"precompile": "gts clean" | ||
}, | ||
@@ -49,3 +51,3 @@ "keywords": [ | ||
"arrify": "^2.0.0", | ||
"google-auth-library": "^5.0.0" | ||
"google-auth-library": "^6.0.0" | ||
}, | ||
@@ -55,3 +57,3 @@ "devDependencies": { | ||
"@types/chai": "^4.1.7", | ||
"@types/mocha": "^5.2.5", | ||
"@types/mocha": "^7.0.0", | ||
"@types/node": "^10.5.6", | ||
@@ -61,18 +63,12 @@ "c8": "^7.0.0", | ||
"codecov": "^3.0.4", | ||
"eslint": "^6.0.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-node": "^11.0.0", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"gts": "^1.0.0", | ||
"gts": "^2.0.0", | ||
"intelli-espower-loader": "^1.0.1", | ||
"linkinator": "^1.5.0", | ||
"linkinator": "^2.0.0", | ||
"mocha": "^7.0.0", | ||
"power-assert": "^1.6.0", | ||
"prettier": "^1.14.0", | ||
"source-map-support": "^0.5.6", | ||
"typescript": "3.6.4" | ||
"typescript": "^3.8.3" | ||
}, | ||
"engines": { | ||
"node": ">=8.10.0" | ||
"node": ">=10" | ||
} | ||
} |
@@ -197,6 +197,6 @@ # gce-images | ||
- Type: [`GoogleAuthConfig`](http://gitnpm.com/google-auth-library) | ||
- Type: [`GoogleAuthConfig`](https://github.com/googleapis/google-auth-library-nodejs) | ||
- *Optional* | ||
If you want to re-use an auth client from [google-auto-auth](http://gitnpm.com/google-auto-auth), pass an instance here. | ||
If you want to re-use an auth client from [google-auto-auth](https://github.com/stephenplusplus/google-auto-auth), pass an instance here. | ||
@@ -203,0 +203,0 @@ #### images.getAll([options], callback) |
Sorry, the diff of this file is not supported yet
39098
13
340
+ Addedgaxios@4.3.3(transitive)
+ Addedgcp-metadata@4.3.1(transitive)
+ Addedgoogle-auth-library@6.1.6(transitive)
+ Addedgoogle-p12-pem@3.1.4(transitive)
+ Addedgtoken@5.3.2(transitive)
+ Addedjson-bigint@1.0.0(transitive)
+ Addedlru-cache@6.0.0(transitive)
+ Addednode-forge@1.3.1(transitive)
+ Addedyallist@4.0.0(transitive)
- Removedgaxios@2.3.4(transitive)
- Removedgcp-metadata@3.5.0(transitive)
- Removedgoogle-auth-library@5.10.1(transitive)
- Removedgoogle-p12-pem@2.0.5(transitive)
- Removedgtoken@4.1.4(transitive)
- Removedjson-bigint@0.3.1(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedmime@2.6.0(transitive)
- Removednode-forge@0.10.0(transitive)
- Removedyallist@3.1.1(transitive)
Updatedgoogle-auth-library@^6.0.0