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

@artisfy/switchjs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artisfy/switchjs - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

index.js

@@ -317,3 +317,3 @@ // Turn on, off, or toggle multiple switches by clicking an action trigger element

// E.g.
// Switches.when("toggle", "switchName", switchElem, callback);
// Switches.when({switchAction: "toggle", switchName, switchElem, callback});
// -------

@@ -324,4 +324,4 @@ // return values:

// -------
// Warning: the toggle action triggers two callbacks at the same time: toggle, as well as on/off
// so, if you don't pass in an actionType parameter, your callback will be called twice
// Warning: the toggle action triggers two callbacks at the same time: toggle, as well as on/off.
// so, if you don't pass in an actionType parameter, your callback might be called twice
function when (switchObj) {

@@ -328,0 +328,0 @@ callbackList.push(switchObj);

{
"name": "@artisfy/switchjs",
"version": "1.0.1",
"version": "1.0.2",
"description": "Turn on, off, or toggle multiple switches by clicking an action trigger element",

@@ -10,6 +10,6 @@ "main": "index.js",

"dependencies": {
"@artisfy/hummingbird": "^1.0.0",
"@artisfy/parse-data-attributes": "^1.0.0",
"@artisfy/queryjs": "^1.0.0"
"@artisfy/hummingbird": "*",
"@artisfy/parse-data-attributes": "*",
"@artisfy/queryjs": "*"
}
}
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