New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fimbul/bifrost

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fimbul/bifrost - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0-dev.20180217

2

package.json
{
"name": "@fimbul/bifrost",
"version": "0.1.0",
"version": "0.2.0-dev.20180217",
"description": "Compatibility layer for TSLint rules",

@@ -5,0 +5,0 @@ "main": "src/index",

@@ -32,4 +32,9 @@ "use strict";

}
for (const failure of result)
const { fileName } = this.sourceFile;
for (const failure of result) {
if (failure.getFileName() !== fileName)
throw new Error('Adding failures for a different SourceFile is not supported. '
+ `Expected '${fileName}' but received '${failure.getFileName()}' from rule '${name}'.`);
this.addFailure(failure.getStartPosition().getPosition(), failure.getEndPosition().getPosition(), failure.getFailure(), arrayify(failure.getFix()).map((r) => ({ start: r.start, end: r.end, text: r.text })));
}
}

@@ -36,0 +41,0 @@ },

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