How to use the dataproofer.version function in dataproofer

To help you get started, we’ve selected a few dataproofer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dataproofer / Dataproofer / electron / js / controller.js View on Github external
var jQ = require("jquery");
require("tipsy-browserify")(jQ);
var d3 = require("d3");
var _ = require("lodash");
var Processor = require("dataproofer").Processing;
var gsheets = require("gsheets");
var ipc = require("electron").ipcRenderer;

// libraries required to run test inline
// var requireFromString = require("require-from-string");
var DataprooferTest = require("dataproofertest-js");
var uuid = require("uuid");

console.log("dataproofer app version", require("./package.json").version);
console.log("dataproofer lib version", require("dataproofer").version);

// keep track of global renderer
var renderer;

var SUITES = [
  require("dataproofer-info-suite"),
  require("dataproofer-core-suite"),
  require("dataproofer-stats-suite"),
  require("dataproofer-geo-suite")
];

// turn on all tests by default
SUITES.forEach(function(suite) {
  suite.tests.forEach(function(test) {
    if (test.active === false) return; // don't overwrite a test's default setting if it's set to false
    test.active = true;