@loopback/testlab
Advanced tools
+1
-1
@@ -0,1 +1,2 @@ | ||
| "use strict"; | ||
| // Copyright IBM Corp. 2013,2017. All Rights Reserved. | ||
@@ -5,3 +6,2 @@ // Node module: @loopback/testlab | ||
| // License text available at https://opensource.org/licenses/MIT | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -8,0 +8,0 @@ /// <reference path="../should-as-function.d.ts" /> |
+1
-1
@@ -0,1 +1,2 @@ | ||
| "use strict"; | ||
| // Copyright IBM Corp. 2013,2017. All Rights Reserved. | ||
@@ -5,3 +6,2 @@ // Node module: @loopback/testlab | ||
| // License text available at https://opensource.org/licenses/MIT | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -8,0 +8,0 @@ /// <reference path="../should-as-function.d.ts" /> |
+3
-3
| { | ||
| "name": "@loopback/testlab", | ||
| "version": "4.0.0-alpha.2", | ||
| "version": "4.0.0-alpha.3", | ||
| "description": "A collection of test utilities we use to write LoopBack tests.", | ||
@@ -10,7 +10,7 @@ "main": "index", | ||
| "build:lib6": "tsc --target es2015 --outDir lib6", | ||
| "clean": "rm *.tgz; rm -rf ./package", | ||
| "clean": "rm -f loopback-testlab*.tgz && rm -rf lib* && rm -rf package", | ||
| "prepublish": "npm run build", | ||
| "pretest": "npm run build", | ||
| "test": "mocha", | ||
| "verify": "npm run clean && npm pack && tar xvzf *.tgz && tree package" | ||
| "verify": "npm pack && tar xf loopback-testlab*.tgz && tree package && npm run clean" | ||
| }, | ||
@@ -17,0 +17,0 @@ "author": "IBM", |
| /// <reference path="../should-as-function.d.ts" /> | ||
| import sinon = require('sinon'); | ||
| import supertest = require('supertest'); | ||
| export declare const expect: Internal; | ||
| export { sinon }; | ||
| export { supertest }; |
-16
| // Copyright IBM Corp. 2013,2017. All Rights Reserved. | ||
| // Node module: @loopback/testlab | ||
| // This file is licensed under the MIT License. | ||
| // License text available at https://opensource.org/licenses/MIT | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| /// <reference path="../../should-as-function.d.ts" /> | ||
| const shouldAsFunction = require('should/as-function'); | ||
| const sinon = require("sinon"); | ||
| exports.sinon = sinon; | ||
| const supertest = require("supertest"); | ||
| exports.supertest = supertest; | ||
| shouldAsFunction.use((should, assertion) => { | ||
| assertion.addChain('to'); | ||
| }); | ||
| exports.expect = shouldAsFunction; |
| /// <reference path="../should-as-function.d.ts" /> | ||
| import sinon = require('sinon'); | ||
| import supertest = require('supertest'); | ||
| export declare const expect: Internal; | ||
| export { sinon }; | ||
| export { supertest }; |
| // Copyright IBM Corp. 2013,2017. All Rights Reserved. | ||
| // Node module: @loopback/testlab | ||
| // This file is licensed under the MIT License. | ||
| // License text available at https://opensource.org/licenses/MIT | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| /// <reference path="../../should-as-function.d.ts" /> | ||
| const shouldAsFunction = require('should/as-function'); | ||
| const sinon = require("sinon"); | ||
| exports.sinon = sinon; | ||
| const supertest = require("supertest"); | ||
| exports.supertest = supertest; | ||
| shouldAsFunction.use((should, assertion) => { | ||
| assertion.addChain('to'); | ||
| }); | ||
| exports.expect = shouldAsFunction; |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
1
-50%12884
-11.19%9
-30.77%251
-14.92%