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

ebookr-status

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ebookr-status - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

lib/status.js

@@ -16,5 +16,5 @@ var util = require('util');

return util.format('Status: %s', url
? util.format('<a href="%s%s">%s (%s)</a>', url, state, stateText, state)
? util.format('[%s (%s)](%s%s)', stateText, state, url, state)
: util.format('%s (%s)', stateText, state));
});
};
{
"name": "ebookr-status",
"version": "0.1.0",
"version": "0.1.1",
"description": "A simple ebookr-extension that displays status of document",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -16,4 +16,4 @@ var expect = require('chai').expect;

it('should return rendered text', function () {
expect(ebookr.parse('<status state="1" />').render()).to.equal('Status: <a href="http://test.com/#1">foo (1)</a>');
expect(ebookr.parse('<status state="1" />').render()).to.equal('Status: [foo (1)](http://test.com/#1)');
});
});
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