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

cloudrail-si

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudrail-si - npm Package Compare versions

Comparing version 2.11.1 to 2.12.0

servicecode/commands/crypt/Sign.js

4

changelog.md
# CloudRail SI Node.JS SDK changelog
* **2.12.0**
* Google Cloud Services added as a new integration in the Business Cloud Storage interface
* Fixed an issue with Google Drive reauthentication
* **2.11.1**

@@ -4,0 +8,0 @@ * Fixed an issue where Box would return incorrect lastModified timestamps

@@ -47,2 +47,3 @@ "use strict";

var OneDriveBusiness_1 = require("./services/OneDriveBusiness");
var GoogleCloudPlatform_1 = require("./services/GoogleCloudPlatform");
module.exports = {

@@ -58,2 +59,3 @@ "services": {

"GitHub": GitHub_1.GitHub,
"GoogleCloudPlatform": GoogleCloudPlatform_1.GoogleCloudPlatform,
"GoogleDrive": GoogleDrive_1.GoogleDrive,

@@ -60,0 +62,0 @@ "GooglePlaces": GooglePlaces_1.GooglePlaces,

5

package.json

@@ -17,2 +17,3 @@ {

"GitHub",
"GoogleCloudPlatform",
"GoogleDrive",

@@ -40,3 +41,3 @@ "GooglePlaces",

],
"description": "The CloudRail SI SDK for Node.JS, a simple, universal, unified API for the most popular cloud services. Supports: AmazonS3, Box, Backblaze, Dropbox, Egnyte, Facebook, Foursquare, GitHub, GoogleDrive, GooglePlaces, GooglePlus, Heroku, Instagram, LinkedIn, MailJet, MicrosoftAzure, MicrosoftLive, Nexmo, OneDrive, OneDriveBusiness, PayPal, Rackspace, SendGrid, Slack, Stripe, Twilio, Twitter, Yahoo, Yelp",
"description": "The CloudRail SI SDK for Node.JS, a simple, universal, unified API for the most popular cloud services. Supports: AmazonS3, Box, Backblaze, Dropbox, Egnyte, Facebook, Foursquare, GitHub, GoogleCloudPlatform, GoogleDrive, GooglePlaces, GooglePlus, Heroku, Instagram, LinkedIn, MailJet, MicrosoftAzure, MicrosoftLive, Nexmo, OneDrive, OneDriveBusiness, PayPal, Rackspace, SendGrid, Slack, Stripe, Twilio, Twitter, Yahoo, Yelp",
"engines": {

@@ -46,3 +47,3 @@ "node": ">=4.0.0"

"engineStrict": true,
"version": "2.11.1",
"version": "2.12.0",
"main": "index.js",

@@ -49,0 +50,0 @@ "typings": "index.d.ts",

@@ -27,3 +27,5 @@ "use strict";

if (lineBreak) {
str = str.match(/.{3}/g).join("\r\n");
var newStr = str.match(/.{64}/g).join("\r\n");
newStr += "\r\n" + str.slice(-(str.length % 64));
str = newStr;
}

@@ -30,0 +32,0 @@ if (webSafe) {

@@ -55,2 +55,3 @@ "use strict";

var Settings_1 = require("../Settings");
var Sign_1 = require("./commands/crypt/Sign");
var Interpreter = (function () {

@@ -228,2 +229,3 @@ function Interpreter(sandbox) {

new Hmac_1.Hmac("crypt.hmac.sha256", "sha256"),
new Sign_1.Sign("crypt.rsa.sha256", "RSA-SHA256"),
new Base64Encode_1.Base64Encode(),

@@ -230,0 +232,0 @@ new Base64Decode_1.Base64Decode(),

@@ -104,3 +104,3 @@ "use strict";

["create", "$L6", "Object"],
["set", "$L6.method", "PATCH"],
["set", "$L6.method", "POST"],
["create", "$L7", "String"],

@@ -115,2 +115,3 @@ ["string.concat", "$L7", "https://www.googleapis.com/drive/v3/files/", "$L4", "?addParents=", "$L5", "&removeParents=", "$L16"],

["set", "$L8", "application/json", "Content-Type"],
["set", "$L8", "PATCH", "X-HTTP-Method-Override"],
["create", "$L10", "Object"],

@@ -775,3 +776,3 @@ ["set", "$L10.name", "$L3"],

["create", "$L0", "Date"],
["if==than", "$S0.accessToken", null, 2],
["if==than", "$S0.accessToken", null, 3],
["callFunc", "authenticate", "$P0", "accessToken"],

@@ -782,3 +783,3 @@ ["callFunc", "getRootID", "$P0", "$L2"],

["set", "$L1.time", "$S0.expireIn"],
["if<than", "$L1", "$L0", 1],
["if<than", "$L1", "$L0", 2],
["callFunc", "authenticate", "$P0", "refreshToken"],

@@ -785,0 +786,0 @@ ["callFunc", "getRootID", "$P0", "$L2"]

Sorry, the diff of this file is too big to display

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