We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following line throws with Grunt-1.0.0-rc1 with grunt-contrib-compress-1.1.1.
Grunt-1.0.0-rc1
grunt-contrib-compress-1.1.1.
grunt-contrib-compress/tasks/compress.js
Line 27 in 3ea4386
if (grunt.util._.include(['zip', 'tar', 'tgz', 'gzip', 'deflate', 'deflateRaw'], compress.options.mode) === false) { grunt.fail.warn('Mode ' + String(compress.options.mode).cyan + ' not supported.'); }
This is due to Grunt updating to lodash 4.3.0 which removed the alias _.include in favor of _.includes in 4.0.0..
lodash 4.3.0
_.include
_.includes
(grunt.util._ is deprecated and should most likely not be used anyway)
My task:
compress: { foo: { options: { archive: "foo/bar.zip" }, files: [{ expand: true, flatten: true, cwd: 'foo/', src: ['**', '!*.zip'], filter: 'isFile' }] } }
The text was updated successfully, but these errors were encountered:
cc @shama
Sorry, something went wrong.
2edf867
Thanks for the great issue report @petetnt!
Thanks for the fix 👍
No branches or pull requests
The following line throws with
Grunt-1.0.0-rc1
withgrunt-contrib-compress-1.1.1.
grunt-contrib-compress/tasks/compress.js
Line 27 in 3ea4386
This is due to Grunt updating to
lodash 4.3.0
which removed the alias_.include
in favor of_.includes
in 4.0.0..(grunt.util._ is deprecated and should most likely not be used anyway)
My task:
The text was updated successfully, but these errors were encountered: