Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

feathers-memory

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-memory - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

5

examples/basic.js
var feathers = require('feathers');
var memory = require('../lib/memory');
var memory = require('../lib/memory')();
var app = feathers();
app.use('/users', memory)
app.configure(feathers.rest())
.use('/users', memory)
.configure(feathers.errors())

@@ -7,0 +8,0 @@ .listen(8080);

var feathers = require('feathers');
var memory = require('../lib/memory');
var memory = require('../lib/memory')();
var app = feathers();

@@ -16,3 +16,4 @@

app.use('/users', myUserService)
app.configure(feathers.rest())
.use('/users', myUserService)
.configure(feathers.errors())

@@ -19,0 +20,0 @@ .listen(8080);

2

package.json
{
"name": "feathers-memory",
"description": "Feathers in memory service",
"version": "0.3.2",
"version": "0.3.3",
"homepage": "https://feathersjs.com",

@@ -6,0 +6,0 @@ "repository": {

@@ -11,5 +11,5 @@ # feathers-memory [![Build Status](https://travis-ci.org/feathersjs/feathers-memory.svg?branch=master)](https://travis-ci.org/feathersjs/feathers-memory)[![Code Climate](https://codeclimate.com/github/feathersjs/feathers-memory.png)](https://codeclimate.com/github/feathersjs/feathers-memory)

var feathers = require('feathers');
var memory = require('feathers-memory');
var memory = require('feathers-memory')();
var app = feathers().use('/users', memory);
app.configure(feathers.rest()).use('/users', memory);
```

@@ -41,6 +41,8 @@

var feathers = require('feathers');
var memory = require('feathers-memory');
var memory = require('feathers-memory')();
var app = feathers();
app.use('/users', memory).listen(8080);
app.configure(feathers.rest())
.use('/users', memory)
.listen(8080);
```

@@ -54,3 +56,3 @@

var feathers = require('feathers');
var memory = require('feathers-memory');
var memory = require('feathers-memory')();
var app = feathers();

@@ -68,3 +70,5 @@

app.use('/users', myUserService).listen(8080);
app.configure(feathers.rest())
.use('/users', myUserService)
.listen(8080);
```

@@ -71,0 +75,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