Comparing version 1.0.0 to 1.0.1
@@ -7,2 +7,4 @@ 'use strict'; | ||
var _fs = require('fs'); | ||
var _btoa = require('btoa'); | ||
@@ -26,5 +28,8 @@ | ||
var AUTHENTICATION = 'Basic ' + (0, _btoa2.default)('sam@crowdprocess.com:2WSvkvyDA89f@'); | ||
var pjson = JSON.parse((0, _fs.readFileSync)('package.json')); | ||
var user = pjson.config.cputil.databricks.user; | ||
var pass = pjson.config.cputil.databricks.pass; | ||
var PREFIX = 'https://dbc-2f9d1352-f5c4.cloud.databricks.com/api/'; | ||
var AUTHENTICATION = 'Basic ' + (0, _btoa2.default)(user + ':' + pass); | ||
var PREFIX = pjson.config.cputil.databricks.url; | ||
@@ -31,0 +36,0 @@ function execute(url) { |
{ | ||
"name": "cputil", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Shared javascript for the CrowdProcess org", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8623
125
2