Socket
Socket
Sign inDemoInstall

cloudrail-si

Package Overview
Dependencies
7
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.21.10 to 2.21.11

6

changelog.md
# CloudRail SI Node.JS SDK changelog
* **2.21.11**
* OneDriveBusiness: Fix missing url encoding of the client secret on refreshing tokens
* GoogleCloudPlatform: Add a missing internal function
* MicrosoftAzure: Fix an issue in the advanced request function
* **2.21.10**

@@ -4,0 +10,0 @@ * OneDrive: Attach missing state parameter to authentication url

2

package.json

@@ -56,3 +56,3 @@ {

"engineStrict": true,
"version": "2.21.10",
"version": "2.21.11",
"main": "index.js",

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

@@ -318,2 +318,16 @@ "use strict";

],
"replace": [
["string.split", "$L0", "$P2", "$P3"],
["size", "$L1", "$L0"],
["set", "$L2", 0],
["if<than", "$L2", "$L1", 7],
["get", "$L5", "$L0", "$L2"],
["if==than", "$L2", 0, 2],
["set", "$L4", "$L5"],
["jumpRel", 1],
["string.concat", "$L4", "$L4", "$P4", "$L5"],
["math.add", "$L2", "$L2", 1],
["jumpRel", -8],
["set", "$P1", "$L4"]
],
"encodeObjectName": [

@@ -320,0 +334,0 @@ ["callFunc", "replace", "$P0", "$L1", "$P2", "’", "\'"],

@@ -426,5 +426,6 @@ "use strict";

["create", "$L3", "Number", 0],
["if<than", "$L3", "$L2", 11],
["if<than", "$L3", "$L2", 10],
["get", "$L4", "$L1", "$L3"],
["string.split", "$L5", "$L4", "="],
["size", "$L10", "$L5"],
["if>than", "$L10", 1, 3],

@@ -436,3 +437,3 @@ ["get", "$L11", "$L5", 0],

["math.add", "$L3", "$L3", 1],
["jumpRel", -12]
["jumpRel", -11]
],

@@ -439,0 +440,0 @@ "signedString": [

@@ -577,7 +577,7 @@ "use strict";

["create", "$L2", "String"],
["if==than", "$P2", "accessToken", 40],
["string.urlEncode", "$L12", "$P0.clientSecret"],
["if==than", "$P2", "accessToken", 39],
["string.concat", "$L0", "https://login.microsoftonline.com/common/oauth2/authorize?client_id=", "$P0.clientId", "&response_type=code&redirect_uri=", "$P0.redirectUri"],
["awaitCodeRedirect", "$L1", "$L0", null, "$P0.redirectUri"],
["string.urlEncode", "$L0", "$P0.clientSecret"],
["string.concat", "$L2", "client_id=", "$P0.clientId", "&redirect_uri=", "$P0.redirectUri", "&client_secret=", "$L0", "&code=", "$L1", "&grant_type=authorization_code&resource=https%3A%2F%2Fapi.office.com%2Fdiscovery%2F"],
["string.concat", "$L2", "client_id=", "$P0.clientId", "&redirect_uri=", "$P0.redirectUri", "&client_secret=", "$L12", "&code=", "$L1", "&grant_type=authorization_code&resource=https%3A%2F%2Fapi.office.com%2Fdiscovery%2F"],
["stream.stringToStream", "$L3", "$L2"],

@@ -619,3 +619,3 @@ ["create", "$L4", "Object"],

["jumpRel", -9],
["string.concat", "$L2", "client_id=", "$P0.clientId", "&redirect_uri=", "$P0.redirectUri", "&client_secret=", "$P0.clientSecret", "&refresh_token=", "$S0.refreshToken", "&grant_type=refresh_token&resource=", "$S0.resource"],
["string.concat", "$L2", "client_id=", "$P0.clientId", "&redirect_uri=", "$P0.redirectUri", "&client_secret=", "$L12", "&refresh_token=", "$S0.refreshToken", "&grant_type=refresh_token&resource=", "$S0.resource"],
["stream.stringToStream", "$L3", "$L2"],

@@ -622,0 +622,0 @@ ["create", "$L4", "Object"],

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc