Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gruntjs/grunt
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ccc316360ba9056ccb794cc358a46cc7b8cafef9
Choose a base ref
...
head repository: gruntjs/grunt
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9ba3a995fa23e3b6857d996eedf1a3827fa1aca2
Choose a head ref
  • 10 commits
  • 6 files changed
  • 3 contributors

Commits on Feb 9, 2018

  1. Remove old bump task and deps

    We do not use the 'bump' task anymore and semver had a reported vulnerability. Clean up
    vladikoff committed Feb 9, 2018
    Copy the full SHA
    289ff91 View commit details
  2. Merge pull request #1624 from gruntjs/rm-bump-deps

    Remove old bump task and deps
    shama authored Feb 9, 2018
    Copy the full SHA
    d969132 View commit details

Commits on Mar 5, 2018

  1. https links (#1629)

    coliff authored and vladikoff committed Mar 5, 2018
    Copy the full SHA
    303d445 View commit details

Commits on Mar 15, 2018

  1. Copy the full SHA
    0105524 View commit details

Commits on May 20, 2018

  1. Update deps

    vladikoff committed May 20, 2018
    Copy the full SHA
    56d702e View commit details

Commits on May 21, 2018

  1. util update

    vladikoff committed May 21, 2018
    Copy the full SHA
    e852727 View commit details

Commits on May 22, 2018

  1. Copy the full SHA
    00f4d8a View commit details
  2. Merge pull request #1636 from gruntjs/upt

    Update deps
    shama authored May 22, 2018
    Copy the full SHA
    46da7f2 View commit details

Commits on Jun 4, 2018

  1. Changelog v1.0.3

    vladikoff committed Jun 4, 2018
    Copy the full SHA
    eee4c33 View commit details
  2. 1.0.3

    vladikoff committed Jun 4, 2018
    Copy the full SHA
    9ba3a99 View commit details
Showing with 20 additions and 172 deletions.
  1. +0 −2 .travis.yml
  2. +6 −0 CHANGELOG
  3. +0 −2 appveyor.yml
  4. +0 −143 internal-tasks/bump.js
  5. +5 −15 lib/grunt/file.js
  6. +9 −10 package.json
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "5"
- "6"
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v1.0.3
date: 2018-06-03
changes:
- Drop support for Node 0.10 and 0.12.
- Dependency updates: rimraf, grunt-legacy-log, grunt-legacy-util.
- Fix race condition with file.mkdir.
v1.0.2
date: 2018-02-07
changes:
2 changes: 0 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -4,8 +4,6 @@ init:
# What combinations to test
environment:
matrix:
- nodejs_version: "0.10"
- nodejs_version: "0.12"
- nodejs_version: "4"
- nodejs_version: "5"
- nodejs_version: "6"
143 changes: 0 additions & 143 deletions internal-tasks/bump.js

This file was deleted.

20 changes: 5 additions & 15 deletions lib/grunt/file.js
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ var YAML = require('js-yaml');
var rimraf = require('rimraf');
var iconv = require('iconv-lite');
var pathIsAbsolute = require('path-is-absolute');
var mkdirp = require('mkdirp').sync;

// Windows?
var win32 = process.platform === 'win32';
@@ -180,22 +181,11 @@ file.expandMapping = function(patterns, destBase, options) {
// Like mkdir -p. Create a directory and any intermediary directories.
file.mkdir = function(dirpath, mode) {
if (grunt.option('no-write')) { return; }
// Set directory mode in a strict-mode-friendly way.
if (mode == null) {
mode = parseInt('0777', 8) & (~process.umask());
try {
mkdirp(dirpath, { mode: mode });
} catch (e) {
throw grunt.util.error('Unable to create directory "' + dirpath + '" (Error code: ' + e.code + ').', e);
}
dirpath.split(pathSeparatorRe).reduce(function(parts, part) {
parts += part + '/';
var subpath = path.resolve(parts);
if (!file.exists(subpath)) {
try {
fs.mkdirSync(subpath, mode);
} catch (e) {
throw grunt.util.error('Unable to create directory "' + subpath + '" (Error code: ' + e.code + ').', e);
}
}
return parts;
}, '');
};

// Recurse into a directory, executing callback for each file.
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "grunt",
"description": "The JavaScript Task Runner",
"version": "1.0.2",
"author": "Grunt Development Team (http://gruntjs.com/development-team)",
"homepage": "http://gruntjs.com/",
"version": "1.0.3",
"author": "Grunt Development Team (https://gruntjs.com/development-team)",
"homepage": "https://gruntjs.com/",
"repository": "https://github.com/gruntjs/grunt.git",
"license": "MIT",
"engines": {
@@ -45,23 +45,22 @@
"glob": "~7.0.0",
"grunt-cli": "~1.2.0",
"grunt-known-options": "~1.1.0",
"grunt-legacy-log": "~1.0.0",
"grunt-legacy-util": "~1.0.0",
"grunt-legacy-log": "~2.0.0",
"grunt-legacy-util": "~1.1.1",
"iconv-lite": "~0.4.13",
"js-yaml": "~3.5.2",
"minimatch": "~3.0.2",
"mkdirp": "~0.5.1",
"nopt": "~3.0.6",
"path-is-absolute": "~1.0.0",
"rimraf": "~2.2.8"
"rimraf": "~2.6.2"
},
"devDependencies": {
"difflet": "~1.0.1",
"eslint-config-grunt": "~1.0.1",
"grunt-contrib-nodeunit": "~1.0.0",
"grunt-contrib-watch": "~1.0.0",
"grunt-contrib-nodeunit": "~2.0.0",
"grunt-contrib-watch": "~1.1.0",
"grunt-eslint": "~18.1.0",
"semver": "5.3.0",
"shelljs": "~0.7.8",
"temporary": "~0.0.4",
"through2": "~2.0.0"
},