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

@jsonquerylang/jsonquery

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsonquerylang/jsonquery - npm Package Compare versions

Comparing version 3.0.2 to 3.0.4

4

lib/jsonquery.d.ts
import type { JSONQuery, JSONQueryOptions } from './types';
export declare function jsonquery(data: unknown, query: string | JSONQuery, options?: JSONQueryOptions): unknown;
export { compile } from './compile';
export { stringify } from './stringify';
export { parse } from './parse';
export { buildFunction } from './functions';
//# sourceMappingURL=jsonquery.d.ts.map

12

lib/jsonquery.js

@@ -263,6 +263,3 @@ const E = (t) => Array.isArray(t), L = (t) => typeof t == "string";

}
function D(t, e, r) {
return b(L(e) ? M(e, r) : e, r)(t);
}
const T = 40, Z = " ", K = (t, e) => {
const T = 40, Z = " ", D = (t, e) => {
const r = (e == null ? void 0 : e.indentation) ?? Z, n = (a, u) => E(a) ? s(a, u) : JSON.stringify(a), s = (a, u) => {

@@ -319,9 +316,12 @@ var h;

};
function K(t, e, r) {
return b(L(e) ? M(e, r) : e, r)(t);
}
export {
m as buildFunction,
b as compile,
D as jsonquery,
K as jsonquery,
M as parse,
K as stringify
D as stringify
};
//# sourceMappingURL=jsonquery.js.map
{
"name": "@jsonquerylang/jsonquery",
"version": "3.0.2",
"version": "3.0.4",
"description": "A small, flexible, and expandable JSON query language",

@@ -24,7 +24,7 @@ "keywords": [

"module": "./lib/jsonquery.js",
"types": "./lib/index.d.ts",
"types": "./lib/jsonquery.d.ts",
"exports": {
".": {
"import": "./lib/jsonquery.js",
"types": "./lib/index.d.ts"
"types": "./lib/jsonquery.d.ts"
}

@@ -31,0 +31,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