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

@boll/cli

Package Overview
Dependencies
Maintainers
3
Versions
1236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boll/cli - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

dist/lib/config-context.js

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Tue, 01 Sep 2020 21:30:57 GMT",
"date": "Tue, 01 Sep 2020 21:33:54 GMT",
"tag": "@boll/cli_v0.0.15",
"version": "0.0.15",
"comments": {
"patch": [
{
"comment": "Add base config rule class",
"author": "email not defined",
"commit": "79789daff3cf11d4d48a38b4a2bca9544d0971ed",
"package": "@boll/cli"
}
]
}
},
{
"date": "Tue, 01 Sep 2020 21:31:10 GMT",
"tag": "@boll/cli_v0.0.14",

@@ -8,0 +23,0 @@ "version": "0.0.14",

# Change Log - @boll/cli
This log was last generated on Tue, 01 Sep 2020 21:30:57 GMT and should not be manually modified.
This log was last generated on Tue, 01 Sep 2020 21:33:54 GMT and should not be manually modified.
<!-- Start content -->
## 0.0.15
Tue, 01 Sep 2020 21:33:54 GMT
### Patches
- Add base config rule class (email not defined)
## 0.0.14
Tue, 01 Sep 2020 21:30:57 GMT
Tue, 01 Sep 2020 21:31:10 GMT

@@ -11,0 +19,0 @@ ### Patches

18

dist/tests/all.test.js

@@ -41,2 +41,3 @@ "use strict";

var config_test_1 = require("./config.test");
var config_rule_base_test_1 = require("./config-rule-base.test");
var cross_package_dep_detector_test_1 = require("./cross-package-dep-detector.test");

@@ -59,23 +60,26 @@ var e2e_test_1 = require("./e2e.test");

_a.sent();
return [4 /*yield*/, cross_package_dep_detector_test_1.test.run()];
return [4 /*yield*/, config_rule_base_test_1.test.run()];
case 3:
_a.sent();
return [4 /*yield*/, e2e_test_1.test.run()];
return [4 /*yield*/, cross_package_dep_detector_test_1.test.run()];
case 4:
_a.sent();
return [4 /*yield*/, format_test_1.test.run()];
return [4 /*yield*/, e2e_test_1.test.run()];
case 5:
_a.sent();
return [4 /*yield*/, glob_test_1.test.run()];
return [4 /*yield*/, format_test_1.test.run()];
case 6:
_a.sent();
return [4 /*yield*/, node_modules_reference_detector_test_1.test.run()];
return [4 /*yield*/, glob_test_1.test.run()];
case 7:
_a.sent();
return [4 /*yield*/, redundant_imports_detector_test_1.test.run()];
return [4 /*yield*/, node_modules_reference_detector_test_1.test.run()];
case 8:
_a.sent();
return [4 /*yield*/, src_detector_test_1.test.run()];
return [4 /*yield*/, redundant_imports_detector_test_1.test.run()];
case 9:
_a.sent();
return [4 /*yield*/, src_detector_test_1.test.run()];
case 10:
_a.sent();
return [2 /*return*/];

@@ -82,0 +86,0 @@ }

@@ -28,2 +28,3 @@ "use strict";

var baretest_1 = __importDefault(require("baretest"));
var path = __importStar(require("path"));
var boll_file_1 = require("../lib/boll-file");

@@ -39,3 +40,3 @@ var boll_line_number_1 = require("../lib/boll-line-number");

var sut = new result_set_1.Failure("ignore", boll_file_1.asBollFile("src/foo.tsx"), boll_line_number_1.asBollLineNumber(-1), "ignore");
assertContains("src/foo.tsx", sut.formattedMessage);
assertContains(path.normalize("src/foo.tsx"), sut.formattedMessage);
});

@@ -57,3 +58,3 @@ exports.test("includes the line of the offense", function () {

assertContains("OtherRule", sut.formattedMessage);
assertContains("src/bar.ts:1", sut.formattedMessage);
assertContains(path.normalize("src/bar.ts") + ":1", sut.formattedMessage);
});

@@ -60,0 +61,0 @@ exports.test("success", function () {

@@ -71,3 +71,3 @@ "use strict";

exports.test = baretest_1.default("Node modules reference detector");
var TEST_FILE_DIR = path_1.default.join(__dirname, "..", "..", "fixtures", "unit-test-files");
var TEST_FILE_DIR = path_1.default.join(__dirname, "..", "..", "fixtures", "node-modules-references");
exports.test("Should pass if no references to node_modules exist in source code", function () { return __awaiter(void 0, void 0, void 0, function () {

@@ -74,0 +74,0 @@ var sut, result, _a, _b;

{
"name": "@boll/cli",
"version": "0.0.14",
"version": "0.0.15",
"description": "> TODO: description",

@@ -24,3 +24,3 @@ "homepage": "https://github.com/microsoft/boll#readme",

"scripts": {
"build": "tsc -p .",
"build": "tsc",
"test": "node dist/tests/all.test.js"

@@ -30,3 +30,5 @@ },

"argparse": "^1.0.10",
"glob": "^7.1.6"
"glob": "^7.1.6",
"typescript": "^3.9.7",
"yaml": "^1.10.0"
},

@@ -39,4 +41,3 @@ "devDependencies": {

"prettier": "^2.0.5",
"ts-node-dev": "^1.0.0-pre.58",
"typescript": "^3.9.7"
"ts-node-dev": "^1.0.0-pre.58"
},

@@ -43,0 +44,0 @@ "publishConfig": {

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