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

empty-schema

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

empty-schema - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

test/index.js

2

package.json
{
"name": "empty-schema",
"version": "0.1.1",
"version": "0.1.2",
"description": "Generate empty placeholder data from JSON Schemas",

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

@@ -1,3 +0,3 @@

import deref from 'deref'
import _empty from './empty'
import deref from 'deref'
import _empty from './empty'

@@ -15,3 +15,3 @@ export { _empty } from './empty'

export const empty = (schema, refs) => {
const denormed = deref(schema, refs)
const denormed = deref()(schema, refs, true)

@@ -18,0 +18,0 @@ return _empty(denormed, denormed)

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