New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rest-sessions

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rest-sessions - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

app.js

@@ -52,3 +52,3 @@ // Generated by CoffeeScript 1.6.2

app.post('/:app/create/:id', function(req, res) {
app.put('/:app/create/:id', function(req, res) {
rs.create({

@@ -55,0 +55,0 @@ app: req.params.app,

{
"name": "rest-sessions",
"description": "A REST interface for redis-sessions",
"version": "0.0.3",
"version": "0.0.4",
"author": "P. Liess <smrchy+npm@gmail.com>",

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

@@ -29,3 +29,3 @@ // Generated by CoffeeScript 1.6.2

it('POST /TestApp/create/user1 should return 200 and a token', function(done) {
http.request().post('/TestApp/create/user1?ip=127.0.0.1').end(function(resp) {
http.request().put('/TestApp/create/user1?ip=127.0.0.1').end(function(resp) {
var body;

@@ -51,4 +51,4 @@

});
it('POST /TestApp/create/user2 should return 200 and a token', function(done) {
http.request().post('/TestApp/create/user2?ip=127.0.0.1').end(function(resp) {
it('PUT /TestApp/create/user2 should return 200 and a token', function(done) {
http.request().put('/TestApp/create/user2?ip=127.0.0.1').end(function(resp) {
var body;

@@ -116,4 +116,4 @@

});
it('POST /TestApp/create/user2 should return 200 and a token', function(done) {
http.request().post('/TestApp/create/user2?ip=127.0.0.1').end(function(resp) {
it('PUT /TestApp/create/user2 should return 200 and a token', function(done) {
http.request().put('/TestApp/create/user2?ip=127.0.0.1').end(function(resp) {
var body;

@@ -139,4 +139,4 @@

});
it('POST /TestApp/create/user2 create another session for user2', function(done) {
http.request().post('/TestApp/create/user2?ip=127.0.0.2').end(function(resp) {
it('PUT /TestApp/create/user2 create another session for user2', function(done) {
http.request().put('/TestApp/create/user2?ip=127.0.0.2').end(function(resp) {
resp.statusCode.should.equal(200);

@@ -143,0 +143,0 @@ done();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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