ddf-query-validator
Advanced tools
Comparing version 1.2.1 to 1.3.0
export declare function validateQueryStructure(query: any, options?: {}): Promise<string | void>; | ||
export declare function getVersion(): string; |
@@ -44,2 +44,6 @@ "use strict"; | ||
exports.validateQueryStructure = validateQueryStructure; | ||
function getVersion() { | ||
return process.env.npm_package_version; | ||
} | ||
exports.getVersion = getVersion; | ||
function validateDatasetStructure(query, options) { | ||
@@ -46,0 +50,0 @@ const errorMessages = []; |
{ | ||
"name": "ddf-query-validator", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "DDF query validator", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -55,2 +55,6 @@ import * as isEmpty from 'lodash.isempty'; | ||
export function getVersion() { | ||
return process.env.npm_package_version; | ||
} | ||
function validateDatasetStructure(query, options): string[] { | ||
@@ -57,0 +61,0 @@ const errorMessages = []; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173001
2941
4