New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pivotql-compiler-mapboxgl

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pivotql-compiler-mapboxgl - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

48

index.js

@@ -1,2 +0,2 @@

"use strict";
'use strict';

@@ -16,12 +16,12 @@ const _firstChild = (node) => {

STRING: _identity,
SYMBOL: (node) => ["get", _identity(node)],
SYMBOL: (node) => ['get', _identity(node)],
"-"(node) {
'-'(node) {
return -_firstChild(node).value;
},
"&&"(node) {
return ["all", ...node.children.map(_processNode)];
'&&'(node) {
return ['all', ...node.children.map(_processNode)];
},
"||"(node) {
return ["any", ...node.children.map(_processNode)];
'||'(node) {
return ['any', ...node.children.map(_processNode)];
},

@@ -37,29 +37,29 @@ ARRAY(node) {

return ["in", field, ["literal", valueList]];
return ['in', field, ['literal', valueList]];
},
"!"(node) {
return ["!", _processNode(node.children[0])];
'!'(node) {
return ['!', _processNode(node.children[0])];
},
"=="(node) {
return ["==", ...node.children.map(_processNode)];
'=='(node) {
return ['==', ...node.children.map(_processNode)];
},
"!="(node) {
return ["!=", ...node.children.map(_processNode)];
'!='(node) {
return ['!=', ...node.children.map(_processNode)];
},
MATCH(node) {
const _match = ["in"];
const _match = ['in'];
_match.push(_processNode(node.children[1]), _processNode(node.children[0]));
return _match;
},
"<"(node) {
return ["<", ...node.children.map(_processNode)];
'<'(node) {
return ['<', ...node.children.map(_processNode)];
},
"<="(node) {
return ["<=", ...node.children.map(_processNode)];
'<='(node) {
return ['<=', ...node.children.map(_processNode)];
},
">"(node) {
return [">", ...node.children.map(_processNode)];
'>'(node) {
return ['>', ...node.children.map(_processNode)];
},
">="(node) {
return [">=", ...node.children.map(_processNode)];
'>='(node) {
return ['>=', ...node.children.map(_processNode)];
},

@@ -85,2 +85,2 @@ EXPRESSION(node) {

module.exports = compile;
export default compile;
{
"name": "pivotql-compiler-mapboxgl",
"version": "0.0.1",
"version": "0.0.2",
"description": "Compile PivotQL ASTs to mapbox filter queries.",
"main": "./index.js",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"type": "module",
"scripts": {

@@ -7,0 +12,0 @@ "test": "jest"

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