MDL-55048 grunt/npm: Update dependencies

* We bump our minimum node version up to >=4. Although this isn't yet
  necessarily *required* it was spurred on because grunt dropped support
  for very early node versions and so it's likely some devs will have to
  upgrade their npm.

  We do it now which gives us more flexibility for tools going forward
  (especially for things like new theme/testing). And node has matured
  the ecosystem (especially supporting properly semver) so should result
  in less edge cases.

* We make the minimum node version explicit in package.json. Though it
  doesn't help much for older versions of node because npm doesn't
  have the functionality to warn about it.. ;-)

* Left async dependency as it was, because it's only on an RC: 2.0.0-rc.6
This commit is contained in:
Dan Poltawski 2016-06-28 17:45:11 +01:00
parent ad3f8cd18c
commit 2ce9109088
3 changed files with 407 additions and 272 deletions

View File

@ -3,6 +3,7 @@ information provided here is intended especially for developers.
=== 3.2 ===
* Node.js versions >=4 are now required to run grunt.
* New option 'blanktarget' added to format_text. This option adds target="_blank" to links
* A new webservice structure `external_files` has been created which provides a standardised view of files in Moodle and
should be used for all file return descriptions.

659
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,15 +3,18 @@
"private": true,
"description": "Moodle",
"devDependencies": {
"async": "^1.5.2",
"eslint": "^2.13.1",
"grunt": "0.4.5",
"grunt-contrib-less": "1.1.0",
"grunt-contrib-uglify": "0.11.0",
"grunt-contrib-watch": "0.6.1",
"grunt-eslint": "^18.1.0",
"async": "1.5.2",
"eslint": "^3.0.1",
"grunt": "1.0.1",
"grunt-contrib-less": "1.3.0",
"grunt-contrib-uglify": "1.0.1",
"grunt-contrib-watch": "1.0.0",
"grunt-eslint": "19.0.0",
"shifter": "0.5.0",
"xmldom": "^0.1.22",
"xmldom": "0.1.22",
"xpath": "0.0.23"
},
"engines": {
"node": ">=4"
}
}