diff --git a/.travis.yml b/.travis.yml index f63bfeb..fe3c98b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,14 @@ -sudo: false +os: linux + +dist: jammy + +git: + depth: 1 + language: node_js -node_js: - - "0.10" - - "0.12" - - "4" - - "5" - - "iojs" -before_install: - - if [ "$TRAVIS_NODE_VERSION" = "0.10" ]; then npm install -g npm@2; fi -matrix: - fast_finish: true + +node_js: node + cache: directories: - - node_modules + - node_modules diff --git a/appveyor.yml b/appveyor.yml index a196c5e..5899540 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,44 +1,30 @@ # http://www.appveyor.com/docs/appveyor-yml -clone_depth: 10 +platform: x64 + +image: Visual Studio 2022 + +clone_depth: 1 version: "{build}" # What combinations to test environment: - matrix: - - nodejs_version: "0.10" - platform: x86 - - nodejs_version: "0.12" - platform: x86 - - nodejs_version: "4" - platform: x64 - - nodejs_version: "4" - platform: x86 - - nodejs_version: "5" - platform: x86 + nodejs_version: "21" install: - - ps: Install-Product node $env:nodejs_version $env:platform - - ps: >- - if ($env:nodejs_version -eq "0.10") { - npm -g install npm@2 - $env:PATH="$env:APPDATA\npm;$env:PATH" - } - - npm install +- ps: Install-Product node $env:nodejs_version +- npm install test_script: - # Output useful info for debugging - - node --version && npm --version - # We test multiple Windows shells because of prior stdout buffering issues - # filed against Grunt. https://github.com/joyent/node/issues/3584 - - ps: "npm test # PowerShell" # Pass comment to PS for easier debugging - - cmd: npm test +# Output useful info for debugging +- node --version && npm --version +# We test multiple Windows shells because of prior stdout buffering issues +# filed against Grunt. https://github.com/joyent/node/issues/3584 +- ps: "npm test # PowerShell" # Pass comment to PS for easier debugging +- cmd: npm test build: off -matrix: - fast_finish: true - cache: - - node_modules -> package.json +- node_modules -> package.json diff --git a/package.json b/package.json index 3e718d4..f989f84 100644 --- a/package.json +++ b/package.json @@ -16,18 +16,18 @@ "test": "grunt test" }, "dependencies": { - "async": "^1.5.2", - "chalk": "^1.0.0", - "lodash": "^4.0.0", - "nib": "^1.1.0", - "stylus": "^0.54.0" + "async": "^3.2.5", + "chalk": "^4.1.2", + "lodash": "^4.17.21", + "nib": "^1.2.0", + "stylus": "^0.62.0" }, "devDependencies": { - "grunt": "^1.0.0", - "grunt-contrib-clean": "^1.0.0", - "grunt-contrib-internal": "^1.1.0", - "grunt-contrib-jshint": "^1.0.0", - "grunt-contrib-nodeunit": "^1.0.0" + "grunt": "^1.6.1", + "grunt-contrib-clean": "^2.0.1", + "grunt-contrib-internal": "^9.0.0", + "grunt-contrib-jshint": "^3.2.0", + "grunt-contrib-nodeunit": "^5.0.0" }, "keywords": [ "gruntplugin"