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

leaf-converter

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaf-converter - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="1.3.1"></a>
## [1.3.1](https://github.com/forsigner/leaf-converter/compare/v1.3.0...v1.3.1) (2018-01-16)
### Bug Fixes
* fix typo error ([8c8fca1](https://github.com/forsigner/leaf-converter/commit/8c8fca1))
<a name="1.3.0"></a>

@@ -7,0 +17,0 @@ # [1.3.0](https://github.com/forsigner/leaf-converter/compare/v1.2.1...v1.3.0) (2018-01-12)

2

lib/schema-to-struct.js

@@ -8,3 +8,3 @@ 'use strict';

var convert = function convert(schema) {
if (['object', 'arrajy'].indexOf(schema.type) < 0) {
if (['object', 'array'].indexOf(schema.type) < 0) {
return schema.type;

@@ -11,0 +11,0 @@ } else if (schema.type === 'object') {

{
"name": "leaf-converter",
"description": "",
"version": "1.3.0",
"version": "1.3.1",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "author": {

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