gce-images
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -126,3 +126,5 @@ "use strict"; | ||
} | ||
if (images.length === 0) { | ||
// All CoreOS images are now deprecated, See: | ||
// https://cloud.google.com/compute/docs/eol/coreOS | ||
if (images.length === 0 && !osParts.name.startsWith('coreos')) { | ||
throw new Error('Could not find a suitable image.'); | ||
@@ -129,0 +131,0 @@ } |
@@ -7,2 +7,9 @@ # Changelog | ||
### [3.0.2](https://www.github.com/googleapis/nodejs-gce-images/compare/v3.0.1...v3.0.2) (2020-09-23) | ||
### Bug Fixes | ||
* **coreos:** handle coreos deprecation ([#270](https://www.github.com/googleapis/nodejs-gce-images/issues/270)) ([38ec012](https://www.github.com/googleapis/nodejs-gce-images/commit/38ec012cb376083e20b1d3b726f7bc8044ba647e)) | ||
### [3.0.1](https://www.github.com/googleapis/nodejs-gce-images/compare/v3.0.0...v3.0.1) (2020-07-10) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "gce-images", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Get a list of globally available Google Compute Engine images", | ||
@@ -25,3 +25,5 @@ "main": "./build/src/index.js", | ||
"prelint": "cd samples; npm link ../; npm install", | ||
"precompile": "gts clean" | ||
"precompile": "gts clean", | ||
"api-extractor": "api-extractor run --local", | ||
"api-documenter": "api-documenter yaml --input-folder=temp" | ||
}, | ||
@@ -55,3 +57,3 @@ "keywords": [ | ||
"@types/chai": "^4.1.7", | ||
"@types/mocha": "^7.0.0", | ||
"@types/mocha": "^8.0.0", | ||
"@types/node": "^10.5.6", | ||
@@ -66,3 +68,5 @@ "c8": "^7.0.0", | ||
"source-map-support": "^0.5.6", | ||
"typescript": "^3.8.3" | ||
"typescript": "^3.8.3", | ||
"@microsoft/api-documenter": "^7.8.10", | ||
"@microsoft/api-extractor": "^7.8.10" | ||
}, | ||
@@ -69,0 +73,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
40212
342
15