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

jsonschema-key-compression

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonschema-key-compression - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

dist/es5/compress.js

@@ -106,2 +106,5 @@ "use strict";

exports.compressQuery = compressQuery;
/**
* @recursive
*/
function compressQuerySelector(table, selector) {

@@ -111,2 +114,5 @@ if (Array.isArray(selector)) {

}
else if (selector instanceof RegExp) {
return selector;
}
else if (typeof selector === 'object' && selector !== null) {

@@ -113,0 +119,0 @@ var ret_2 = {};

@@ -99,2 +99,5 @@ /**

}
/**
* @recursive
*/
export function compressQuerySelector(table, selector) {

@@ -104,2 +107,5 @@ if (Array.isArray(selector)) {

}
else if (selector instanceof RegExp) {
return selector;
}
else if (typeof selector === 'object' && selector !== null) {

@@ -106,0 +112,0 @@ const ret = {};

2

package.json
{
"name": "jsonschema-key-compression",
"version": "1.0.4",
"version": "1.0.5",
"description": "Compress json-data based on it's json-schema",

@@ -5,0 +5,0 @@ "author": "pubkey",

@@ -150,2 +150,5 @@ import {

/**
* @recursive
*/
export function compressQuerySelector(

@@ -157,2 +160,4 @@ table: CompressionTable,

return selector.map(item => compressQuerySelector(table, item));
} else if (selector instanceof RegExp) {
return selector;
} else if (typeof selector === 'object' && selector !== null) {

@@ -159,0 +164,0 @@ const ret = {};

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