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

elm-json-schema-compiler

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elm-json-schema-compiler - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

8

index.js

@@ -5,3 +5,9 @@ #!/usr/bin/env node

var compiler = require('node-elm-compiler')
var meow = require('meow')
var cli = meow(`
Usage
$ elm-json-scema <elm-schema-file>
`)
if (!fs.existsSync('./elm-package.json')) {

@@ -11,3 +17,3 @@ fail('Error: This command needs to be executed from the root of the elm project.')

var sourcePath = process.argv[2]
var sourcePath = cli.input[0]
var targetPath = temp.path({ suffix: '.js' })

@@ -14,0 +20,0 @@ compiler.compileSync([sourcePath], {

3

package.json
{
"name": "elm-json-schema-compiler",
"version": "0.1.0",
"version": "1.0.0",
"description": "Compile elm json schema's to regular json schemas",

@@ -20,2 +20,3 @@ "main": "index.js",

"dependencies": {
"meow": "3.7.0",
"node-elm-compiler": "4.3.0",

@@ -22,0 +23,0 @@ "temp": "0.8.3"

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