gcp-metadata
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -9,3 +9,3 @@ /** | ||
import { OutgoingHttpHeaders } from 'http'; | ||
export declare const HOST_ADDRESS = "http://metadata.google.internal."; | ||
export declare const HOST_ADDRESS = "http://169.254.169.254"; | ||
export declare const BASE_PATH = "/computeMetadata/v1"; | ||
@@ -12,0 +12,0 @@ export declare const BASE_URL: string; |
@@ -11,3 +11,3 @@ "use strict"; | ||
const jsonBigint = require('json-bigint'); | ||
exports.HOST_ADDRESS = 'http://metadata.google.internal.'; | ||
exports.HOST_ADDRESS = 'http://169.254.169.254'; | ||
exports.BASE_PATH = '/computeMetadata/v1'; | ||
@@ -14,0 +14,0 @@ exports.BASE_URL = exports.HOST_ADDRESS + exports.BASE_PATH; |
@@ -7,2 +7,9 @@ # Changelog | ||
### [2.0.3](https://www.github.com/googleapis/gcp-metadata/compare/v2.0.2...v2.0.3) (2019-09-12) | ||
### Bug Fixes | ||
* use IP for metadata server ([#233](https://www.github.com/googleapis/gcp-metadata/issues/233)) ([20a15cb](https://www.github.com/googleapis/gcp-metadata/commit/20a15cb)) | ||
### [2.0.2](https://www.github.com/googleapis/gcp-metadata/compare/v2.0.1...v2.0.2) (2019-08-26) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "gcp-metadata", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Get the metadata from a Google Cloud Platform environment", | ||
@@ -54,7 +54,7 @@ "repository": "googleapis/gcp-metadata", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-node": "^9.1.0", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint-plugin-prettier": "^3.1.0", | ||
"gcbuild": "^1.3.4", | ||
"gcx": "^0.2.4", | ||
"googleapis": "^42.0.0", | ||
"googleapis": "^43.0.0", | ||
"gts": "^1.1.0", | ||
@@ -61,0 +61,0 @@ "linkinator": "^1.5.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35635