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

htmlprocessor

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmlprocessor - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

7

lib/htmlprocessor.js

@@ -147,3 +147,8 @@ /*

HTMLProcessor.prototype.process = function (filepath) {
this.content = fs.readFileSync(filepath).toString();
return this.processContent(fs.readFileSync(filepath).toString(), filepath);
};
// Process the input content
HTMLProcessor.prototype.processContent = function (content, filepath) {
this.content = content;
this.linefeed = /\r\n/g.test(this.content) ? '\r\n' : '\n';

@@ -150,0 +155,0 @@

5

package.json
{
"name": "htmlprocessor",
"description": "Process html file using special comments",
"version": "0.1.2",
"version": "0.1.3",
"author": {

@@ -41,3 +41,6 @@ "name": "Denis Ciccale",

"lodash": "~2.4.1"
},
"devDependencies": {
"nodeunit": "~0.8.6"
}
}

@@ -1,2 +0,2 @@

# htmlprocessor
# htmlprocessor [![Build Status](https://travis-ci.org/dciccale/node-htmlprocessor.svg?branch=master)](https://travis-ci.org/dciccale/node-htmlprocessor) [![NPM version](https://badge.fury.io/js/htmlprocessor.png)](http://badge.fury.io/js/htmlprocessor)

@@ -3,0 +3,0 @@ `npm install -g htmlprocessor`

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