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

fuel-rest

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fuel-rest - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

LICENSE.md

32

lib/fuel-rest.js

@@ -1,26 +0,8 @@

/**
* Copyright (c) 2015​, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list of conditions and the
* following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
* the following disclaimer in the documentation and/or other materials provided with the distribution.
*
* Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or
* promote products derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
/*
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Legal Text is available at https://github.com/forcedotcom/Legal/blob/master/License.txt
*/
'use strict';

@@ -27,0 +9,0 @@

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

/*
* Copyright (c) 2015, Salesforce.com, Inc.
* All rights reserved.
*
* Legal Text is available at https://github.com/forcedotcom/Legal/blob/master/License.txt
*/
'use strict';

@@ -2,0 +9,0 @@

{
"name": "fuel-rest",
"version": "2.0.2",
"version": "2.0.3",
"description": "Node library for performing REST API calls to Salesforce Marketing Cloud (formerly ExactTarget).",

@@ -31,9 +31,9 @@ "main": "./lib/fuel-rest.js",

"dependencies": {
"bluebird": "~3.0.5",
"bluebird": "~3.3.5",
"fuel-auth": "~2.1.3",
"lodash.clone": "~3.0.3",
"lodash.isplainobject": "~3.2.0",
"lodash.merge": "~3.3.2",
"request": "~2.65.0"
"lodash.clone": "~4.3.2",
"lodash.isplainobject": "~4.0.4",
"lodash.merge": "~4.3.5",
"request": "~2.72.0"
}
}

@@ -44,8 +44,2 @@ Fuel REST Client (for Node.js) [![Build Status](https://travis-ci.org/salesforce-marketingcloud/FuelSDK-Node-REST.svg?branch=master)](https://travis-ci.org/salesforce-marketingcloud/FuelSDK-Node-REST)

###Callbacks v. Promises
While future versions will disallow using callbacks and promises together, at the moment
it is possible to do. This will lead to **unexpected behavior**, and you should only one;
callbacks **OR** promises.
## Setting up the client

@@ -77,2 +71,3 @@

// CANNOT USE BOTH CALLBACKS AND PROMISES TOGETHER
RestClient.get(options, function(err, response) {

@@ -79,0 +74,0 @@ if(err) {

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