Comparing version 0.2.0 to 0.2.2
{ | ||
"name": "illapa", | ||
"version": "0.2.0", | ||
"version": "0.2.2", | ||
"description": "Utility that transforms config files describing a relational DB schema into the actual SQL DDL code ", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "nyc mocha --recursive", | ||
"test": "NODE_ENV=test nyc mocha --recursive", | ||
"lint": "eslint .", | ||
@@ -39,5 +39,6 @@ "lint-fix": "eslint --fix ." | ||
"dependencies": { | ||
"teseo": "^0.1.5", | ||
"chumpi": "^0.1.4", | ||
"teseo": "^0.1.7", | ||
"winston": "^3.2.1" | ||
} | ||
} |
# Illapa | ||
[![Build Status](https://travis-ci.com/dllatas/illapa.svg?branch=master)](https://travis-ci.com/dllatas/illapa) | ||
[![CircleCI](https://circleci.com/gh/dllatas/illapa.svg?style=svg)](https://circleci.com/gh/dllatas/illapa) | ||
@@ -5,0 +5,0 @@ Utility that transforms config files describing a relational DB schema into the actual SQL code. |
const teseo = require('teseo'); | ||
const chumpi = require('chumpi'); | ||
const analysis = require('./analysis'); | ||
const synthesis = require('./synthesis'); | ||
const logger = require('./logging'); | ||
const logger = chumpi.logger('illapa'); | ||
const main = (schema, flavor, master, name) => { | ||
@@ -7,0 +9,0 @@ // Execute analysis on schema object |
const { describe, it } = require('mocha'); | ||
const { assert } = require('chai'); | ||
// const main = require('../src'); | ||
const analysis = require('../src/analysis'); | ||
// const synthesis = require('../src/synthesis'); | ||
const { course } = require('./schema'); | ||
// const POSTGRES = 'pg'; | ||
// const MYSQL = 'mysql'; | ||
describe('Analysis test module', () => { | ||
/* | ||
* const expected = { | ||
[POSTGRES]: {}, | ||
[MYSQL]: {}, | ||
}; | ||
*/ | ||
describe('Table analysis', () => { | ||
@@ -92,3 +80,2 @@ const table = true; | ||
assert.lengthOf(analyzed.errorList, 5); | ||
console.log(analyzed); | ||
}); | ||
@@ -95,0 +82,0 @@ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
81177
3
29
1354
+ Addedchumpi@^0.1.4
Updatedteseo@^0.1.7