Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oci-common

Package Overview
Dependencies
Maintainers
4
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-common - npm Package Compare versions

Comparing version 2.50.0 to 2.50.1

4

lib/region.d.ts

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc