Skip to content

Commit

Permalink
Updated dev dependencies to remove security vulnerabilities
Browse files Browse the repository at this point in the history
Updated version of js-yaml within dev dependencies to remove security vulnerabilities.
Tweaked README.md
  • Loading branch information
midnight-coding committed Jun 8, 2019
1 parent ef7e52d commit 9a9662b
Show file tree
Hide file tree
Showing 4 changed files with 1,132 additions and 1,408 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a

## [Unreleased]

## [1.3.1] - 2019-06-08

### Updated
- Version of js-yaml within dev dependencies to remove security vulnerabilities.

### Added
- Additional keywords to package.json

## [1.3.0] - 2019-03-20

### Added
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# grunt-cache-killer

[![NPM version](http://img.shields.io/npm/v/grunt-cache-killer.svg?label=grunt-cache-killer&logo=npm)](https://www.npmjs.com/package/grunt-cache-killer?activeTab=versions) ![Maintained](https://img.shields.io/static/v1.svg?label=maintened&message=yes&color=informational&logo=npm) ![NPM dependencies](https://img.shields.io/static/v1.svg?label=dependencies&message=none&color=informational&logo=npm) ![NPN downloads](http://img.shields.io/npm/dt/grunt-cache-killer.svg?logo=npm)
[![Node version](https://img.shields.io/node/v/grunt-cache-killer.svg?label=node.js&color=informational&logo=npm)](https://nodejs.org/en/) [![Node version](https://img.shields.io/npm/dependency-version/grunt-cache-killer/dev/grunt.svg?label=grunt&logo=npm)](https://gruntjs.com/)

[![NPM version](http://img.shields.io/npm/v/grunt-cache-killer.svg?label=grunt-cache-killer&logo=npm)](https://www.npmjs.com/package/grunt-cache-killer?activeTab=versions) ![Maintained](https://img.shields.io/static/v1.svg?label=maintained&message=yes&color=informational&logo=npm) ![NPM dependencies](https://img.shields.io/static/v1.svg?label=dependencies&message=none&color=informational&logo=npm) ![NPN downloads](http://img.shields.io/npm/dt/grunt-cache-killer.svg?logo=npm)

[![GitHub version](https://img.shields.io/github/package-json/v/midnight-coding/grunt-cache-killer.svg?label=grunt-cache-killer&logo=github)](https://github.com/midnight-coding/grunt-cache-killer/releases) [![GitHub License](https://img.shields.io/github/license/midnight-coding/grunt-cache-killer.svg?color=informational&logo=github)](https://github.com/midnight-coding/grunt-cache-killer/blob/master/LICENSE-MIT) ![GitHub release date](https://img.shields.io/github/release-date/midnight-coding/grunt-cache-killer.svg?logo=github) [![GitHub open issues](https://img.shields.io/github/issues-raw/midnight-coding/grunt-cache-killer.svg?logo=github)](https://github.com/midnight-coding/grunt-cache-killer/milestones?state=open) [![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/midnight-coding/grunt-cache-killer.svg?logo=github)](https://github.com/midnight-coding/grunt-cache-killer/milestones?state=closed)

Expand Down Expand Up @@ -109,7 +111,7 @@ grunt.initConfig({
- `length` (number) - A number value that is used to set the length of the mask. The default value is `-1`.
- If the value of the number is negative (eg: `-1`) then the length of the given / generated string remains unchanged.
- If the value of the number if positive (eg: `8`) then only that value of right-hand characters in the string will remain.
- If the value of the number is zero (eg: `0`) then the mask string (excluding the prepend and append strings) is not used. (ps: Considering the primary function of cacheKiller is to place masks within filenames, use of this value would be redundant exercise).
- If the value of the number is zero (eg: `0`) then the mask string (excluding the prepend and append strings) is not used. (ps: Considering the primary function of cacheKiller is to place masks within filenames, use of this value would be a redundant exercise).
### Usage
Expand Down Expand Up @@ -144,7 +146,7 @@ Implementation is simple. Within the cacheKiller's `files:` node, place the `[m
3. Within the cacheKiller task, move the asset filenames `[mask]` placeholder to it's new position.
4. Run the cacheKiller task.

- Do not rename the asset filename if you have already run cacheKiller against that asset filename. Doing so will show you an error message and terminate the script.<br><br>
- Do not rename any fixed parts of the asset filename (ie: Parts outside the `[mask]` placeholder) if you have already run cacheKiller against that asset filename. Doing so will show you a 'file not found' error message and terminate the script.<br><br>
If you need to retrospectively rename the asset filename, follow the below listed steps.
1. Rename the asset filename to your new filename. eg: `new.website.min.css`.
2. Update any and all references to the asset filename within the template file(s) using your new filename. eg: `new.website.min.css`.
Expand Down
Loading

0 comments on commit 9a9662b

Please sign in to comment.