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

esformatter-ignore

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

esformatter-ignore - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

5

changelog.md
# esformatter-ignore - Changelog
## v0.1.2
- **Enhancements**
- improve regex to include spaces between the comment start token and comment end token - [77ec2b1]( https://github.com/royriojas/esformatter-ignore/commit/77ec2b1 ), [royriojas](https://github.com/royriojas), 01/10/2015 12:13:29
## v0.1.1

@@ -4,0 +9,0 @@ - **Bug Fixes**

2

index.js

@@ -9,3 +9,3 @@ // escape regex

var blocks = [ ];
var regex = /\/\*esfmt-ignore-start\*\/((.|\n)*?)\/\*esfmt-ignore-end\*\//g;
var regex = /\/\*\s*esfmt-ignore-start\s*\*\/((.|\n)*?)\/\*\s*esfmt-ignore-end\s*\*\//g;
var lineRegex = /^(\s*)((.*?)esfmt-ignore-line(.*))$/gm;

@@ -12,0 +12,0 @@ var counter = 0;

{
"name": "esformatter-ignore",
"version": "0.1.1",
"version": "0.1.2",
"description": "an esformatter plugin to make esformatter ignore certain lines and blocks of code",

@@ -5,0 +5,0 @@ "repository": "royriojas/esformatter-ignore",

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