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

superagent-as-promised

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superagent-as-promised - npm Package Compare versions

Comparing version 3.1.1 to 3.2.0

test/promise.coffee.md

4

index.coffee.md
SuperAgent as Promised
======================
Promise = require 'bluebird'
# Request.Request.prototype.end = Promise.promisify Request.Request.prototype.end
module.exports = (Request) ->
module.exports = (Request,Promise = require 'bluebird') ->
Request.Request.prototype.endAsync = ->

@@ -10,0 +8,0 @@ new Promise (resolve,reject) =>

@@ -1,8 +0,7 @@

// Generated by CoffeeScript 1.9.1
// Generated by CoffeeScript 1.9.3
(function() {
var Promise;
Promise = require('bluebird');
module.exports = function(Request) {
module.exports = function(Request, Promise) {
if (Promise == null) {
Promise = require('bluebird');
}
Request.Request.prototype.endAsync = function() {

@@ -9,0 +8,0 @@ return new Promise((function(_this) {

{
"name": "superagent-as-promised",
"version": "3.1.1",
"version": "3.2.0",
"description": "SuperAgent with a Promise twist",

@@ -18,12 +18,12 @@ "main": "index.js",

"dependencies": {
"bluebird": "^2.9.24"
"bluebird": "^2.9.34"
},
"devDependencies": {
"superagent": "^1.1.0",
"chai": "^2.2.0",
"chai-as-promised": "^4.3.0",
"coffee-script": "^1.9.1",
"express": "^4.12.3",
"mocha": "^2.2.1"
"superagent": "^1.3.0",
"chai": "^3.2.0",
"chai-as-promised": "^5.1.0",
"coffee-script": "^1.9.3",
"express": "^4.13.3",
"mocha": "^2.2.5"
}
}
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