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

data-prism

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-prism - npm Package Compare versions

Comparing version 0.0.33 to 0.0.34

6

dist/validate.js

@@ -5,5 +5,5 @@ import Ajv from "ajv";

import { columnTypeModifiers } from "./lib/column-type-modifiers.js";
import geojsonSchema from "../schemas/geojson.schema.js";
import { geoJSONSchema } from "../schemas/geojson.schema.js";
export const defaultValidator = new Ajv();
defaultValidator.addSchema(geojsonSchema);
defaultValidator.addSchema(geoJSONSchema);
addFormats(defaultValidator);

@@ -15,3 +15,3 @@ export const createValidator = ({ schemas = [] } = {}) => {

if (!("https://data-prism.dev/schemas/geojson.schema.json" in ajv.schemas)) {
ajv.addSchema(geojsonSchema);
ajv.addSchema(geoJSONSchema);
}

@@ -18,0 +18,0 @@ return ajv;

{
"name": "data-prism",
"version": "0.0.33",
"version": "0.0.34",
"type": "module",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -8,3 +8,3 @@ import Ajv, { ErrorObject, Schema as AjvSchema } from "ajv";

import { columnTypeModifiers } from "./lib/column-type-modifiers.js";
import geojsonSchema from "../schemas/geojson.schema.js";
import { geoJSONSchema } from "../schemas/geojson.schema.js";

@@ -32,3 +32,3 @@ type CreateResource = {

export const defaultValidator = new Ajv();
defaultValidator.addSchema(geojsonSchema);
defaultValidator.addSchema(geoJSONSchema);
addFormats(defaultValidator);

@@ -42,3 +42,3 @@

if (!("https://data-prism.dev/schemas/geojson.schema.json" in ajv.schemas)) {
ajv.addSchema(geojsonSchema);
ajv.addSchema(geoJSONSchema);
}

@@ -45,0 +45,0 @@

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