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

fluentreports

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluentreports - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

1

changelog.txt

@@ -23,2 +23,3 @@ 0.0.1 - [2013/08/15] - Initial Release

1.1.0 - Added Ability to use .recordCount & cancel report and fixed issue where Header wasn't printing on no data.
1.1.1 - Fix issue with Streamlined .recordCount callback support

@@ -25,0 +26,0 @@

9

commands.md

@@ -100,2 +100,5 @@ # fluentReports Commands

* recordCountCallback function
##### continueCallback
* dummy (the callback does not use the dummy; but to keep the same normal type of node callback (err, value))
* continueReport - boolean false = cancel report; any other value (and no value) will continue the report.

@@ -105,5 +108,5 @@ ##### Example:

function rcCount(count, continueCallback) {
if (count === 0) { console.log("No records"); callback(false); }
else if (count > 250) { console.log("Too many records") callback(false); }
else callback( /* you can pass in true if you want */);
if (count === 0) { console.log("No records"); callback(null, false); }
else if (count > 250) { console.log("Too many records") callback(null, false); }
else callback();
}

@@ -110,0 +113,0 @@ MyReportObject.recordCount(rcCount);

@@ -32,3 +32,3 @@ {

"main": "lib/fluentReports",
"version": "1.1.0",
"version": "1.1.1",
"engines": {

@@ -35,0 +35,0 @@ "node": ">= 0.6.0"

@@ -38,2 +38,3 @@ # Fluent Reports

* Text rotation
* Cancelling of report

@@ -40,0 +41,0 @@ See the simple & stupid examples for a overview on how to generate a somewhat complex report.

Sorry, the diff of this file is too big to display

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