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

json-logic-js

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-logic-js - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

.editorconfig

8

logic.js

@@ -84,2 +84,10 @@ /* globals define,module */

},
"substr":function(source, start, end) {
if(end < 0){
// JavaScript doesn't support negative end, this emulates PHP behavior
var temp = String(source).substr(start);
return temp.substr(0, temp.length + end);
}
return String(source).substr(start, end);
},
"+": function() {

@@ -86,0 +94,0 @@ return Array.prototype.reduce.call(arguments, function(a, b) {

2

package.json
{
"name": "json-logic-js",
"version": "1.2.0",
"version": "1.2.1",
"description": "Build complex rules, serialize them as JSON, and execute them in JavaScript",

@@ -5,0 +5,0 @@ "main": "logic.js",

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