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

es-mapping-to-schema

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-mapping-to-schema - npm Package Compare versions

Comparing version 3.2.2 to 3.2.3

8

index.js

@@ -42,4 +42,3 @@ const _ = require('lodash');

if (mapping.properties) {
const nextSchema = determineType(mapping.properties, {}, schemaType, options);
schema.items.properties = recurseMappingProperties(mapping.properties, nextSchema, schemaType, options, {});
schema.items.properties = recurseMappingProperties(mapping.properties, {}, schemaType, options, {});

@@ -52,4 +51,3 @@ if (strict) {

if (mapping.properties) {
const nextSchema = determineType(mapping.properties, {}, schemaType, options);
schema.properties = recurseMappingProperties(mapping.properties, nextSchema, schemaType, options, {});
schema.properties = recurseMappingProperties(mapping.properties, {}, schemaType, options, {});

@@ -169,3 +167,3 @@ if (strict) {

default:
console.log(`mapping type: ${type} is unsupported and will be ignored`);
console.warn(`mapping type: ${_.isObject(type) ? JSON.stringify(type, null, 2) : type} is unsupported and will be ignored`);
return null;

@@ -172,0 +170,0 @@ }

{
"name": "es-mapping-to-schema",
"version": "3.2.2",
"version": "3.2.3",
"description": "Convert Elasticsearch mappings to Schema Inspector schemas",

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

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