New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/serverless

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/serverless - npm Package Compare versions

Comparing version 3.0.3 to 3.12.0

4

serverless/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for serverless 3.0
// Type definitions for serverless 3.12
// Project: https://github.com/serverless/serverless#readme

@@ -12,6 +12,6 @@ // Definitions by: Hassan Khan <https://github.com/hassankhan>

// François Farge <https://github.com/fargito>
// Bruno Bodian <https://github.com/bacarybruno>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import Service = require('./classes/Service');
import Plugin = require('./classes/Plugin');
import PluginManager = require('./classes/PluginManager');

@@ -18,0 +18,0 @@ import Utils = require('./classes/Utils');

{
"name": "@types/serverless",
"version": "3.0.3",
"version": "3.12.0",
"description": "TypeScript definitions for serverless",

@@ -52,2 +52,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/serverless",

"githubUsername": "fargito"
},
{
"name": "Bruno Bodian",
"url": "https://github.com/bacarybruno",
"githubUsername": "bacarybruno"
}

@@ -64,4 +69,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "29606f21f1b9f18aee724be194bdd6efad912280cb0148133297ad96993b6cc0",
"typesPublisherContentHash": "c843d285cbd2eaadb24d2d96572f753d236c732a17a4c220f6ce5ab96aea7721",
"typeScriptVersion": "3.9"
}

@@ -622,2 +622,16 @@ import Serverless = require('../../../index');

interface FunctionUrlConfigCors {
allowCredentials?: boolean | undefined;
allowedHeaders?: boolean | string[] | undefined;
allowedMethods?: boolean | string[] | undefined;
allowedOrigins?: boolean | string[] | undefined;
exposedResponseHeaders?: boolean | string[] | undefined;
maxAge?: number | undefined;
}
interface FunctionUrlConfig {
authorizer?: 'aws_iam' | undefined;
cors?: boolean | FunctionUrlConfigCors | undefined;
}
interface AwsFunction {

@@ -648,2 +662,3 @@ name?: string | undefined;

disableLogs?: boolean | undefined;
url?: boolean | FunctionUrlConfig | undefined;
}

@@ -650,0 +665,0 @@

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 19 Apr 2022 16:31:34 GMT
* Last updated: Fri, 22 Apr 2022 05:01:35 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [Hassan Khan](https://github.com/hassankhan), [Jonathan M. Wilbur](https://github.com/JonathanWilbur), [Alex Pavlenko](https://github.com/a-pavlenko), [Frédéric Barthelet](https://github.com/fredericbarthelet), [Bryan Hunter](https://github.com/bryan-hunter), [Thomas Aribart](https://github.com/thomasaribart), [Gareth Jones](https://github.com/G-Rath), [Abdullah Ali](https://github.com/AbdullahAli), and [François Farge](https://github.com/fargito).
These definitions were written by [Hassan Khan](https://github.com/hassankhan), [Jonathan M. Wilbur](https://github.com/JonathanWilbur), [Alex Pavlenko](https://github.com/a-pavlenko), [Frédéric Barthelet](https://github.com/fredericbarthelet), [Bryan Hunter](https://github.com/bryan-hunter), [Thomas Aribart](https://github.com/thomasaribart), [Gareth Jones](https://github.com/G-Rath), [Abdullah Ali](https://github.com/AbdullahAli), [François Farge](https://github.com/fargito), and [Bruno Bodian](https://github.com/bacarybruno).
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