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

@boll/core

Package Overview
Dependencies
Maintainers
3
Versions
1225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boll/core - npm Package Compare versions

Comparing version 1.4.1 to 1.5.0

17

CHANGELOG.json

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

{
"date": "Fri, 13 Nov 2020 22:24:33 GMT",
"date": "Tue, 17 Nov 2020 19:28:28 GMT",
"tag": "@boll/core_v1.5.0",
"version": "1.5.0",
"comments": {
"minor": [
{
"comment": "Typescript glob ignores .d.ts files.",
"author": "jdh@microsoft.com",
"commit": "3a0e3b2289410fdbe2c4204effd82be54558c2f0",
"package": "@boll/core"
}
]
}
},
{
"date": "Fri, 13 Nov 2020 22:25:19 GMT",
"tag": "@boll/core_v1.4.1",

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

# Change Log - @boll/core
This log was last generated on Fri, 13 Nov 2020 22:24:33 GMT and should not be manually modified.
This log was last generated on Tue, 17 Nov 2020 19:28:28 GMT and should not be manually modified.
<!-- Start content -->
## 1.5.0
Tue, 17 Nov 2020 19:28:28 GMT
### Minor changes
- Typescript glob ignores .d.ts files. (jdh@microsoft.com)
## 1.4.1
Fri, 13 Nov 2020 22:24:33 GMT
Fri, 13 Nov 2020 22:25:19 GMT

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

2

dist/glob.js

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

paths = _d.sent();
paths = paths.filter(function (path) { return !path.includes("node_modules"); });
paths = paths.filter(function (path) { return !path.includes("node_modules") && !path.endsWith(".d.ts"); });
_loop_1 = function (excludeGlob) {

@@ -70,0 +70,0 @@ var exclusions, filteredPaths;

@@ -114,2 +114,25 @@ "use strict";

}); });
exports.test("should not include .d.ts files", function () { return __awaiter(void 0, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, test_internal_1.inFixtureDir("project-a", __dirname, function () { return __awaiter(void 0, void 0, void 0, function () {
var glob, results;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
glob = new glob_1.TypescriptSourceGlob();
return [4 /*yield*/, glob.findFiles()];
case 1:
results = _a.sent();
assert.ok(!results.includes(boll_file_1.asBollFile("src/some-thing.d.ts")), "expected results not to include some-thing.d.ts, but was " + results.join(", "));
return [2 /*return*/];
}
});
}); })];
case 1:
_a.sent();
return [2 /*return*/];
}
});
}); });
exports.test("should not return files explicitly excluded", function () { return __awaiter(void 0, void 0, void 0, function () {

@@ -116,0 +139,0 @@ return __generator(this, function (_a) {

@@ -48,3 +48,3 @@ {

},
"version": "1.4.1"
"version": "1.5.0"
}
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