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 0.3.4 to 0.3.5

1

dist/files/file-info.d.ts

@@ -14,3 +14,4 @@ import { LoggerCodeInfo } from '@betterer/logger';

print(): string;
private _normalisePath;
}
export {};

@@ -13,4 +13,5 @@ "use strict";

this._files = {};
var resultsPath = config.resultsPath;
info.forEach(function (i) {
var relativePath = path.relative(config.resultsPath, i.filePath);
var relativePath = _this._normalisePath(path.relative(resultsPath, i.filePath));
_this._files[relativePath] = _this._files[relativePath] || [];

@@ -68,2 +69,7 @@ _this._files[relativePath].push(i);

};
BettererFileInfo.prototype._normalisePath = function (filePath) {
return path.sep === path.posix.sep
? filePath
: filePath.split(path.sep).join(path.posix.sep);
};
return BettererFileInfo;

@@ -70,0 +76,0 @@ }());

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var ts_node_1 = require("ts-node");
ts_node_1.register();
tslib_1.__exportStar(require("./files"), exports);
tslib_1.__exportStar(require("./betterer"), exports);
//# sourceMappingURL=index.js.map

11

package.json
{
"name": "@betterer/betterer",
"description": "Main engine for runing betterer tests",
"version": "0.3.4",
"version": "0.3.5",
"license": "MIT",

@@ -24,13 +24,14 @@ "publishConfig": {

"scripts": {
"compile": "tsc"
"compile": "tsc -b ."
},
"dependencies": {
"@betterer/constraints": "^0.3.0",
"@betterer/logger": "^0.3.0",
"@betterer/constraints": "^0.3.5",
"@betterer/logger": "^0.3.5",
"jest-diff": "^24.9.0",
"lines-and-columns": "^1.1.6",
"safe-string-literal": "^1.0.1",
"ts-node": "^8.5.4",
"tslib": "^1.10.0"
},
"gitHead": "a6bcdfa9aacec4a29c786ec891c1446140289adb"
"gitHead": "83f190c9df8a774b7de9bb56acaabb26d9470281"
}

@@ -14,3 +14,3 @@ # `@betterer/betterer`

const cwd = process.cwd();
const configPath = path.resolve(cwd, './.betterer.js');
const configPath = path.resolve(cwd, './.betterer.ts');
const resultsPath = path.resolve(cwd, './.betterer.results');

@@ -17,0 +17,0 @@ const { worse } = await betterer({ configPath, resultsPath });

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