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

seer-dynamic-component

Package Overview
Dependencies
Maintainers
6
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seer-dynamic-component - npm Package Compare versions

Comparing version 1.6.9 to 1.7.0

16

lib/utils.js

@@ -183,8 +183,12 @@ import "core-js/modules/es6.object.keys.js";

var origin;
if (window._YMSHOST_) {
origin = window._YMSHOST_;
} else if (window.parent && window.parent._YMSHOST_) {
origin = window.parent._YMSHOST_;
} else if (window.opener && window.opener._YMSHOST_) {
origin = window.opener._YMSHOST_;
try {
if (window._YMSHOST_) {
origin = window._YMSHOST_;
} else if (window.parent && window.parent._YMSHOST_) {
origin = window.parent._YMSHOST_;
} else if (window.opener && window.opener._YMSHOST_) {
origin = window.opener._YMSHOST_;
}
} catch (error) {
console.log('获取当前域名,在ncc中存在跨域问题');
}

@@ -191,0 +195,0 @@ if (!origin) {

{
"name": "seer-dynamic-component",
"version": "1.6.9",
"version": "1.7.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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