Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Bump almost all deps and remove npmconf #1413

Merged
merged 2 commits into from
Mar 19, 2016
Merged

Bump almost all deps and remove npmconf #1413

merged 2 commits into from
Mar 19, 2016

Conversation

delitescere
Copy link
Contributor

This updates almost all the dependencies and fixes issue #1333

  • Didn't bump get-stdin as v5.0.0 and v5.0.1 both changed the API and use Promises. Possibly look at the 'then/promise' module to shim.
  • switched to cross-spawn-async as no spawning is done synchronously, so using more specific dependency.
  • graceful-fs warning is due to mocha being tardy itself.

Tests pass on node v0.10, v0.12, v4.4.0. No additional tests created, however manual testing of HTTP_PROXY=x npm ... and npm config set proxy x; npm ... was done to verify the npmconf removal and change in install.js works.

- get-stdin v5.0.0 and v5.0.1 both changed the API
  and use Promises. Possibly look at the 'then/promise' module
  to shim.
- switched to cross-spawn-async as no spawning is
  done synchronously, so using more specific dependency.
- graceful-fs warning is due to mocha being tardy itself.
@xzyfer
Copy link
Contributor

xzyfer commented Mar 16, 2016

Thanks @delitescere. At first glance things look good. I'll take a closer look tomorrow.

@xzyfer xzyfer added this to the next.patch milestone Mar 19, 2016
xzyfer added a commit that referenced this pull request Mar 19, 2016
Bump almost all deps and remove npmconf
@xzyfer xzyfer merged commit 45aa98b into sass:master Mar 19, 2016
hale added a commit to hale/adminApplicationsReact that referenced this pull request Mar 19, 2016
* Waiting on version bump of node-sass to bring in sass/node-sass#1413
xzyfer added a commit to xzyfer/node-sass that referenced this pull request Apr 27, 2016
This was previous attemped in sass#1413 but it missed some important
edge cases and partly responsible for installion issues with
proxies users.

This patch takes the [advice of the npm team][1]. Instead of trying
to reverse engineer the npm config internals we're simply asking npm
for it's config. It's a bit slower but this only happens during
installation so I'm ok with it.

Fixes sass#1333

[1:][npm/npmconf#61 (comment)]
xzyfer added a commit to xzyfer/node-sass that referenced this pull request Apr 27, 2016
This was previously attempted in sass#1413. Shortly after it's
release proxy users started experiencing installation issues so
this was reverted. It was later determined that sass#1458 was likely
at fault for the proxy issues.

Full credit for this patch goes to @delitescere.

I've also taken the liberty of cleaning the request config generation.

Fixes sass#1333
xzyfer added a commit to xzyfer/node-sass that referenced this pull request Apr 27, 2016
This was previously attempted in sass#1413. Shortly after it's
release proxy users started experiencing installation issues so
this was reverted. It was later determined that sass#1458 was likely
at fault for the proxy issues.

Full credit for this patch goes to @delitescere.

I've also taken the liberty of cleaning the request config generation.

Fixes sass#1333
xzyfer added a commit to xzyfer/node-sass that referenced this pull request Apr 27, 2016
This was previously attempted in sass#1413. Shortly after it's
release proxy users started experiencing installation issues so
this was reverted. It was later determined that sass#1458 was likely
at fault for the proxy issues.

Full credit for this patch goes to @delitescere.

I've also taken the liberty of cleaning the request config generation.

Fixes sass#1333
xzyfer added a commit to xzyfer/node-sass that referenced this pull request Apr 27, 2016
This was previously attempted in sass#1413. Shortly after it's
release proxy users started experiencing installation issues so
this was reverted. It was later determined that sass#1458 was likely
at fault for the proxy issues.

Full credit for this patch goes to @delitescere.

I've also taken the liberty of cleaning the request config generation.

Fixes sass#1333
xzyfer added a commit that referenced this pull request Apr 28, 2016
This was previously attempted in #1413. Shortly after it's
release proxy users started experiencing installation issues so
this was reverted. It was later determined that #1458 was likely
at fault for the proxy issues.

Full credit for this patch goes to @delitescere.

I've also taken the liberty of cleaning the request config generation.

Fixes #1333
@xzyfer xzyfer modified the milestone: next.patch Sep 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants