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

@alicloud/console-base-rc-region-flag

Package Overview
Dependencies
Maintainers
5
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alicloud/console-base-rc-region-flag - npm Package Compare versions

Comparing version 1.1.49 to 1.3.0

build/cjs/rc/svg-inner/ph.js

7

build/cjs/rc/svg-inner/index.js

@@ -40,2 +40,4 @@ "use strict";

var _ph = _interopRequireDefault(require("./ph"));
// 国家代码与域名缩写 http://www.vuln.cn/webtools/yumingsuoxie/index.html

@@ -92,2 +94,7 @@ // 可以通过前缀就判定国家和地域:中国、美国、俄罗斯

if (/ap-southeast-6[-\w]*/.test(regionId)) {
// 菲律宾
return /*#__PURE__*/_react.default.createElement(_ph.default, null);
}
if (/eu-west-1[-\w]*/.test(regionId)) {

@@ -94,0 +101,0 @@ // 英国(伦敦)

@@ -17,2 +17,3 @@ import React from 'react'; // 国家代码与域名缩写 http://www.vuln.cn/webtools/yumingsuoxie/index.html

import Ru from './ru';
import Ph from './ph';
// 可以通过前缀就判定国家和地域:中国、美国、俄罗斯

@@ -67,2 +68,7 @@ var REG_CN = /^cn-/i;

if (/ap-southeast-6[-\w]*/.test(regionId)) {
// 菲律宾
return /*#__PURE__*/React.createElement(Ph, null);
}
if (/eu-west-1[-\w]*/.test(regionId)) {

@@ -69,0 +75,0 @@ // 英国(伦敦)

4

package.json
{
"name": "@alicloud/console-base-rc-region-flag",
"version": "1.1.49",
"version": "1.3.0",
"description": "ConsoleBase 组件 - Region 旗帜",

@@ -51,3 +51,3 @@ "license": "MIT",

},
"gitHead": "dc5850425d3513be7361f285ebd8f9e1b3f0d1d9"
"gitHead": "67c2e7ba8463e89f73c7edd9a3c76f794dd1762f"
}
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