@bitdiver/model
Advanced tools
Comparing version 2.0.0 to 2.0.1
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -10,8 +8,6 @@ value: true | ||
var _uuid = _interopRequireDefault(require("uuid")); | ||
var _uuid = require("uuid"); | ||
var _status = require("./status"); | ||
const uuidV4 = _uuid.default.v4; | ||
/** | ||
@@ -24,3 +20,3 @@ * The run enviroment will be created when a new run starts | ||
// The run id | ||
this.id = uuidV4(); // The name of the suite | ||
this.id = (0, _uuid.v4)(); // The name of the suite | ||
@@ -27,0 +23,0 @@ this.name = opts.name; // The status of the complete run |
"use strict"; | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -10,8 +8,6 @@ value: true | ||
var _uuid = _interopRequireDefault(require("uuid")); | ||
var _uuid = require("uuid"); | ||
var _status = require("./status"); | ||
const uuidV4 = _uuid.default.v4; | ||
/** | ||
@@ -25,3 +21,3 @@ * The testcase enviroment will be created when the test starts. There is one testcase | ||
// The testcase instance id | ||
this.id = uuidV4(); // The name of this testcasde | ||
this.id = (0, _uuid.v4)(); // The name of this testcasde | ||
@@ -28,0 +24,0 @@ this.name = opts.name; // a description for this test case |
@@ -29,7 +29,2 @@ "use strict"; | ||
}; | ||
} else if (typeof messageObj === 'object' && messageObj.message !== undefined && messageObj.stack !== undefined) { | ||
data = { | ||
message: messageObj.message, | ||
stack: messageObj.stack | ||
}; | ||
} else if (typeof messageObj === 'string') { | ||
@@ -36,0 +31,0 @@ data = { |
@@ -12,3 +12,3 @@ "use strict"; | ||
var _uuid = _interopRequireDefault(require("uuid")); | ||
var _uuid = require("uuid"); | ||
@@ -19,3 +19,2 @@ var _logadapter = require("@bitdiver/logadapter"); | ||
const uuidV4 = _uuid.default.v4; | ||
const STEP_TYPE_NORMAL = 'normal'; | ||
@@ -53,3 +52,3 @@ exports.STEP_TYPE_NORMAL = STEP_TYPE_NORMAL; | ||
this.stepInstanceId = uuidV4(); // A step can store information in the testcase environment. So a step could provide data | ||
this.stepInstanceId = (0, _uuid.v4)(); // A step can store information in the testcase environment. So a step could provide data | ||
// to other steps in the same testcase. For a single step or a server only step this is an | ||
@@ -56,0 +55,0 @@ // array of testcase environments |
{ | ||
"name": "@bitdiver/model", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "", | ||
@@ -38,29 +38,29 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@babel/cli": "7.4.3", | ||
"@babel/core": "7.4.3", | ||
"@babel/node": "7.2.2", | ||
"@babel/plugin-proposal-object-rest-spread": "7.4.3", | ||
"@babel/plugin-transform-runtime": "7.4.3", | ||
"@babel/polyfill": "7.4.3", | ||
"@babel/preset-env": "7.4.3", | ||
"@babel/register": "7.4.0", | ||
"@babel/cli": "7.8.4", | ||
"@babel/core": "7.9.0", | ||
"@babel/node": "7.8.7", | ||
"@babel/plugin-proposal-object-rest-spread": "7.9.0", | ||
"@babel/plugin-transform-runtime": "7.9.0", | ||
"@babel/polyfill": "7.8.7", | ||
"@babel/preset-env": "7.9.0", | ||
"@babel/register": "7.9.0", | ||
"babel-core": "7.0.0-bridge.0", | ||
"babel-eslint": "10.0.1", | ||
"babel-jest": "24.7.1", | ||
"cz-conventional-changelog": "2.1.0", | ||
"eslint": "5.16.0", | ||
"eslint-config-prettier": "4.1.0", | ||
"babel-eslint": "10.1.0", | ||
"babel-jest": "25.2.4", | ||
"cz-conventional-changelog": "3.1.0", | ||
"eslint": "6.8.0", | ||
"eslint-config-prettier": "6.10.1", | ||
"eslint-plugin-babel": "5.3.0", | ||
"jest": "24.7.1", | ||
"jest-cli": "24.7.1", | ||
"jest": "25.2.4", | ||
"jest-cli": "25.2.4", | ||
"jest-environment-node-debug": "2.0.0", | ||
"prettier": "1.17.0", | ||
"regenerator-runtime": "0.13.2", | ||
"semantic-release": "15.13.3" | ||
"prettier": "2.0.2", | ||
"regenerator-runtime": "0.13.5", | ||
"semantic-release": "17.0.4" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "7.4.3", | ||
"@bitdiver/logadapter": "1.4.1", | ||
"uuid": "3.3.2" | ||
"@babel/runtime": "7.9.2", | ||
"@bitdiver/logadapter": "1.4.3", | ||
"uuid": "7.0.2" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { EnvironmentRun, STATUS_OK, STATUS_WARNING } from '../lib/index' | ||
import { EnvironmentRun, STATUS_OK, STATUS_WARNING } from '../src/index' | ||
@@ -3,0 +3,0 @@ test('EnvironmentRun: default status', () => { |
@@ -1,2 +0,2 @@ | ||
import { EnvironmentTestcase, STATUS_OK, STATUS_WARNING } from '../lib/index' | ||
import { EnvironmentTestcase, STATUS_OK, STATUS_WARNING } from '../src/index' | ||
@@ -3,0 +3,0 @@ test('EnvironmentTestcaseTest: default status', () => { |
@@ -1,2 +0,2 @@ | ||
import { StepBase, EnvironmentRun, EnvironmentTestcase } from '../lib/index' | ||
import { StepBase, EnvironmentRun, EnvironmentTestcase } from '../src/index' | ||
@@ -3,0 +3,0 @@ import { getLogAdapterMemory } from '@bitdiver/logadapter' |
@@ -8,3 +8,3 @@ import { | ||
STEP_TYPE_SERVER_ONLY, | ||
} from '../lib/index' | ||
} from '../src/index' | ||
@@ -11,0 +11,0 @@ import { getLogAdapterMemory } from '@bitdiver/logadapter' |
@@ -1,2 +0,2 @@ | ||
import { StepRegistry, StepBase } from '../lib/index' | ||
import { StepRegistry, StepBase } from '../src/index' | ||
@@ -3,0 +3,0 @@ test('Test that the step could be registered', () => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
41993
874
+ Added@babel/runtime@7.9.2(transitive)
+ Added@bitdiver/logadapter@1.4.3(transitive)
+ Addedmkdirp@1.0.3(transitive)
+ Addeduuid@7.0.2(transitive)
- Removed@babel/runtime@7.4.3(transitive)
- Removed@bitdiver/logadapter@1.4.1(transitive)
- Removedminimist@0.0.8(transitive)
- Removedmkdirp@0.5.1(transitive)
- Removeduuid@3.3.2(transitive)
Updated@babel/runtime@7.9.2
Updated@bitdiver/logadapter@1.4.3
Updateduuid@7.0.2