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

@serverless/platform-sdk

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serverless/platform-sdk - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

6

dist/fetch.js

@@ -17,5 +17,5 @@ 'use strict';

var _isomorphicFetch = require('isomorphic-fetch');
var _nodeFetch = require('node-fetch');
var _isomorphicFetch2 = _interopRequireDefault(_isomorphicFetch);
var _nodeFetch2 = _interopRequireDefault(_nodeFetch);

@@ -111,3 +111,3 @@ var _httpsProxyAgent = require('https-proxy-agent');

_context.next = 3;
return (0, _isomorphicFetch2.default)(url, Object.assign({
return (0, _nodeFetch2.default)(url, Object.assign({
agent

@@ -114,0 +114,0 @@ }, options, {

{
"name": "@serverless/platform-sdk",
"version": "2.3.1",
"version": "2.3.2",
"description": "Serverless Platform SDK",

@@ -30,7 +30,7 @@ "author": "Serverless, Inc.",

"dependencies": {
"chalk": "^2.4.1",
"chalk": "^2.4.2",
"https-proxy-agent": "^4.0.0",
"is-docker": "^1.1.0",
"isomorphic-fetch": "^2.2.1",
"jwt-decode": "^2.2.0",
"node-fetch": "^2.6.1",
"opn": "^5.5.0",

@@ -40,6 +40,6 @@ "querystring": "^0.2.0",

"rc": "^1.2.8",
"regenerator-runtime": "^0.13.1",
"source-map-support": "^0.5.12",
"uuid": "^3.3.2",
"write-file-atomic": "^2.4.2",
"regenerator-runtime": "^0.13.7",
"source-map-support": "^0.5.19",
"uuid": "^3.4.0",
"write-file-atomic": "^2.4.3",
"ws": "<7.0.0"

@@ -52,11 +52,11 @@ },

"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-env": "^1.7.0",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-prettier": "^2.6.1",
"jest-cli": "^21.2.0",
"eslint-config-prettier": "^2.10.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^2.7.0",
"jest-cli": "^21.2.1",
"lint-staged": "7.1.3",
"pre-commit": "^1.2.2",
"prettier": "^1.17.1"
"prettier": "^1.19.1"
},

@@ -63,0 +63,0 @@ "publishConfig": {

@@ -1,3 +0,5 @@

# Platform SDK
# Platform SDK (deprecated)
_*Note*: This package is deprecated in favor of [@serverless/platform-client](https://www.npmjs.com/package/@serverless/platform-client). It accepts only bug fixes_
Functional SDK for the Serverless Platfrom.

@@ -34,3 +36,5 @@

## Functions
### `login`
Opens a browser for the user to login, along with a running server awaiting auth data once the user logs in.

@@ -63,2 +67,3 @@

### `refreshToken`
Refreshes Auth0 idToken

@@ -72,3 +77,2 @@

Promise resolving to the following object:

@@ -91,2 +95,3 @@

### `createAccessKey`
Creates a platform access key for the authenticated user.

@@ -125,2 +130,3 @@

### `archiveService`
Archives a service in the platform.

@@ -163,2 +169,3 @@

### `getServiceUrl`
Constructs a service url based on passed-in data.

@@ -174,3 +181,2 @@

**Returns**

@@ -197,2 +203,3 @@

### `listTenants`
Lists the tenants for a given username

@@ -207,3 +214,2 @@

**Returns**

@@ -229,2 +235,3 @@

### `createDeploymnet`
Creates a platform deployment

@@ -269,2 +276,3 @@

### `updateDeployment`
Updates a platform deployment

@@ -284,3 +292,2 @@

**Returns**

@@ -313,2 +320,3 @@

### `getApp`
Gets a platform app

@@ -324,3 +332,2 @@

**Returns**

@@ -347,2 +354,3 @@

### `createApp`
Creates a platform app

@@ -358,3 +366,2 @@

**Returns**

@@ -361,0 +368,0 @@

Sorry, the diff of this file is not supported yet

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