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

jsexp

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsexp - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

0

jsep.js

@@ -0,0 +0,0 @@ 'use strict';

2

package.json
{
"name": "jsexp",
"version": "0.1.2",
"version": "0.1.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "scripts": {

@@ -5,2 +5,6 @@ 'use strict';

var isBoolean = require('lodash/isBoolean');
var isEmpty = require('lodash/isEmpty');
module.exports = {

@@ -44,3 +48,3 @@ $eq: function $eq(left, right) {

$empty: function $empty(value) {
return !!value && value !== 0;
return !isBoolean(value) && isEmpty(value);
},

@@ -47,0 +51,0 @@ $in: function $in(left, right) {

@@ -18,16 +18,20 @@ 'use strict';

function _objectSpread(target) {
function _objectSpread2(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
var ownKeys = Object.keys(source);
if (i % 2) {
var source = arguments[i] != null ? arguments[i] : {};
var ownKeys = Object.keys(source);
if (typeof Object.getOwnPropertySymbols === 'function') {
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
}));
if (typeof Object.getOwnPropertySymbols === 'function') {
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
}));
}
ownKeys.forEach(function (key) {
_defineProperty(target, key, source[key]);
});
} else {
Object.defineProperties(target, Object.getOwnPropertyDescriptors(arguments[i]));
}
ownKeys.forEach(function (key) {
_defineProperty(target, key, source[key]);
});
}

@@ -39,3 +43,3 @@

var createOps = function createOps(operator, args) {
return _objectSpread({
return _objectSpread2({
operator: operator

@@ -42,0 +46,0 @@ }, args);

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