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

commenting

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commenting - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

1

index.js

@@ -46,2 +46,3 @@ 'use strict';

extension['.appcache'] =
extension[''] = styles.hash;

@@ -48,0 +49,0 @@

2

package.json
{
"name": "commenting",
"version": "1.0.3",
"version": "1.0.4",
"description": "Wrap content in a comment that is valid for a given file type.",

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

@@ -82,2 +82,11 @@ describe('commenting', function () {

});
it('maps appcache extension to hash', function () {
var comment = commenting(['hello', 'world'], {
extension: '.appcache'
});
assume(comment).includes('# hello\n');
assume(comment).includes('# world\n');
});
});
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