@nebula.js/cli-create
Advanced tools
Comparing version 0.1.0-alpha.25 to 0.1.0-alpha.26
{ | ||
"name": "@nebula.js/cli-create", | ||
"version": "0.1.0-alpha.25", | ||
"version": "0.1.0-alpha.26", | ||
"description": "", | ||
@@ -25,8 +25,8 @@ "license": "MIT", | ||
"dependencies": { | ||
"chalk": "2.4.2", | ||
"ejs": "2.7.1", | ||
"chalk": "3.0.0", | ||
"ejs": "3.0.1", | ||
"fs-extra": "8.1.0", | ||
"inquirer": "7.0.0" | ||
"inquirer": "7.0.3" | ||
}, | ||
"gitHead": "e2b7f02fbdac96671cf1a6ab84d9cc25b830d724" | ||
"gitHead": "3419c3f75b3d9402256fb630d9053333fea5b3b7" | ||
} |
@@ -5,3 +5,3 @@ describe('sn', () => { | ||
const app = encodeURIComponent(process.env.APP_ID || '/apps/ctrl00.qvf'); | ||
await page.goto(`${process.testServer.url}/render/app/${app}`); | ||
await page.goto(`${process.env.BASE_URL}/render/?app=${app}`); | ||
await page.waitForFunction(`!!document.querySelector('${content}')`); | ||
@@ -8,0 +8,0 @@ const text = await page.$eval(content, el => el.textContent); |
const serve = require('@nebula.js/cli-serve'); // eslint-disable-line | ||
let s; | ||
if (!process.env.BASE_URL) { | ||
let s; | ||
before(async function setup() { | ||
this.timeout(15000); | ||
s = await serve({ | ||
open: false, | ||
}); | ||
before(async function setup() { | ||
this.timeout(15000); | ||
s = await serve({ | ||
open: false, | ||
}); | ||
process.testServer = s; | ||
process.env.BASE_URL = s.url; | ||
page.on('pageerror', e => { | ||
console.log('Error:', e.message, e.stack); | ||
page.on('pageerror', e => { | ||
console.log('Error:', e.message, e.stack); | ||
}); | ||
}); | ||
}); | ||
after(() => { | ||
s.close(); | ||
}); | ||
after(() => { | ||
s.close(); | ||
}); | ||
} |
@@ -6,5 +6,5 @@ describe('interaction', () => { | ||
await page.goto( | ||
`${process.testServer.url}/render/app/${app}?cols=Alpha,=5+avg(Expression1)&&permissions=interact,select` | ||
`${process.env.BASE_URL}/render/?app=${app}&cols=Alpha,=5+avg(Expression1)&permissions=interact,select` | ||
); | ||
await page.waitForFunction(`!!document.querySelector('${content}')`); | ||
await page.waitForSelector(content, { visible: true }); | ||
@@ -14,3 +14,3 @@ await page.click('rect[data-label="K"]'); | ||
await page.waitForSelector('button[title="Confirm selection"]'); | ||
await page.waitForSelector('button[title="Confirm selection"]:not([disabled])'); | ||
await page.click('button[title="Confirm selection"]'); | ||
@@ -17,0 +17,0 @@ |
const serve = require('@nebula.js/cli-serve'); // eslint-disable-line | ||
let s; | ||
if (!process.env.BASE_URL) { | ||
let s; | ||
before(async function setup() { | ||
this.timeout(15000); // to allow time for the server to start | ||
s = await serve({ | ||
build: false, | ||
}); | ||
before(async function setup() { | ||
this.timeout(15000); // to allow time for the server to start | ||
s = await serve({ | ||
build: false, | ||
}); | ||
process.testServer = s; | ||
process.env.BASE_URL = s.url; | ||
page.on('pageerror', e => { | ||
console.log('Error:', e.message, e.stack); | ||
page.on('pageerror', e => { | ||
console.log('Error:', e.message, e.stack); | ||
}); | ||
}); | ||
}); | ||
after(() => { | ||
s.close(); | ||
}); | ||
after(() => { | ||
s.close(); | ||
}); | ||
} |
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
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
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
21504
634
6
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@3.0.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedejs@3.0.1(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedinquirer@7.0.3(transitive)
+ Addedsupports-color@7.2.0(transitive)
- Removedejs@2.7.1(transitive)
- Removedinquirer@7.0.0(transitive)
Updatedchalk@3.0.0
Updatedejs@3.0.1
Updatedinquirer@7.0.3