Socket
Socket
Sign inDemoInstall

@feathersjs/feathers

Package Overview
Dependencies
Maintainers
4
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feathersjs/feathers - npm Package Compare versions

Comparing version 3.0.0-pre.3 to 3.0.0

9

changelog.md
# Change Log
## [v3.0.0-pre.3](https://github.com/feathersjs/feathers/tree/v3.0.0-pre.3) (2017-10-25)
[Full Changelog](https://github.com/feathersjs/feathers/compare/v3.0.0-pre.2...v3.0.0-pre.3)
**Merged pull requests:**
- Better logic for returning the hook object from method call [\#706](https://github.com/feathersjs/feathers/pull/706) ([daffl](https://github.com/daffl))
- Codeclimate Updates [\#704](https://github.com/feathersjs/feathers/pull/704) ([ekryski](https://github.com/ekryski))
- Add more inline documentation [\#703](https://github.com/feathersjs/feathers/pull/703) ([daffl](https://github.com/daffl))
## [v3.0.0-pre.2](https://github.com/feathersjs/feathers/tree/v3.0.0-pre.2) (2017-10-20)

@@ -4,0 +13,0 @@ [Full Changelog](https://github.com/feathersjs/feathers/compare/v2.2.3...v3.0.0-pre.2)

2

lib/version.js

@@ -1,1 +0,1 @@

module.exports = '3.0.0-pre.3';
module.exports = '3.0.0';
{
"name": "@feathersjs/feathers",
"description": "A REST and realtime API layer for modern applications.",
"version": "3.0.0-pre.3",
"version": "3.0.0",
"homepage": "http://feathersjs.com",

@@ -53,3 +53,3 @@ "repository": {

"dependencies": {
"@feathersjs/commons": "^1.0.0",
"@feathersjs/commons": "^1.2.0",
"debug": "^3.1.0",

@@ -64,4 +64,4 @@ "events": "^1.1.1",

"nsp": "^2.6.2",
"semistandard": "^10.0.0"
"semistandard": "^11.0.0"
}
}

@@ -5,8 +5,8 @@ <img style="width: 100%; max-width: 400px;" src="http://feathersjs.com/img/feathers-logo-wide.png" alt="Feathers logo">

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/feathers.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/feathersjs/feathers.png?branch=master)](https://travis-ci.org/feathersjs/feathers)
[![Code Climate](https://codeclimate.com/github/feathersjs/feathers.png)](https://codeclimate.com/github/feathersjs/feathers)
[![Test Coverage](https://codeclimate.com/github/feathersjs/feathers/badges/coverage.svg)](https://codeclimate.com/github/feathersjs/feathers/coverage)
[![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square)](https://david-dm.org/feathersjs/feathers)
[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/feathers.svg)](https://greenkeeper.io/)
[![Maintainability](https://api.codeclimate.com/v1/badges/cb5ec42a2d0cc1a47a02/maintainability)](https://codeclimate.com/github/feathersjs/feathers/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/cb5ec42a2d0cc1a47a02/test_coverage)](https://codeclimate.com/github/feathersjs/feathers/test_coverage)
[![Download Status](https://img.shields.io/npm/dm/feathers.svg?style=flat-square)](https://www.npmjs.com/package/feathers)

@@ -22,3 +22,3 @@ [![Slack Status](http://slack.feathersjs.com/badge.svg)](http://slack.feathersjs.com)

```bash
$ npm install -g feathers-cli
$ npm install -g @feathersjs/cli
$ mkdir my-new-app

@@ -38,20 +38,21 @@ $ cd my-new-app/

// app.js
const feathers = require('feathers');
const rest = require('feathers-rest');
const socketio = require('feathers-socketio');
const feathers = require('@feathersjs/feathers');
const expressify = require('@feathersjs/express')
const socketio = require('@feathersjs/socketio');
const handler = require('@feathersjs/errors/handler');
const memory = require('feathers-memory');
const bodyParser = require('body-parser');
const handler = require('feathers-errors/handler');
// A Feathers app is the same as an Express app
const app = feathers();
// Create a Feathers application that is also fully compatible
// with an Express app
const app = expressify(feathers());
// Parse HTTP JSON bodies
app.use(expressify.json());
// Parse URL-encoded params
app.use(expressify.urlencoded({ extended: true }));
// Add REST API support
app.configure(rest());
app.configure(expressify.rest());
// Configure Socket.io real-time APIs
app.configure(socketio());
// Parse HTTP JSON bodies
app.use(bodyParser.json());
// Parse URL-encoded params
app.use(bodyParser.urlencoded({ extended: true }));
// Register our memory "messages" service

@@ -62,3 +63,8 @@ app.use('/messages', memory());

// Start the server
app.listen(3000);
app.listen(3030);
// Create a new message on the server
app.service('messages').create({
text: 'This is a test message'
});
```

@@ -69,3 +75,3 @@

```
npm install feathers feathers-rest feathers-socketio feathers-errors feathers-memory body-parser
npm install @feathersjs/feathers @feathersjs/express @feathersjs/socketio @feathersjs/errors feathers-memory
node app

@@ -72,0 +78,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc