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

element-data-store

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

element-data-store - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "element-data-store",
"version": "0.0.3",
"version": "0.0.4",
"description": "Simple library that provides an api to stores data for an element (similar to $.data in jQuery)",

@@ -5,0 +5,0 @@ "main": "src/element-data-store.js",

@@ -1,14 +0,16 @@

(function (window, document, undefined, factory) {
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(function() {
return factory(window, document, undefined);
return factory();
});
}
else if (typeof exports === 'object') {
module.exports = factory;
module.exports = factory();
}
else {
window.elementDataStore = factory(window, document, undefined);
window.elementDataStore = factory();
}
})(window, document, undefined, function (window, document, undefined) {
})(function () {
var instance;
function ElementDataStore() {

@@ -65,3 +67,5 @@ this.dict = {};

return new ElementDataStore();
});
return function () {
return (instance = (instance || new ElementDataStore()));
};
});
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