★ wanayoo — archive 1999 https://github.com/feathersjs/feathers/pull/42Nouvelle recherche | Portail wanayoo
Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Upgrading dependencies and switching to Lodash #42

Merged
merged 2 commits into from

2 participants

David Luecke Glavin Wiechert
David Luecke
Owner

Upgrading dependencies and using better semantic versioning selectors. Also switching from Underscore to Lodash.

Glavin Wiechert
Collaborator

+1

Glavin Wiechert
Collaborator

Looks like it no longer supports Node 0.8 after this.

David Luecke
Owner

It seems to be something with the ^ semver indicator. That should be fixable though. Should probably test 0.11 as well.

David Luecke daffl modified the milestone: 0.4.0, 0.3.2
David Luecke daffl merged commit 5819d5f into from
David Luecke daffl deleted the branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
2  lib/application.js
View
@@ -1,7 +1,7 @@
'use strict';
var Proto = require('uberproto');
-var _ = require('underscore');
+var _ = require('lodash');
var mixins = require('./mixins');
var stripSlashes = function (name) {
2  lib/feathers.js
View
@@ -1,6 +1,6 @@
'use strict';
-var _ = require('underscore');
+var _ = require('lodash');
var express = require('express');
var Proto = require('uberproto');
var Application = require('./application');
2  lib/mixins/event.js
View
@@ -1,6 +1,6 @@
'use strict';
-var _ = require('underscore');
+var _ = require('lodash');
var rubberduck = require('rubberduck');
var EventEmitter = require('events').EventEmitter;
var eventMappings = {
2  lib/providers/primus.js
View
@@ -1,6 +1,6 @@
'use strict';
-var _ = require('underscore');
+var _ = require('lodash');
var Proto = require('uberproto');
var Primus = require('primus');
var Emitter = require('primus-emitter');
2  lib/providers/rest/index.js
View
@@ -1,6 +1,6 @@
'use strict';
-var _ = require('underscore');
+var _ = require('lodash');
var wrappers = require('./wrappers');
module.exports = function (config) {
2  lib/providers/rest/wrappers.js
View
@@ -1,4 +1,4 @@
-var _ = require('underscore');
+var _ = require('lodash');
/**
* Return a service callback that sets the data in the given
2  lib/providers/socketio.js
View
@@ -1,6 +1,6 @@
'use strict';
-var _ = require('underscore');
+var _ = require('lodash');
var socketio = require('socket.io');
var Proto = require('uberproto');
24 package.json
View
@@ -34,23 +34,23 @@
"npm": "*"
},
"dependencies": {
- "uberproto": "~ 1.1.0",
- "express": "~ 3.4.0",
+ "uberproto": "~1.x",
+ "express": "~3.4.0",
"rubberduck": "~1.x",
- "underscore": "~1.5.0",
"socket.io": "~0.9.0",
- "primus-emitter": "~2.0.5",
- "primus": "~1.5.1"
+ "primus-emitter": "~3.x",
+ "primus": "~2.x",
+ "lodash": "~2.4.1"
},
"devDependencies": {
- "request": "~2.21.0",
- "socket.io-client": "~0.9.11",
- "grunt-cli": "~0.1.7",
- "grunt": "~0.4.1",
- "grunt-release": "~0.5.1",
- "mocha": "~1.11.0",
+ "request": "~2.x",
+ "socket.io-client": "~0.9.0",
+ "grunt-cli": "~0.1.0",
+ "grunt": "~0.4.0",
+ "grunt-release": "~0.5.0",
+ "mocha": "~1.x",
"grunt-contrib-jshint": "~0.x",
"grunt-simple-mocha": "~0.4.0",
- "grunt-jsbeautifier": "~0.2.2"
+ "grunt-jsbeautifier": "~0.2.0"
}
}
2  test/mixins/event.test.js
View
@@ -1,7 +1,7 @@
'use strict';
var assert = require('assert');
-var _ = require('underscore');
+var _ = require('lodash');
var Proto = require('uberproto');
var mixinEvent = require('../../lib/mixins/event');
var EventMixin = mixinEvent.Mixin;
2  test/providers/service-fixture.js
View
@@ -1,6 +1,6 @@
'use strict';
-var _ = require('underscore');
+var _ = require('lodash');
var assert = require('assert');
var findAllData = [{
Something went wrong with that request. Please try again.