New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pixflow-auth-motionfactory-theme

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixflow-auth-motionfactory-theme - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

loading.png

26

index.js

@@ -13,3 +13,3 @@ const PixflowControllerAuth = require("pixflow-controller-auth");

connectedCallback(){
async connectedCallback(){
this.import_file();

@@ -21,4 +21,28 @@ this.querySelector("div.error button").addEventListener("click", e => {

})
if(await this.connect()){
document.querySelector("pixflow-auth > div > div.loading").classList.remove("active");
} else {
this.message_box("error");
}
}
message_box(mode){
let message = this.querySelector("div.message");
let timeout = message.querySelector(`div.${mode} > p`).innerHTML.split(" ").length * 2000;
message.querySelectorAll("div.active").forEach(function(element){
element.classList.remove("active");
})
let branch = message.querySelector(`div.${mode}`);
message.classList.add("active");
branch.classList.add("active");
if(mode == "error"){
message.classList.toggle(mode);
} else {
setTimeout(function(){
message.classList.remove("active");
branch.classList.remove("active");
}, timeout);
}
}
import_file(){

@@ -25,0 +49,0 @@ const self = this;

2

package.json
{
"name": "pixflow-auth-motionfactory-theme",
"version": "1.2.1",
"version": "1.2.2",
"description": "",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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