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

@magicspace/tslint-rules

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magicspace/tslint-rules - npm Package Compare versions

Comparing version 0.1.41 to 0.1.42

4

bld/rules/emptyLineAroundBlocksRule.js

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

const ERROR_MESSAGE_EMPTY_LINE_AROUND_STATEMENT_REQUIRED = 'An empty line is expected before the statement.';
const REGEX_EMPTY_LINE_IN_NON_CODE = /^\s*\n\s*\n+((.|\s)*)/;
const REGEX_EMPTY_LINE_IN_NON_CODE = /\n\s*\n/;
const BlockIncludingNodeValidators = [

@@ -260,3 +260,3 @@ isBlockIncludingStatement,

let nonCode = node.getFullText().slice(0, nonCodeLength);
if (nonCode.match(REGEX_EMPTY_LINE_IN_NON_CODE)) {
if (REGEX_EMPTY_LINE_IN_NON_CODE.test(nonCode)) {
return true;

@@ -263,0 +263,0 @@ }

{
"name": "@magicspace/tslint-rules",
"version": "0.1.41",
"version": "0.1.42",
"description": "Custom TSLint rules for MagicSpace.",

@@ -37,3 +37,3 @@ "repository": "https://github.com/makeflow/magicspace.git",

},
"gitHead": "58013a303222fb866af0e2299bdbbf662c333261"
"gitHead": "a37b4f6fa5840bfcda972ca95487639a85c8d296"
}
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