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

pastebin-js

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pastebin-js - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

5

History.md

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

[0.3.4](https://github.com/j3lte/pastebin-js/releases/tag/v0.3.4) / 2015-11-23
==================
* Change the error on GET and POST methods
[0.3.1](https://github.com/j3lte/pastebin-js/releases/tag/v0.3.1) / 2014-12-20

@@ -2,0 +7,0 @@ ==================

8

lib/methods.js

@@ -39,4 +39,4 @@ 'use strict';

}, function (error, response, body) {
var status = response.statusCode;
if (error) {
var status = response ? response.statusCode : null;
if (error || status === null) {
deferred.reject({status : status, error : error});

@@ -80,4 +80,4 @@ }

}, function (error, response, body) {
var status = response.statusCode;
if (error) {
var status = response ? response.statusCode : null;
if (error || status === null) {
deferred.reject({status : status, error : error});

@@ -84,0 +84,0 @@ }

{
"name": "pastebin-js",
"version": "0.3.3",
"npm-shrinkwrap-version": "5.4.0",
"node-version": "v0.12.4",
"version": "0.3.4",
"npm-shrinkwrap-version": "5.4.1",
"node-version": "v4.1.0",
"dependencies": {

@@ -7,0 +7,0 @@ "q": {

{
"name": "pastebin-js",
"version": "0.3.3",
"version": "0.3.4",
"description": "NodeJS module for Pastebin API",

@@ -5,0 +5,0 @@ "main": "index",

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