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

litejs

Package Overview
Dependencies
Maintainers
1
Versions
214
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

litejs - npm Package Compare versions

Comparing version 19.5.0 to 19.5.1

5

app/hello.js

@@ -126,3 +126,4 @@

function testLogin(map) {
function testLogin(map, win) {
if (win.session !== map.session) return createWindow(map)
if (body.user != null) {

@@ -220,3 +221,3 @@ return hello.emit("auth", req, res, map, function() {

map.window = row.lastId
testLogin(map)
testLogin(map, {id: map.window, session: map.session})
})

@@ -223,0 +224,0 @@ }

3

package.json
{
"name": "litejs",
"version": "19.5.0",
"version": "19.5.1",
"license": "MIT",

@@ -20,2 +20,3 @@ "author": "Lauri Rooden <lauri@rooden.ee>",

"litejs-stat": "./lib/cli/stat",
"lj": "./lib/cli/index.js",
"litejs": "./lib/cli/index.js"

@@ -22,0 +23,0 @@ },

/*
* @version 19.5.0
* @version 19.5.1
* @author Lauri Rooden <lauri@rooden.ee>

@@ -1137,3 +1137,3 @@ * @license MIT License

"class": El.cls = acceptMany(function(el, name, fn) {
;(arguments.length < 3 || fn ? addClass : rmClass)(el, name)
el && (arguments.length < 3 || fn ? addClass : rmClass)(el, name)
}),

@@ -1550,4 +1550,5 @@ data: function(el, key, val) {

function acceptMany(fn) {
return function(el, name, val) {
return function f(el, name, val, delay) {
if (typeof name === "string" && name !== "") {
if (delay > 0) return setTimeout(f, delay, el, name, val)
var names = name.split(splitRe)

@@ -1554,0 +1555,0 @@ , i = 0

@@ -140,2 +140,8 @@

View.on("timerTest", function(e, el) {
setTimeout(function() {
El.txt(el, arguments.length)
}, 1000, 1, 2, 3)
})
View.on("toggleClass", function(e, el, clName, target) {

@@ -142,0 +148,0 @@ El[El.hasClass(el, clName) ? "rmClass" : "addClass"](el, clName)

@@ -179,8 +179,14 @@

// Remove background image flickers on hover in IE6
//
// You could also use CSS
// html { filter: expression(document.execCommand("BackgroundImageCache", false, true)); }
eval("/*@cc_on try{document.execCommand('BackgroundImageCache',false,true)}catch(e){}@*/")
eval(
"/*@cc_on " +
// Remove background image flickers on hover in IE6
// You could also use CSS
// html { filter: expression(document.execCommand("BackgroundImageCache", false, true)); }
"try{document.execCommand('BackgroundImageCache',false,true)}catch(e){}" +
// Patch parameters support for setTimeout callback
"function f(n){var s=window[n];window[n]=function(f,t){var a=arguments;" +
"return s(typeof f=='function'&&a.length>2?f.apply.bind(f,null,[].slice.call(a,2)):f,t)}}" +
"if(!+'\v1'||document.documentMode<=9){f('setTimeout');f('setInterval')}" +
"@*/"
)
}(this, Function)

@@ -187,0 +193,0 @@

@@ -25,3 +25,3 @@

"class": El.cls = acceptMany(function(el, name, fn) {
;(arguments.length < 3 || fn ? addClass : rmClass)(el, name)
el && (arguments.length < 3 || fn ? addClass : rmClass)(el, name)
}),

@@ -438,4 +438,5 @@ data: function(el, key, val) {

function acceptMany(fn) {
return function(el, name, val) {
return function f(el, name, val, delay) {
if (typeof name === "string" && name !== "") {
if (delay > 0) return setTimeout(f, delay, el, name, val)
var names = name.split(splitRe)

@@ -442,0 +443,0 @@ , i = 0

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