Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bitdiver/model

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitdiver/model - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

lib/EnvironmentRun.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc