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

fingerprint-brunch

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fingerprint-brunch - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

bin/coveralls.js

17

package.json
{
"name": "fingerprint-brunch",
"version": "2.0.2",
"version": "2.0.3",
"description": "A Brunch JS plugin for cache busting assets",

@@ -14,6 +14,6 @@ "author": "David Lepaux <d.lepaux@gmail.com>",

"scripts": {
"test": "node_modules/.bin/mocha --compilers js:babel-core/register",
"test": "node_modules/.bin/mocha --require babel-core/register",
"local-test": "nyc --reporter=html npm test",
"coverage": "nyc --reporter=text-lcov npm test | coveralls",
"coveralls": "cat ./coverage/lcov.info | coveralls"
"coveralls": "nyc --reporter=text-lcov npm test && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},

@@ -24,2 +24,6 @@ "repository": {

},
"dependencies": {
"crypto-js": "^3.1.9-1",
"fs-extra": "~5.0.0"
},
"devDependencies": {

@@ -30,6 +34,5 @@ "babel-core": "^6.1.2",

"chai": "~1.10.0",
"coveralls": "^2.13.1",
"crypto-js": "^3.1.9-1",
"fs-extra": "~0.16.3",
"mocha": "~2.1.0",
"coveralls": "^3.0.0",
"mocha": "~5.0.1",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^11.2.1"

@@ -36,0 +39,0 @@ },

@@ -58,2 +58,8 @@ # fingerprint-brunch [![Greenkeeper badge](https://badges.greenkeeper.io/dlepaux/fingerprint-brunch.svg)](https://greenkeeper.io/) [![Build Status][travis-badge]][travis] [![Coverage Status](https://coveralls.io/repos/github/dlepaux/fingerprint-brunch/badge.svg?branch=master)](https://coveralls.io/github/dlepaux/fingerprint-brunch?branch=master) [![Join the chat at https://gitter.im/dlepaux/fingerprint-brunch](https://badges.gitter.im/dlepaux/fingerprint-brunch.svg)](https://gitter.im/dlepaux/fingerprint-brunch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![npm](https://img.shields.io/npm/l/express.svg)]()

- Force the generation of the manifest, event if there are no fingerprinted files
* __foldersToFingerprint__: _(`Boolean|String|Array`)_ Defaults to `false`
- Asset to fingerprint (in brunch config `public`), all files will be fingerprinted and added to the manifest
- Usage : `'/img'` or `['/img', '/svg']`
* __assetsToFingerprint__: _(`Boolean|String|Array`)_ Defaults to `false`
- Specific asset to fingerprint (in public)
- Usage : `'/img/troll.png'` or `['/img/troll.png', '/svg/logo.svg']`
* __assetsPatterns__: _(`RegExp Object`)_ Defaults to `new RegExp(/url\([\'\"]?[a-zA-Z0-9\-\/_.:]+\.(woff|woff2|eot|ttf|otf|jpg|jpeg|png|bmp|gif|svg)\??\#?[a-zA-Z0-9\-\/_]*[\'\"]?\)/g)`

@@ -60,0 +66,0 @@ - Regex to match assets in css with `url()` attribute

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