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

elements

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elements - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

5

attributes.js

@@ -5,4 +5,5 @@ /*

var $ = require("./base"),
trim = require("mout/string/trim"),
var $ = require("./base")
var trim = require("mout/string/trim"),
forEach = require("mout/array/forEach"),

@@ -9,0 +10,0 @@ filter = require("mout/array/filter"),

16

base.js

@@ -5,4 +5,5 @@ /*

var prime = require("prime"),
forEach = require("mout/array/forEach"),
var prime = require("prime")
var forEach = require("mout/array/forEach"),
map = require("mout/array/map"),

@@ -15,5 +16,12 @@ filter = require("mout/array/filter"),

var uniqueIndex = 0
var index = 0,
__dc = document.__counter,
counter = document.__counter = (__dc ? parseInt(__dc, 36) + 1 : 0).toString(36),
key = "uid:" + counter
var uniqueID = function(n){
return (n === global) ? "global" : n.uniqueNumber || (n.uniqueNumber = "n:" + (uniqueIndex++).toString(36))
if (n === global) return "global"
if (n === document) return "document"
if (n === document.documentElement) return "html"
return n[key] || (n[key] = (index++).toString(36))
}

@@ -20,0 +28,0 @@

{
"name": "elements",
"description": "prime dom library",
"version": "0.3.0",
"version": "0.3.1",
"license": "MIT (http://mootools.net/license.txt)",

@@ -24,3 +24,3 @@ "main": "./index.js",

"mout": "0.9",
"slick": ">=1.10.4 <2.0.0"
"slick": ">=1.11.0 <2.0.0"
},

@@ -27,0 +27,0 @@ "devDependencies": {

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