Compare commits

2 Commits

Author SHA1 Message Date
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 6 additions and 4 deletions

View File

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

4
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartupdate", "name": "@pushrocks/smartupdate",
"version": "2.0.0", "version": "2.0.1",
"private": false, "private": false,
"description": "update your tools in a smart way", "description": "update your tools in a smart way",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -8,7 +8,8 @@ tap.test('should create an instance of SmartUpdate', async () => {
}); });
tap.test('should check for a npm module', 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(); tap.start();