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

deep-core

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-core - npm Package Compare versions

Comparing version 1.12.16 to 1.12.17

28

lib.compiled/AWS/Region.js

@@ -101,4 +101,28 @@ /**

value: function getRegionPrefix(region) {
let regionsWithDifferentPrefix = [Region.EU_FRANKFURT, Region.ASIA_PACIFIC_SEOUL];
return regionsWithDifferentPrefix.indexOf(region) !== -1 ? '.' : '-';
let prefix = null;
switch (region) {
case Region.US_EAST_OHIO:
case Region.AP_SOUTH_MUMBAI:
case Region.ASIA_PACIFIC_SEOUL:
case Region.EU_FRANKFURT:
case Region.EU_LONDON:
prefix = '.';
break;
case Region.US_EAST_N_VIRGINIA:
case Region.US_WEST_N_CALIFORNIA:
case Region.US_WEST_OREGON:
case Region.ASIA_PACIFIC_SINGAPORE:
case Region.ASIA_PACIFIC_SYDNEY:
case Region.ASIA_PACIFIC_TOKYO:
case Region.EU_IRELAND:
case Region.SOUTH_AMERICA_SAO_PAULO:
prefix = '-';
break;
default:
console.warn(`No s3 website endpoint format specified for ${region}. Fallback to '-' separator.`);
prefix = '-';
}
return prefix;
}

@@ -105,0 +129,0 @@ }, {

@@ -174,6 +174,30 @@ /**

static getRegionPrefix(region) {
let regionsWithDifferentPrefix = [Region.EU_FRANKFURT, Region.ASIA_PACIFIC_SEOUL];
return regionsWithDifferentPrefix.indexOf(region) !== -1 ? '.' : '-';
let prefix = null;
switch (region) {
case Region.US_EAST_OHIO:
case Region.AP_SOUTH_MUMBAI:
case Region.ASIA_PACIFIC_SEOUL:
case Region.EU_FRANKFURT:
case Region.EU_LONDON:
prefix = '.';
break;
case Region.US_EAST_N_VIRGINIA:
case Region.US_WEST_N_CALIFORNIA:
case Region.US_WEST_OREGON:
case Region.ASIA_PACIFIC_SINGAPORE:
case Region.ASIA_PACIFIC_SYDNEY:
case Region.ASIA_PACIFIC_TOKYO:
case Region.EU_IRELAND:
case Region.SOUTH_AMERICA_SAO_PAULO:
prefix = '-';
break;
default:
console.warn(`No s3 website endpoint format specified for ${region}. Fallback to '-' separator.`);
prefix = '-';
}
return prefix;
}
}
exports.Region = Region;

2

package.json
{
"name": "deep-core",
"version": "1.12.16",
"version": "1.12.17",
"description": "DEEP Core Library",

@@ -5,0 +5,0 @@ "keywords": [

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