Skip to content
New issue

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

Upgrade to [email protected] to solve deprecated graceful-fs warnings #32

Closed
superclarkk opened this issue May 31, 2016 · 3 comments
Closed
Assignees

Comments

@superclarkk
Copy link

At installation, the latest grunt-retire (0.3.12) gives a warning that graceful-fs is deprecated, which has just been fixed in [email protected]. See this issue for details.

@kozmic
Copy link
Member

kozmic commented May 31, 2016

Thanks for the report @superclarkk. I did some digging. In grunt-retire/package.json we use "retire": "~1.1.x" which resolves to [email protected] (so retire is not the cause of the warning). I think the root cause of the warning is grunt itself, see gruntjs/grunt-init#101. So the issue exist as long as you use Grunt 0.4.x. I've fixed this issue by requiring Grunt 1.0.x (or newer) and bumped versions of the corresponding contrib packages we use in grunt-retire. This makes this fix a breaking change since we require Grunt 1.0. Because of this I've decided I'll bump the version of grunt-retire to 1.0, which will include the fix for this issue.

Output of root cause analysis for the graceful-fs warning for [email protected] (latest):

$ grunt-retire staale$ npm ls graceful-fs
[email protected] grunt-retire
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected]
└─┬ [email protected]
  └─┬ [email protected]
    └── [email protected]

@kozmic
Copy link
Member

kozmic commented May 31, 2016

As a reference, output of npm install of [email protected]:

$ npm -v
2.14.4

$ npm install
[email protected] node_modules/async

[email protected] node_modules/grunt-contrib-clean
└── [email protected] ([email protected])

[email protected] node_modules/grunt-contrib-nodeunit
└── [email protected] ([email protected])

[email protected] node_modules/grunt-contrib-jshint
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/request
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/retire
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/grunt
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])

@kozmic kozmic closed this as completed in e980e0a May 31, 2016
@superclarkk
Copy link
Author

we use "retire": "~1.1.x" which resolves to [email protected]

Thanks for looking at this so quickly.

I have to admit that I didn't install grunt-retire since the latest version of retire was released. Thus, I think the semver you were using would probably have automatically resolved the message without any other changes.

@kozmic kozmic self-assigned this Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants