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

litejs

Package Overview
Dependencies
Maintainers
1
Versions
213
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 22.5.0 to 22.7.0

18

json.js

@@ -151,3 +151,3 @@

sub[0].charAt(0) === "@" ? "o[p(" + quote(sub[0].slice(1)) + ")(d)]" :
(arr ? "I" : "J") + "(o,m(" + quote(sub[0]) + "))"
(arr ? "I" : "J") + "(o,m(" + quote(sub[0]) + "),0,b)"
) + ")" :

@@ -181,3 +181,3 @@ v + "o[" + quote(path) + "])" + (

op = "o[t]"
out += "(t=" + (arr ? "I" : "J") + "(o,m(" + quote(sub) + "),1))!=null&&"
out += "(t=" + (arr ? "I" : "J") + "(o,m(" + quote(sub) + "),1,b))!=null&&"
}

@@ -323,3 +323,3 @@ }

a.push(
isArray || attr === "c" ? (isArray == "{}" ? "J(" : "I(") + attr + "," + idd + "))" :
isArray || attr === "c" ? (isArray == "{}" ? "J(" : "I(") + attr + "," + idd + "),0,b)" :
m[2] || m[3] ? idd + ")(" + attr + ")" :

@@ -386,12 +386,14 @@ isRe ? "typeof " + attr + "==='string'&&" + v + ".test(" + attr + ")" :

function inArray(a, fn, idx) {
function inArray(a, fn, idx, params) {
for (var i = -1, len = a.length; ++i < len; ) {
if (fn(a[i])) return idx == null ? a[i] : i
if (fn(a[i], params)) {
return idx === 0 ? a[i] : i
}
}
return idx != null && len
return idx !== 0 && len
}
function inObject(o, fn, idx) {
function inObject(o, fn, idx, params) {
for (var key in o) {
if (fn(o[key])) return idx == null ? o[key] : key
if (fn(o[key], params)) return idx === 0 ? o[key] : key
}

@@ -398,0 +400,0 @@ return null

{
"name": "litejs",
"version": "22.5.0",
"version": "22.7.0",
"description": "Full-stack web framework in a tiny package",

@@ -5,0 +5,0 @@ "license": "MIT",

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