Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
7b6260bb15 | |||
2345e972d5 | |||
22c44a8cd0 | |||
bae2aebf83 | |||
5fe2358bfe | |||
280ded573d | |||
6b6a92b709 | |||
c1589c2309 | |||
271d657f2c | |||
63669ea6ff | |||
4306272f45 | |||
4378b36069 |
15
.snyk
Normal file
15
.snyk
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
||||||
|
version: v1.12.0
|
||||||
|
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
|
||||||
|
ignore:
|
||||||
|
'npm:shelljs:20140723':
|
||||||
|
- smartdelay > typings-global > smartshell > shelljs:
|
||||||
|
reason: None given
|
||||||
|
expires: '2018-07-28T21:47:33.536Z'
|
||||||
|
- early > typings-global > smartshell > shelljs:
|
||||||
|
reason: None given
|
||||||
|
expires: '2018-07-28T21:47:33.537Z'
|
||||||
|
- early > beautycolor > typings-global > smartshell > shelljs:
|
||||||
|
reason: None given
|
||||||
|
expires: '2018-07-28T21:47:33.537Z'
|
||||||
|
patch: {}
|
@ -1,4 +1,4 @@
|
|||||||
# tapbundle
|
# @pushrocks/tapbundle
|
||||||
|
|
||||||
tap bundled for tapbuffer
|
tap bundled for tapbuffer
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
{
|
{
|
||||||
"npmci": {
|
"npmci": {
|
||||||
"npmGlobalTools": [
|
"npmGlobalTools": [],
|
||||||
"npmts"
|
"npmAccessLevel": "public"
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"npmts": {
|
"npmts": {
|
||||||
"testConfig": {
|
"testConfig": {
|
||||||
|
888
package-lock.json
generated
888
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "tapbundle",
|
"name": "@pushrocks/tapbundle",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "2.0.1",
|
"version": "3.0.4",
|
||||||
"description": "tap bundled for tapbuffer",
|
"description": "tap bundled for tapbuffer",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(tsrun test/test.ts)",
|
"test": "(tstest test/)",
|
||||||
"build": "(npmts)"
|
"build": "(tsbuild)"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -20,15 +20,17 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/pushrocks/tapbundle#README",
|
"homepage": "https://gitlab.com/pushrocks/tapbundle#README",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"early": "^2.1.1",
|
"@gitzone/tsbuild": "^2.0.22",
|
||||||
|
"@gitzone/tstest": "^1.0.13",
|
||||||
|
"@pushrocks/early": "^3.0.3",
|
||||||
|
"@pushrocks/smartdelay": "^2.0.1",
|
||||||
|
"@pushrocks/smartpromise": "^2.0.5",
|
||||||
"leakage": "^0.4.0",
|
"leakage": "^0.4.0",
|
||||||
"smartchai": "^2.0.1",
|
"smartchai": "^2.0.1"
|
||||||
"smartdelay": "^1.0.4",
|
|
||||||
"smartq": "^1.1.8"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsrun": "^1.0.7",
|
"@gitzone/tsrun": "^1.1.12",
|
||||||
"@types/node": "^10.5.0",
|
"@types/node": "^10.5.7",
|
||||||
"randomstring": "^1.1.5"
|
"randomstring": "^1.1.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { tap, expect } from '../dist/index';
|
import { tap, expect } from '../ts/index';
|
||||||
|
|
||||||
let tapwrap = tap.wrap(async () => {
|
let tapwrap = tap.wrap(async () => {
|
||||||
tap.test('should do something', async () => {
|
tap.test('should do something', async () => {
|
||||||
|
@ -3,7 +3,7 @@ import { tapCreator } from './tapbundle.tapcreator';
|
|||||||
import { TapTools } from './tapbundle.classes.taptools';
|
import { TapTools } from './tapbundle.classes.taptools';
|
||||||
|
|
||||||
// imported interfaces
|
// imported interfaces
|
||||||
import { HrtMeasurement } from 'early';
|
import { HrtMeasurement } from '@pushrocks/early';
|
||||||
import { Deferred } from 'smartq';
|
import { Deferred } from 'smartq';
|
||||||
|
|
||||||
// interfaces
|
// interfaces
|
||||||
@ -22,7 +22,7 @@ export class TapTest {
|
|||||||
tapTools: TapTools;
|
tapTools: TapTools;
|
||||||
testFunction: ITestFunction;
|
testFunction: ITestFunction;
|
||||||
testKey: number; // the testKey the position in the test qeue. Set upon calling .run()
|
testKey: number; // the testKey the position in the test qeue. Set upon calling .run()
|
||||||
testDeferred: Deferred<TapTest> = plugins.smartq.defer();
|
testDeferred: Deferred<TapTest> = plugins.smartpromise.defer();
|
||||||
testPromise: Promise<TapTest> = this.testDeferred.promise;
|
testPromise: Promise<TapTest> = this.testDeferred.promise;
|
||||||
/**
|
/**
|
||||||
* constructor
|
* constructor
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import * as early from 'early';
|
import * as early from '@pushrocks/early';
|
||||||
import * as leakage from 'leakage';
|
import * as leakage from 'leakage';
|
||||||
import * as smartdelay from 'smartdelay';
|
import * as smartdelay from '@pushrocks/smartdelay';
|
||||||
import * as smartq from 'smartq';
|
import * as smartpromise from '@pushrocks/smartpromise';
|
||||||
|
|
||||||
export { early, smartdelay, smartq, leakage };
|
export { early, smartdelay, smartpromise, leakage };
|
||||||
|
Reference in New Issue
Block a user