Updated the files.

This commit is contained in:
Batuhan Berk Başoğlu 2024-02-08 19:38:41 -05:00
parent 1553e6b971
commit 753967d4f5
23418 changed files with 3784666 additions and 0 deletions

1
my-app/node_modules/is-lambda/.npmignore generated vendored Executable file
View file

@ -0,0 +1 @@
node_modules

8
my-app/node_modules/is-lambda/.travis.yml generated vendored Executable file
View file

@ -0,0 +1,8 @@
language: node_js
node_js:
- '7'
- '6'
- '5'
- '4'
- '0.12'
- '0.10'

21
my-app/node_modules/is-lambda/LICENSE generated vendored Executable file
View file

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2016-2017 Thomas Watson Steen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

27
my-app/node_modules/is-lambda/README.md generated vendored Executable file
View file

@ -0,0 +1,27 @@
# is-lambda
Returns `true` if the current environment is an [AWS
Lambda](https://aws.amazon.com/lambda/) server.
[![Build status](https://travis-ci.org/watson/is-lambda.svg?branch=master)](https://travis-ci.org/watson/is-lambda)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
## Installation
```
npm install is-lambda
```
## Usage
```js
var isLambda = require('is-lambda')
if (isLambda) {
console.log('The code is running on a AWS Lambda')
}
```
## License
MIT

6
my-app/node_modules/is-lambda/index.js generated vendored Executable file
View file

@ -0,0 +1,6 @@
'use strict'
module.exports = !!(
(process.env.LAMBDA_TASK_ROOT && process.env.AWS_EXECUTION_ENV) ||
false
)

35
my-app/node_modules/is-lambda/package.json generated vendored Executable file
View file

@ -0,0 +1,35 @@
{
"name": "is-lambda",
"version": "1.0.1",
"description": "Detect if your code is running on an AWS Lambda server",
"main": "index.js",
"dependencies": {},
"devDependencies": {
"clear-require": "^1.0.1",
"standard": "^10.0.2"
},
"scripts": {
"test": "standard && node test.js"
},
"repository": {
"type": "git",
"url": "https://github.com/watson/is-lambda.git"
},
"keywords": [
"aws",
"hosting",
"hosted",
"lambda",
"detect"
],
"author": "Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)",
"license": "MIT",
"bugs": {
"url": "https://github.com/watson/is-lambda/issues"
},
"homepage": "https://github.com/watson/is-lambda",
"coordinates": [
37.3859955,
-122.0838831
]
}

16
my-app/node_modules/is-lambda/test.js generated vendored Executable file
View file

@ -0,0 +1,16 @@
'use strict'
var assert = require('assert')
var clearRequire = require('clear-require')
process.env.AWS_EXECUTION_ENV = 'AWS_Lambda_nodejs6.10'
process.env.LAMBDA_TASK_ROOT = '/var/task'
var isCI = require('./')
assert(isCI)
delete process.env.AWS_EXECUTION_ENV
clearRequire('./')
isCI = require('./')
assert(!isCI)