@studyportals/sp-r2d2-interface
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -9,2 +9,3 @@ import { FailedResult } from "./src/results/failed-result.class"; | ||
import { MultipleIdsResult } from './src/results/multple-ids-result.class'; | ||
export { IResult, IFailedResult, ISuccessResult, Result, FailedResult, StorageResult, MultipleIdsResult, SuccessResult }; | ||
import { RawHttpResult } from './src/results/raw-http-result'; | ||
export { IResult, IFailedResult, ISuccessResult, Result, FailedResult, StorageResult, MultipleIdsResult, SuccessResult, RawHttpResult }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SuccessResult = exports.MultipleIdsResult = exports.StorageResult = exports.FailedResult = exports.Result = void 0; | ||
exports.RawHttpResult = exports.SuccessResult = exports.MultipleIdsResult = exports.StorageResult = exports.FailedResult = exports.Result = void 0; | ||
const failed_result_class_1 = require("./src/results/failed-result.class"); | ||
@@ -14,1 +14,3 @@ Object.defineProperty(exports, "FailedResult", { enumerable: true, get: function () { return failed_result_class_1.FailedResult; } }); | ||
Object.defineProperty(exports, "MultipleIdsResult", { enumerable: true, get: function () { return multple_ids_result_class_1.MultipleIdsResult; } }); | ||
const raw_http_result_1 = require("./src/results/raw-http-result"); | ||
Object.defineProperty(exports, "RawHttpResult", { enumerable: true, get: function () { return raw_http_result_1.RawHttpResult; } }); |
{ | ||
"name": "@studyportals/sp-r2d2-interface", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Contains various types (DTOs) that may be exposed by R2D2 backed services", | ||
@@ -11,3 +11,3 @@ "main": "bin/index.js", | ||
"prepare-deployment": "cp package.json bin/package.json", | ||
"deploy": "npm run prepare-deployment && npm publish bin", | ||
"deploy": "npm test && npm run prepare-deployment && npm publish bin", | ||
"lint": "tslint 'src/**/*.ts'", | ||
@@ -33,5 +33,5 @@ "lint-fix": "tslint --fix 'src/**/*.ts'", | ||
"chai": "^4.1.2", | ||
"mocha": "4.0.1", | ||
"mocha-typescript": "1.1.12", | ||
"nyc": "11.4.1", | ||
"mocha": "^8.3.0", | ||
"@testdeck/mocha": "^0.1.2", | ||
"nyc": "^15.1.0", | ||
"tslint": "^5.9.1", | ||
@@ -38,0 +38,0 @@ "typescript": "^3.9.9" |
@@ -9,3 +9,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const mocha_typescript_1 = require("mocha-typescript"); | ||
const mocha_1 = require("@testdeck/mocha"); | ||
const chai_1 = require("chai"); | ||
@@ -43,18 +43,18 @@ const failed_result_class_1 = require("../results/failed-result.class"); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], FailedResultTest.prototype, "i_failed_result_guard_set", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], FailedResultTest.prototype, "getFailed__True", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], FailedResultTest.prototype, "getErrorMsg__ProvidedValue", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], FailedResultTest.prototype, "serialization__errorMsg", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], FailedResultTest.prototype, "serialization__i_failed_result_guard", null); | ||
FailedResultTest = __decorate([ | ||
mocha_typescript_1.suite | ||
mocha_1.suite | ||
], FailedResultTest); |
@@ -9,3 +9,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const mocha_typescript_1 = require("mocha-typescript"); | ||
const mocha_1 = require("@testdeck/mocha"); | ||
const chai_1 = require("chai"); | ||
@@ -30,9 +30,9 @@ const multple_ids_result_class_1 = require("../results/multple-ids-result.class"); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], MultipleIdsResultTest.prototype, "getIds__SpecifiedValue", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], MultipleIdsResultTest.prototype, "serialization__ids", null); | ||
MultipleIdsResultTest = __decorate([ | ||
mocha_typescript_1.suite | ||
mocha_1.suite | ||
], MultipleIdsResultTest); |
@@ -9,3 +9,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const mocha_typescript_1 = require("mocha-typescript"); | ||
const mocha_1 = require("@testdeck/mocha"); | ||
const chai_1 = require("chai"); | ||
@@ -25,6 +25,6 @@ const raw_http_result_1 = require("../results/raw-http-result"); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], RawHttpResultTest.prototype, "constructor_CorrectProperties", null); | ||
RawHttpResultTest = __decorate([ | ||
mocha_typescript_1.suite | ||
mocha_1.suite | ||
], RawHttpResultTest); |
@@ -9,3 +9,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const mocha_typescript_1 = require("mocha-typescript"); | ||
const mocha_1 = require("@testdeck/mocha"); | ||
const chai_1 = require("chai"); | ||
@@ -28,12 +28,12 @@ const result_class_1 = require("../results/result.class"); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], ResultTest.prototype, "getFailed_True_True", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], ResultTest.prototype, "getFailed_False_False", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], ResultTest.prototype, "serialization__contains_failed", null); | ||
ResultTest = __decorate([ | ||
mocha_typescript_1.suite | ||
mocha_1.suite | ||
], ResultTest); |
@@ -9,3 +9,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const mocha_typescript_1 = require("mocha-typescript"); | ||
const mocha_1 = require("@testdeck/mocha"); | ||
const chai_1 = require("chai"); | ||
@@ -30,9 +30,9 @@ const storage_result_class_1 = require("../results/storage-result.class"); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], StorageResultTest.prototype, "getId__SpecifiedValue", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], StorageResultTest.prototype, "serialization__id", null); | ||
StorageResultTest = __decorate([ | ||
mocha_typescript_1.suite | ||
mocha_1.suite | ||
], StorageResultTest); |
@@ -9,3 +9,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const mocha_typescript_1 = require("mocha-typescript"); | ||
const mocha_1 = require("@testdeck/mocha"); | ||
const chai_1 = require("chai"); | ||
@@ -28,12 +28,12 @@ const success_result_class_1 = require("../results/success-result.class"); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], SuccessResultTest.prototype, "i_success_result_guard_set", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], SuccessResultTest.prototype, "getFailed__False", null); | ||
__decorate([ | ||
mocha_typescript_1.test | ||
mocha_1.test | ||
], SuccessResultTest.prototype, "serialization__i_success_result_guard", null); | ||
SuccessResultTest = __decorate([ | ||
mocha_typescript_1.suite | ||
mocha_1.suite | ||
], SuccessResultTest); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
19775
435
0