Compare commits

4 Commits

Author SHA1 Message Date
207f1e9d51 2.0.2 2022-04-13 16:20:55 +02:00
750b029ef8 update 2022-04-13 16:20:51 +02:00
710fd5ec2e 2.0.1 2022-04-13 16:15:26 +02:00
d1315392a1 update 2022-04-13 16:15:23 +02:00
4 changed files with 7 additions and 5 deletions

View File

@ -36,6 +36,7 @@ audit:
- lossless
- docker
- notpriv
allow_failure: true
# ====================
# test stage

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartupdate",
"version": "2.0.0",
"version": "2.0.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartupdate",
"version": "2.0.0",
"version": "2.0.2",
"license": "MIT",
"dependencies": {
"@pushrocks/consolecolor": "^2.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartupdate",
"version": "2.0.0",
"version": "2.0.2",
"private": false,
"description": "update your tools in a smart way",
"main": "dist_ts/index.js",
@ -10,7 +10,7 @@
"license": "MIT",
"scripts": {
"test": "(tstest test/)",
"build": "(tsbuild --web)"
"build": "(tsbuild --web --allowimplicitany)"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.61",

View File

@ -8,7 +8,8 @@ tap.test('should create an instance of SmartUpdate', async () => {
});
tap.test('should check for a npm module', async () => {
await testSmartUpdate.check('lodash', '1.0.5');
const result = await testSmartUpdate.check('lodash', '1.0.5');
expect(result).toBeTrue();
});
tap.start();