Socket
Socket
Sign inDemoInstall

list-dragon

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.9.0 to 1.0.0

6

index.js

@@ -561,6 +561,6 @@ // list-dragon node module

})(
typeof window === 'undefined' ? module : window.module || (window.ListDragon = {}),
typeof window === 'undefined' ? module.exports : window.module && window.module.exports || (window.ListDragon.exports = {})
typeof module === 'object' && module || (window.ListDragon = {}),
typeof module === 'object' && module.exports || (window.ListDragon.exports = {})
) || (
typeof window === 'undefined' || window.module || (window.ListDragon = window.ListDragon.exports)
typeof module === 'object' || (window.ListDragon = window.ListDragon.exports)
);

@@ -567,0 +567,0 @@

{
"name": "list-dragon",
"version": "0.9.0",
"version": "1.0.0",
"main": "./index.js",

@@ -5,0 +5,0 @@ "description": "Drag and drop items between lists.",

@@ -560,6 +560,6 @@ // list-dragon node module

})(
typeof window === 'undefined' ? module : window.module || (window.ListDragon = {}),
typeof window === 'undefined' ? module.exports : window.module && window.module.exports || (window.ListDragon.exports = {})
typeof module === 'object' && module || (window.ListDragon = {}),
typeof module === 'object' && module.exports || (window.ListDragon.exports = {})
) || (
typeof window === 'undefined' || window.module || (window.ListDragon = window.ListDragon.exports)
typeof module === 'object' || (window.ListDragon = window.ListDragon.exports)
);

@@ -579,9 +579,13 @@

* Before the IIFE runs, the actual parameter expressions are executed:
* 1. If `module` object defined, we're in NodeJs so assume there is a `module` object with an `exports` object
* 2. If `module` object undefined, we're in browser so define a `window.ListDragon` object with an `exports` object
* 1. If `window` object undefined, we're in NodeJs so assume there is a `module` object with an `exports` property
* 2. If `window` object defined, we're in browser
* 2.a. If `module` object predefined, use it
* 2.b. If `module` object undefined, create a `ListDragon` object
*
* After the IIFE returns:
* Because it always returns undefined, the expression after the || will always execute:
* 1. If `module` object defined, then we're in NodeJs so we're done
* 2. If `module` object undefined, then we're in browser so redefine`window.ListDragon` as its `exports` object
* Because it always returns undefined, the expression after the || will execute:
* 1. If `window` object undefined, then we're in NodeJs so we're done
* 2. If `window` object defined, then we're in browser
* 2.a. If `module` object predefined, we're done; results are in `moudule.exports`
* 2.b. If `module` object undefined, redefine`ListDragon` to be the `ListDragon.exports` object
*/
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc