Socket
Socket
Sign inDemoInstall

ac-node

Package Overview
Dependencies
6
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.2 to 0.2.0

lib/store-mongo.js

1

lib/index.js
exports.Config = require('./config');
exports.MemoryStore = require('./store-memory');
exports.RedisStore = require('./store-redis');
exports.MongoStore = require('./store-mongo');
exports.Tenants = require('./tenants');
exports.WebhookManager = require('./webhook-manager');

1

lib/store-redis.js

@@ -107,3 +107,2 @@ var rsvp = require('rsvp');

var self = this;
var id = Math.random();
return new Promise(function (resolve, reject) {

@@ -110,0 +109,0 @@ var pattern = (self._scope ? self._scope + ':' : '') + '*';

@@ -5,3 +5,3 @@ {

"description": "A common module for building Atlassian Connect add-ons",
"version": "0.1.2",
"version": "0.2.0",
"author": "Atlassian (http://atlassian.com)",

@@ -21,3 +21,4 @@ "license": "Apache 2.0",

"redisscan": "^1.1.0",
"rsvp": "^3.0.9"
"rsvp": "^3.0.9",
"mongodb": "^1.4.8"
},

@@ -24,0 +25,0 @@ "devDependencies": {

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

[ ![Codeship Status for rbergman/ac-node](https://codeship.io/projects/95f3ed00-fbbf-0131-9c0c-6695216aa8a8/status)](https://codeship.io/projects/29243)
What?

@@ -59,2 +61,2 @@ =====

$ NODE_TEST=no-redis npm test
```
```

@@ -116,4 +116,7 @@ var assert = require('assert');

assert.equal(input, output);
yield wait(1100);
yield wait(100);
output = yield store.get(key);
assert.equal(input, output);
yield wait(1000);
output = yield store.get(key);
assert.ok(!output);

@@ -120,0 +123,0 @@ });

@@ -120,4 +120,7 @@ var assert = require('assert');

assert.equal(input, output);
yield wait(1100);
yield wait(100);
output = yield store.get(key);
assert.equal(input, output);
yield wait(1000);
output = yield store.get(key);
assert.ok(!output);

@@ -124,0 +127,0 @@ });

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc