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

@betterer/betterer

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@betterer/betterer - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [3.0.3](https://github.com/phenomnomnominal/betterer/compare/v3.0.2...v3.0.3) (2020-08-20)
### Bug Fixes
* **typescript 🐛:** fix replacing paths in error messages ([#229](https://github.com/phenomnomnominal/betterer/issues/229)) ([b4af4c8](https://github.com/phenomnomnominal/betterer/commit/b4af4c871963d181117fc93c0d8a203c4b73506e))
## [3.0.2](https://github.com/phenomnomnominal/betterer/compare/v3.0.1...v3.0.2) (2020-08-18)

@@ -8,0 +19,0 @@

13

dist/context/context.js

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

return tslib_1.__awaiter(this, void 0, void 0, function () {
var printed, error, e_1;
var printed, error_1;
return tslib_1.__generator(this, function (_c) {

@@ -170,3 +170,2 @@ switch (_c.label) {

printed = _c.sent();
error = null;
_c.label = 2;

@@ -180,10 +179,6 @@ case 2:

case 4:
e_1 = _c.sent();
error = e_1;
error_1 = _c.sent();
(_b = (_a = this._reporter) === null || _a === void 0 ? void 0 : _a.contextError) === null || _b === void 0 ? void 0 : _b.call(_a, this, error_1, printed);
return [3 /*break*/, 5];
case 5:
if (error) {
(_b = (_a = this._reporter) === null || _a === void 0 ? void 0 : _a.contextError) === null || _b === void 0 ? void 0 : _b.call(_a, this, error, printed);
}
return [2 /*return*/, this._stats];
case 5: return [2 /*return*/, this._stats];
}

@@ -190,0 +185,0 @@ });

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

var m = require(requirePath);
return m.default || m;
return getDefaultExport(m);
}

@@ -18,5 +18,8 @@ exports.requireUncached = requireUncached;

m._compile(text, id);
return m.exports.default || m.exports;
return getDefaultExport(m.exports);
}
exports.requireText = requireText;
function getDefaultExport(module) {
return module.default || module;
}
//# sourceMappingURL=require.js.map

@@ -14,2 +14,3 @@ import { BettererFilePaths } from '../../watcher';

resolve(...pathSegments: Array<string>): string;
forceRelativePaths(message: string): string;
private _getValidPaths;

@@ -16,0 +17,0 @@ private _filterExcludedFiles;

@@ -76,2 +76,5 @@ "use strict";

};
BettererFileResolver.prototype.forceRelativePaths = function (message) {
return message.replace(new RegExp(this._cwd, 'g'), '.');
};
BettererFileResolver.prototype._getValidPaths = function () {

@@ -78,0 +81,0 @@ return tslib_1.__awaiter(this, void 0, void 0, function () {

{
"name": "@betterer/betterer",
"description": "Main engine for runing betterer tests",
"version": "3.0.2",
"version": "3.0.3",
"license": "MIT",

@@ -30,4 +30,4 @@ "publishConfig": {

"@betterer/logger": "^3.0.0",
"@betterer/reporter": "^3.0.2",
"@betterer/watch-reporter": "^3.0.2",
"@betterer/reporter": "^3.0.3",
"@betterer/watch-reporter": "^3.0.3",
"callsite": "^1.0.0",

@@ -48,3 +48,3 @@ "chokidar": "^3.3.1",

},
"gitHead": "6b6b9db3f2c74a11553eed6b72f3b99e77fd8ad2"
"gitHead": "537c11825636ce1e8ff174b47ec392dca2cd0bd6"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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