oci-common
Advanced tools
Comparing version 2.50.0 to 2.50.1
@@ -24,3 +24,3 @@ /** | ||
private static hasCalledForImds; | ||
private static hasUsedConfigFile; | ||
private static _hasUsedConfigFile; | ||
private static hasUsedEnvVar; | ||
@@ -70,2 +70,3 @@ private static imdsRegionMetadata; | ||
static EU_MADRID_1: Region; | ||
static US_CHICAGO_1: Region; | ||
static US_LANGLEY_1: Region; | ||
@@ -109,2 +110,3 @@ static US_LUKE_1: Region; | ||
static getRegionIdFromShortCode(regionStr: string): string; | ||
static set hasUsedConfigFile(bool: boolean); | ||
} |
@@ -59,3 +59,3 @@ "use strict"; | ||
static registerAllRegions() { | ||
if (!Region.hasUsedConfigFile) { | ||
if (!Region._hasUsedConfigFile) { | ||
Region.addRegionsFromConfigFile(); | ||
@@ -94,4 +94,4 @@ } | ||
static addRegionsFromConfigFile() { | ||
if (!Region.hasUsedConfigFile) { | ||
Region.hasUsedConfigFile = true; | ||
if (!Region._hasUsedConfigFile) { | ||
Region._hasUsedConfigFile = true; | ||
let expandedRegionConfigFilePath = config_file_reader_1.ConfigFileReader.expandUserHome(Region.REGIONS_CONFIG_FILE_PATH); | ||
@@ -221,2 +221,5 @@ if (config_file_reader_1.ConfigFileReader.fileExists(expandedRegionConfigFilePath)) { | ||
} | ||
static set hasUsedConfigFile(bool) { | ||
Region._hasUsedConfigFile = bool; | ||
} | ||
} | ||
@@ -226,3 +229,3 @@ exports.Region = Region; | ||
Region.hasCalledForImds = false; | ||
Region.hasUsedConfigFile = false; | ||
Region._hasUsedConfigFile = false; | ||
Region.hasUsedEnvVar = false; | ||
@@ -271,2 +274,3 @@ Region.hasWarnedAboutValuesWithoutInstanceMetadataService = false; | ||
Region.EU_MADRID_1 = Region.register("eu-madrid-1", realm_1.Realm.OC1, "mad"); | ||
Region.US_CHICAGO_1 = Region.register("us-chicago-1", realm_1.Realm.OC1, "ord"); | ||
// OC2 | ||
@@ -273,0 +277,0 @@ Region.US_LANGLEY_1 = Region.register("us-langley-1", realm_1.Realm.OC2, "lfi"); |
{ | ||
"name": "oci-common", | ||
"version": "2.50.0", | ||
"version": "2.50.1", | ||
"description": "OCI Common module for NodeJS", | ||
@@ -19,3 +19,3 @@ "repository": { | ||
"@types/isomorphic-fetch": "0.0.35", | ||
"@types/jsonwebtoken": "8.5.0", | ||
"@types/jsonwebtoken": "9.0.0", | ||
"@types/jssha": "2.0.0", | ||
@@ -27,3 +27,3 @@ "@types/opossum": "4.1.1", | ||
"isomorphic-fetch": "3.0.0", | ||
"jsonwebtoken": "8.5.1", | ||
"jsonwebtoken": "9.0.0", | ||
"jssha": "2.4.1", | ||
@@ -30,0 +30,0 @@ "opossum": "5.0.1", |
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
447446
6118
+ Added@types/jsonwebtoken@9.0.0(transitive)
+ Addedjsonwebtoken@9.0.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedsemver@7.6.3(transitive)
- Removed@types/jsonwebtoken@8.5.0(transitive)
- Removedjsonwebtoken@8.5.1(transitive)
- Removedlodash.includes@4.3.0(transitive)
- Removedlodash.isboolean@3.0.3(transitive)
- Removedlodash.isinteger@4.0.4(transitive)
- Removedlodash.isnumber@3.0.3(transitive)
- Removedlodash.isplainobject@4.0.6(transitive)
- Removedlodash.isstring@4.0.1(transitive)
- Removedlodash.once@4.1.1(transitive)
- Removedsemver@5.7.2(transitive)
Updated@types/jsonwebtoken@9.0.0
Updatedjsonwebtoken@9.0.0