feat(auth): implement user authentication system
This commit is contained in:
parent
4847ab793a
commit
25cea4fbe8
12051 changed files with 1462377 additions and 0 deletions
22
backend/node_modules/jest-util/LICENSE
generated
vendored
Normal file
22
backend/node_modules/jest-util/LICENSE
generated
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
Copyright Contributors to the Jest project.
|
||||
|
||||
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.
|
||||
87
backend/node_modules/jest-util/Readme.md
generated
vendored
Normal file
87
backend/node_modules/jest-util/Readme.md
generated
vendored
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
# `@jest/utils`
|
||||
|
||||
This packages is a collection of utilities and helper functions
|
||||
|
||||
## `ErrorWithStack`
|
||||
|
||||
This custom error class can be useful when you need to capture the stack trace of an error and provide additional context to the error message. By default, JavaScript errors only capture the stack trace when they are thrown, but this class allows you to capture the stack trace at any point in your code by calling its constructor.
|
||||
|
||||
## `clearLine`
|
||||
|
||||
It ensures that the clearing operation is only performed when running in a terminal environment, and not when the output is redirected to a file or another non-terminal destination.
|
||||
|
||||
## `convertDescriptorToString`
|
||||
|
||||
It defines a function named `convertDescriptorToString` that takes a descriptor as input and converts it to a string based on its type. It handles various types such as functions, numbers, strings, and undefined values. If the input doesn't match any of these types, it throws an error with a descriptive message.
|
||||
|
||||
## `createDirectory`
|
||||
|
||||
It creates new directory and also allows creation of nested directories.
|
||||
|
||||
## `deepCyclicCopy`
|
||||
|
||||
The `deepCyclicCopy` function provides deep copying of JavaScript objects and arrays, including handling circular references. It offers optional customization through a `DeepCyclicCopyOptions` parameter, allowing users to blacklist properties and preserve object prototypes. The function returns a completely independent deep copy of the input data structure.
|
||||
|
||||
## `formatTime`
|
||||
|
||||
This function is useful for formatting time values with appropriate SI unit prefixes for readability. It expresses time in various units (e.g., milliseconds, microseconds, nanoseconds) while ensuring the formatting is consistent and human-readable.
|
||||
|
||||
## `globsToMatcher`
|
||||
|
||||
The code efficiently converts a list of glob patterns into a reusable function for matching paths against those patterns, considering negated patterns and optimizing for performance.
|
||||
|
||||
## `installCommonGlobals`
|
||||
|
||||
Sets up various global variables and functions needed by the Jest testing framework. It ensures that these globals are properly set up for testing scenarios while maintaining compatibility with the environment's global object.
|
||||
|
||||
## `interopRequireDefault`
|
||||
|
||||
Provides a way to ensure compatibility between ES modules and CommonJS modules by handling the default export behavior appropriately.
|
||||
|
||||
## `invariant`
|
||||
|
||||
It is a utility used for asserting that a given condition is true. It's often used as a debugging aid during development to catch situations where an expected condition is not met.
|
||||
|
||||
## `isInteractive`
|
||||
|
||||
Checks whether the current environment is suitable for interactive terminal interactions.
|
||||
|
||||
## `isNonNullable`
|
||||
|
||||
Used to narrow down the type of a variable within a TypeScript code block, ensuring that it is safe to assume that the value is non-nullable. This can help avoid runtime errors related to null or undefined values.
|
||||
|
||||
## `isPromise`
|
||||
|
||||
It helps in order to determine whether a given value conforms to the structure of a Promise-like object, which typically has a `then` method. This can be useful when working with asynchronous code to ensure dealing with promises correctly.
|
||||
|
||||
## `pluralize`
|
||||
|
||||
This function is used to easily generate grammatically correct phrases in text output that depend on the count of items. It ensures that the word is correctly pluralized when needed.
|
||||
|
||||
## `preRunMessage`
|
||||
|
||||
These functions are intended for use in interactive command-line tools or scripts which provide informative messages to the user while ensuring a clean and responsive interface.
|
||||
|
||||
## `replacePathSepForGlob`
|
||||
|
||||
The function takes a string `path` as input and replaces backslashes ('\\') with forward slashes ('/') in the path. Used to normalize file paths to be compatible with glob patterns, ensuring consistency in path representation for different operating systems.
|
||||
|
||||
## `requireOrImportModule`
|
||||
|
||||
This function provides a unified way to load modules regardless of whether they use CommonJS or ESM syntax. It ensures that the default export is applied consistently when needed, allowing users to work with modules that might use different module systems.
|
||||
|
||||
## `setGlobal`
|
||||
|
||||
Used to set properties with specified values within a global object. It is designed to work in both browser-like and Node.js environments by accepting different types of global objects as input.
|
||||
|
||||
## `specialChars`
|
||||
|
||||
It defines constants and conditional values for handling platform-specific behaviors in a terminal environment. It determines if the current platform is Windows ('win32') and sets up constants for various symbols and terminal screen clearing escape sequences accordingly, ensuring proper display and behavior on both Windows and non-Windows operating systems.
|
||||
|
||||
## `TestPathPatterns`
|
||||
|
||||
This class takes test patterns and provides the API for deciding if a test matches any of the patterns.
|
||||
|
||||
## `tryRealpath`
|
||||
|
||||
Used to resolve the real path of a given path, but if the path doesn't exist or is a directory, it doesn't throw an error and returns the original path string. This can be useful for gracefully handling path resolution in scenarios where some paths might not exist or might be directories.
|
||||
187
backend/node_modules/jest-util/build/index.d.ts
generated
vendored
Normal file
187
backend/node_modules/jest-util/build/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,187 @@
|
|||
/**
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
import {WriteStream} from 'tty';
|
||||
import picomatch from 'picomatch';
|
||||
import {Config, Global as Global_2} from '@jest/types';
|
||||
|
||||
declare const ARROW = ' \u203A ';
|
||||
|
||||
/**
|
||||
* Whether the given value has properties that can be deleted (regardless of protection).
|
||||
*
|
||||
* @param value The given value.
|
||||
*/
|
||||
export declare function canDeleteProperties(value: unknown): value is object;
|
||||
|
||||
declare const CLEAR: string;
|
||||
|
||||
export declare function clearLine(stream: WriteStream): void;
|
||||
|
||||
export declare function convertDescriptorToString(
|
||||
descriptor: Global_2.BlockNameLike | undefined,
|
||||
): string;
|
||||
|
||||
export declare function createDirectory(path: string): void;
|
||||
|
||||
export declare function deepCyclicCopy<T>(
|
||||
value: T,
|
||||
options?: DeepCyclicCopyOptions,
|
||||
cycles?: WeakMap<any, any>,
|
||||
): T;
|
||||
|
||||
declare type DeepCyclicCopyOptions = {
|
||||
blacklist?: Set<string>;
|
||||
keepPrototype?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* Deletes all the properties from the given value (if it's an object),
|
||||
* unless the value was protected via {@link #protectProperties}.
|
||||
*
|
||||
* @param value the given value.
|
||||
*/
|
||||
export declare function deleteProperties(value: unknown): void;
|
||||
|
||||
/**
|
||||
* - <b>off</b>: deletion is completely turned off.
|
||||
* - <b>soft</b>: doesn't delete objects, but instead wraps their getter/setter with a deprecation warning.
|
||||
* - <b>on</b>: actually delete objects (using `delete`).
|
||||
*/
|
||||
export declare type DeletionMode = 'soft' | 'off' | 'on';
|
||||
|
||||
export declare class ErrorWithStack extends Error {
|
||||
constructor(
|
||||
message: string | undefined,
|
||||
callsite: (...args: Array<any>) => unknown,
|
||||
stackLimit?: number,
|
||||
);
|
||||
}
|
||||
|
||||
export declare function formatTime(
|
||||
time: number,
|
||||
prefixPower?: number,
|
||||
padLeftLength?: number,
|
||||
): string;
|
||||
|
||||
/**
|
||||
* Converts a list of globs into a function that matches a path against the
|
||||
* globs.
|
||||
*
|
||||
* Every time picomatch is called, it will parse the glob strings and turn
|
||||
* them into regexp instances. Instead of calling picomatch repeatedly with
|
||||
* the same globs, we can use this function which will build the picomatch
|
||||
* matchers ahead of time and then have an optimized path for determining
|
||||
* whether an individual path matches.
|
||||
*
|
||||
* This function is intended to match the behavior of `micromatch()`.
|
||||
*
|
||||
* @example
|
||||
* const isMatch = globsToMatcher(['*.js', '!*.test.js']);
|
||||
* isMatch('pizza.js'); // true
|
||||
* isMatch('pizza.test.js'); // false
|
||||
*/
|
||||
export declare function globsToMatcher(
|
||||
globs: Array<string>,
|
||||
picomatchOptions?: picomatch.PicomatchOptions,
|
||||
): Matcher;
|
||||
|
||||
declare const ICONS: {
|
||||
failed: string;
|
||||
pending: string;
|
||||
success: string;
|
||||
todo: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Initializes the garbage collection utils with the given deletion mode.
|
||||
*
|
||||
* @param globalObject the global object on which to store the deletion mode.
|
||||
* @param deletionMode the deletion mode to use.
|
||||
*/
|
||||
export declare function initializeGarbageCollectionUtils(
|
||||
globalObject: typeof globalThis,
|
||||
deletionMode: DeletionMode,
|
||||
): void;
|
||||
|
||||
export declare function installCommonGlobals(
|
||||
globalObject: typeof globalThis,
|
||||
globals: Config.ConfigGlobals,
|
||||
garbageCollectionDeletionMode?: DeletionMode,
|
||||
): typeof globalThis & Config.ConfigGlobals;
|
||||
|
||||
export declare function interopRequireDefault(obj: any): any;
|
||||
|
||||
export declare function invariant(
|
||||
condition: unknown,
|
||||
message?: string,
|
||||
): asserts condition;
|
||||
|
||||
export declare const isInteractive: boolean;
|
||||
|
||||
export declare function isNonNullable<T>(value: T): value is NonNullable<T>;
|
||||
|
||||
export declare function isPromise<T = unknown>(
|
||||
candidate: unknown,
|
||||
): candidate is PromiseLike<T>;
|
||||
|
||||
declare type Matcher = (str: string) => boolean;
|
||||
|
||||
export declare function pluralize(
|
||||
word: string,
|
||||
count: number,
|
||||
ending?: string,
|
||||
): string;
|
||||
|
||||
declare namespace preRunMessage {
|
||||
export {print_2 as print, remove};
|
||||
}
|
||||
export {preRunMessage};
|
||||
|
||||
declare function print_2(stream: WriteStream): void;
|
||||
|
||||
/**
|
||||
* Protects the given value from being deleted by {@link #deleteProperties}.
|
||||
*
|
||||
* @param value The given value.
|
||||
* @param properties If the array contains any property,
|
||||
* then only these properties will be protected; otherwise if the array is empty,
|
||||
* all properties will be protected.
|
||||
* @param depth Determines how "deep" the protection should be.
|
||||
* A value of 0 means that only the top-most properties will be protected,
|
||||
* while a value larger than 0 means that deeper levels of nesting will be protected as well.
|
||||
*/
|
||||
export declare function protectProperties<T>(
|
||||
value: T,
|
||||
properties?: Array<keyof T>,
|
||||
depth?: number,
|
||||
): boolean;
|
||||
|
||||
declare function remove(stream: WriteStream): void;
|
||||
|
||||
export declare function replacePathSepForGlob(path: string): string;
|
||||
|
||||
export declare function requireOrImportModule<T>(
|
||||
filePath: string,
|
||||
applyInteropRequireDefault?: boolean,
|
||||
): Promise<T>;
|
||||
|
||||
export declare function setGlobal(
|
||||
globalToMutate: typeof globalThis | Global_2.Global,
|
||||
key: string | symbol,
|
||||
value: unknown,
|
||||
afterTeardown?: 'clean' | 'retain',
|
||||
): void;
|
||||
|
||||
declare namespace specialChars {
|
||||
export {ARROW, ICONS, CLEAR};
|
||||
}
|
||||
export {specialChars};
|
||||
|
||||
export declare function tryRealpath(path: string): string;
|
||||
|
||||
export {};
|
||||
1343
backend/node_modules/jest-util/build/index.js
generated
vendored
Normal file
1343
backend/node_modules/jest-util/build/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
26
backend/node_modules/jest-util/build/index.mjs
generated
vendored
Normal file
26
backend/node_modules/jest-util/build/index.mjs
generated
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
import cjsModule from './index.js';
|
||||
|
||||
export const ErrorWithStack = cjsModule.ErrorWithStack;
|
||||
export const canDeleteProperties = cjsModule.canDeleteProperties;
|
||||
export const clearLine = cjsModule.clearLine;
|
||||
export const convertDescriptorToString = cjsModule.convertDescriptorToString;
|
||||
export const createDirectory = cjsModule.createDirectory;
|
||||
export const deepCyclicCopy = cjsModule.deepCyclicCopy;
|
||||
export const deleteProperties = cjsModule.deleteProperties;
|
||||
export const formatTime = cjsModule.formatTime;
|
||||
export const globsToMatcher = cjsModule.globsToMatcher;
|
||||
export const initializeGarbageCollectionUtils = cjsModule.initializeGarbageCollectionUtils;
|
||||
export const installCommonGlobals = cjsModule.installCommonGlobals;
|
||||
export const interopRequireDefault = cjsModule.interopRequireDefault;
|
||||
export const invariant = cjsModule.invariant;
|
||||
export const isInteractive = cjsModule.isInteractive;
|
||||
export const isNonNullable = cjsModule.isNonNullable;
|
||||
export const isPromise = cjsModule.isPromise;
|
||||
export const pluralize = cjsModule.pluralize;
|
||||
export const preRunMessage = cjsModule.preRunMessage;
|
||||
export const protectProperties = cjsModule.protectProperties;
|
||||
export const replacePathSepForGlob = cjsModule.replacePathSepForGlob;
|
||||
export const requireOrImportModule = cjsModule.requireOrImportModule;
|
||||
export const setGlobal = cjsModule.setGlobal;
|
||||
export const specialChars = cjsModule.specialChars;
|
||||
export const tryRealpath = cjsModule.tryRealpath;
|
||||
214
backend/node_modules/jest-util/node_modules/ci-info/CHANGELOG.md
generated
vendored
Normal file
214
backend/node_modules/jest-util/node_modules/ci-info/CHANGELOG.md
generated
vendored
Normal file
|
|
@ -0,0 +1,214 @@
|
|||
# Changelog
|
||||
|
||||
## v4.4.0
|
||||
|
||||
- add aplic support [f329ff5](https://github.com/watson/ci-info/commit/f329ff5)
|
||||
|
||||
## v4.3.1
|
||||
|
||||
- don't read envs when CI is set to `false` [3fae1ac](https://github.com/watson/ci-info/commit/3fae1ac)
|
||||
|
||||
## v4.3.0
|
||||
|
||||
- support Cloudflare workers [e438266](https://github.com/watson/ci-info/commit/e438266)
|
||||
|
||||
## v4.2.0
|
||||
|
||||
- support Cloudflare Pages [75c9de8](https://github.com/watson/ci-info/commit/75c9de8)
|
||||
|
||||
### v4.1.0
|
||||
|
||||
- support Appcircle PR [1d42c26](https://github.com/watson/ci-info/commit/1d42c26)
|
||||
- support AWS CodeBuild PR [e6fcdd2](https://github.com/watson/ci-info/commit/e6fcdd2)
|
||||
- add `ci.id` to return vendor constant [81fd993](https://github.com/watson/ci-info/commit/81fd993)
|
||||
|
||||
## v4.0.0
|
||||
|
||||
- support Earthly CI [fb8bd85](https://github.com/watson/ci-info/commit/fb8bd85)
|
||||
- support Prow CI [8e6a591](https://github.com/watson/ci-info/commit/8e6a591)
|
||||
- support Vela CI [bb13901](https://github.com/watson/ci-info/commit/bb13901)
|
||||
- support Agola CI [ec4e149](https://github.com/watson/ci-info/commit/ec4e149)
|
||||
- support Gitea Actions [f6f173f](https://github.com/watson/ci-info/commit/f6f173f)
|
||||
- run tests on nodejs v20 [bff314d](https://github.com/watson/ci-info/commit/bff314d)
|
||||
|
||||
#### Breaking Changes
|
||||
|
||||
- remove Shippable CI [2c5571a](https://github.com/watson/ci-info/commit/2c5571a)
|
||||
- remove Solano CI [d6315fc](https://github.com/watson/ci-info/commit/d6315fc)
|
||||
|
||||
## v3.9.0
|
||||
|
||||
- better support for Azure Pipelines ([#116](https://github.com/watson/ci-info/pull/116)), [5ea8d85](https://github.com/watson/ci-info/commit/5ea8d85)
|
||||
- detect PullRequest in Azure Pipelines [5ea8d85](https://github.com/watson/ci-info/commit/5ea8d85)
|
||||
|
||||
## v3.8.0
|
||||
|
||||
- support Harness CI [76a2867](https://github.com/watson/ci-info/commit/76a2867)
|
||||
|
||||
## v3.7.1
|
||||
|
||||
- ignore ci detection when CI is set to `'false'` [24cc450](https://github.com/watson/ci-info/commit/24cc450)
|
||||
|
||||
## v3.7.0
|
||||
|
||||
- support Sourcehut CI [85b96ea](https://github.com/watson/ci-info/commit/85b96ea)
|
||||
- support ReleaseHub CI [409d886](https://github.com/watson/ci-info/commit/409d886)
|
||||
|
||||
## v3.6.2
|
||||
|
||||
- fix VERCEL environment detection ([#98](https://github.com/watson/ci-info/pull/98))
|
||||
|
||||
## v3.6.1
|
||||
|
||||
- fix error in typings [357b454](https://github.com/watson/ci-info/commit/357b454)
|
||||
|
||||
## v3.6.0
|
||||
|
||||
This release attempts to bring parity with [@npmcli/ci-detect](https://github.com/npm/ci-detect). See [#95](https://github.com/watson/ci-info/pull/95) for more details.
|
||||
|
||||
- support gerrit ([#95](https://github.com/watson/ci-info/pull/95))
|
||||
- support google cloud build ([#95](https://github.com/watson/ci-info/pull/95))
|
||||
- support heroku ([#95](https://github.com/watson/ci-info/pull/95))
|
||||
- support anonymous CI's that exposes BUILD_ID and CI_NAME env vars ([#95](https://github.com/watson/ci-info/pull/95))
|
||||
- support more vercel environments ([#95](https://github.com/watson/ci-info/pull/95))
|
||||
|
||||
## v3.5.0
|
||||
|
||||
- support Woodpecker CI ([#90](https://github.com/watson/ci-info/pull/90))
|
||||
|
||||
## v3.4.0
|
||||
|
||||
- partial support Appflow CI (only CI detection) ([#84](https://github.com/watson/ci-info/pull/84))
|
||||
- support Codemagic CI ([#85](https://github.com/watson/ci-info/pull/85))
|
||||
- support Xcode Server CI ([#86](https://github.com/watson/ci-info/pull/86))
|
||||
- support Xcode Cloud CI ([#86](https://github.com/watson/ci-info/pull/86))
|
||||
|
||||
## v3.3.2
|
||||
|
||||
- fix: export correct typings for `EAS`
|
||||
|
||||
## v3.3.1
|
||||
|
||||
- fix: export `EAS_BUILD` constant in typings
|
||||
- Add support for nodejs v18
|
||||
|
||||
## v3.3.0
|
||||
|
||||
- support Expo Application Services ([#70](https://github.com/watson/ci-info/pull/70))
|
||||
|
||||
## v3.2.0
|
||||
|
||||
- support LayerCI ([#68](https://github.com/watson/ci-info/pull/68))
|
||||
- support Appcircle ([#69](https://github.com/watson/ci-info/pull/69))
|
||||
- support Codefresh CI ([#65](https://github.com/watson/ci-info/pull/65))
|
||||
- add support for nodejs v16
|
||||
|
||||
## v3.1.1
|
||||
|
||||
Bug Fixes:
|
||||
|
||||
- remove duplicate declaration in typings
|
||||
|
||||
## v3.1.0
|
||||
|
||||
Features:
|
||||
|
||||
- add typings
|
||||
|
||||
## v3.0.0
|
||||
|
||||
Features:
|
||||
|
||||
- Add support nodejs versions: 14, 15
|
||||
- support Nevercode ([#30](https://github.com/watson/ci-info/pull/30))
|
||||
- support Render CI ([#36](https://github.com/watson/ci-info/pull/36))
|
||||
- support Now CI ([#37](https://github.com/watson/ci-info/pull/37))
|
||||
- support GitLab PR ([#59](https://github.com/watson/ci-info/pull/59))
|
||||
- support Screwdriver CD ([#60](https://github.com/watson/ci-info/pull/60))
|
||||
- support Visual Studio App Center ([#61](https://github.com/watson/ci-info/pull/61))
|
||||
|
||||
Bug Fixes:
|
||||
|
||||
- update Netlify env constant ([#47](https://github.com/watson/ci-info/pull/47))
|
||||
|
||||
Breaking changes:
|
||||
|
||||
- Drop support for Node.js end-of-life versions: 6, 13
|
||||
- replace `Zeit Now` with `Vercel` ([#55](https://github.com/watson/ci-info/pull/55))
|
||||
|
||||
## v2.0.0
|
||||
|
||||
Breaking changes:
|
||||
|
||||
- Drop support for Node.js end-of-life versions: 0.10, 0.12, 4, 5, 7, and 9
|
||||
- Team Foundation Server will now be detected as Azure Pipelines. The constant `ci.TFS` no longer exists - use
|
||||
`ci.AZURE_PIPELINES` instead
|
||||
- Remove deprecated `ci.TDDIUM` constant - use `ci.SOLANDO` instead
|
||||
|
||||
New features:
|
||||
|
||||
- feat: support Azure Pipelines ([#23](https://github.com/watson/ci-info/pull/23))
|
||||
- feat: support Netlify CI ([#26](https://github.com/watson/ci-info/pull/26))
|
||||
- feat: support Bitbucket pipelines PR detection ([#27](https://github.com/watson/ci-info/pull/27))
|
||||
|
||||
## v1.6.0
|
||||
|
||||
- feat: add Sail CI support
|
||||
- feat: add Buddy support
|
||||
- feat: add Bitrise support
|
||||
- feat: detect Jenkins PRs
|
||||
- feat: detect Drone PRs
|
||||
|
||||
## v1.5.1
|
||||
|
||||
- fix: use full path to vendors.json
|
||||
|
||||
## v1.5.0
|
||||
|
||||
- feat: add dsari detection ([#15](https://github.com/watson/ci-info/pull/15))
|
||||
- feat: add ci.isPR ([#16](https://github.com/watson/ci-info/pull/16))
|
||||
|
||||
## v1.4.0
|
||||
|
||||
- feat: add Cirrus CI detection ([#13](https://github.com/watson/ci-info/pull/13))
|
||||
- feat: add Shippable CI detection ([#14](https://github.com/watson/ci-info/pull/14))
|
||||
|
||||
## v1.3.1
|
||||
|
||||
- chore: reduce npm package size by not including `.github` folder content
|
||||
([#11](https://github.com/watson/ci-info/pull/11))
|
||||
|
||||
## v1.3.0
|
||||
|
||||
- feat: add support for Strider CD
|
||||
- chore: deprecate vendor constant `TDDIUM` in favor of `SOLANO`
|
||||
- docs: add missing vendor constant to docs
|
||||
|
||||
## v1.2.0
|
||||
|
||||
- feat: detect solano-ci ([#9](https://github.com/watson/ci-info/pull/9))
|
||||
|
||||
## v1.1.3
|
||||
|
||||
- fix: fix spelling of Hunson in `ci.name`
|
||||
|
||||
## v1.1.2
|
||||
|
||||
- fix: no more false positive matches for Jenkins
|
||||
|
||||
## v1.1.1
|
||||
|
||||
- docs: sort lists of CI servers in README.md
|
||||
- docs: add missing AWS CodeBuild to the docs
|
||||
|
||||
## v1.1.0
|
||||
|
||||
- feat: add AWS CodeBuild to CI detection ([#2](https://github.com/watson/ci-info/pull/2))
|
||||
|
||||
## v1.0.1
|
||||
|
||||
- chore: reduce npm package size by using an `.npmignore` file ([#3](https://github.com/watson/ci-info/pull/3))
|
||||
|
||||
## v1.0.0
|
||||
|
||||
- Initial release
|
||||
21
backend/node_modules/jest-util/node_modules/ci-info/LICENSE
generated
vendored
Normal file
21
backend/node_modules/jest-util/node_modules/ci-info/LICENSE
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2016 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.
|
||||
144
backend/node_modules/jest-util/node_modules/ci-info/README.md
generated
vendored
Normal file
144
backend/node_modules/jest-util/node_modules/ci-info/README.md
generated
vendored
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
# ci-info
|
||||
|
||||
Get details about the current Continuous Integration environment.
|
||||
|
||||
Please [open an
|
||||
issue](https://github.com/watson/ci-info/issues/new?template=ci-server-not-detected.md)
|
||||
if your CI server isn't properly detected :)
|
||||
|
||||
[](https://www.npmjs.com/package/ci-info)
|
||||
[](https://github.com/watson/ci-info/actions)
|
||||
[](https://github.com/feross/standard)
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
npm install ci-info --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var ci = require('ci-info')
|
||||
|
||||
if (ci.isCI) {
|
||||
console.log('The name of the CI server is:', ci.name)
|
||||
} else {
|
||||
console.log('This program is not running on a CI server')
|
||||
}
|
||||
```
|
||||
|
||||
## Supported CI tools
|
||||
|
||||
Officially supported CI servers:
|
||||
|
||||
| Name | Constant | isPR |
|
||||
| ------------------------------------------------------------------------------- | ----------------------- | ---- |
|
||||
| [Agola CI](https://agola.io/) | `ci.AGOLA` | ✅ |
|
||||
| [Alpic](https://alpic.ai/) | `ci.ALPIC` | 🚫 |
|
||||
| [Appcircle](https://appcircle.io/) | `ci.APPCIRCLE` | ✅ |
|
||||
| [AppVeyor](http://www.appveyor.com) | `ci.APPVEYOR` | ✅ |
|
||||
| [AWS CodeBuild](https://aws.amazon.com/codebuild/) | `ci.CODEBUILD` | ✅ |
|
||||
| [Azure Pipelines](https://azure.microsoft.com/en-us/services/devops/pipelines/) | `ci.AZURE_PIPELINES` | ✅ |
|
||||
| [Bamboo](https://www.atlassian.com/software/bamboo) by Atlassian | `ci.BAMBOO` | 🚫 |
|
||||
| [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines) | `ci.BITBUCKET` | ✅ |
|
||||
| [Bitrise](https://www.bitrise.io/) | `ci.BITRISE` | ✅ |
|
||||
| [Buddy](https://buddy.works/) | `ci.BUDDY` | ✅ |
|
||||
| [Buildkite](https://buildkite.com) | `ci.BUILDKITE` | ✅ |
|
||||
| [CircleCI](http://circleci.com) | `ci.CIRCLE` | ✅ |
|
||||
| [Cirrus CI](https://cirrus-ci.org) | `ci.CIRRUS` | ✅ |
|
||||
| [Cloudflare Pages](https://pages.cloudflare.com/) | `ci.CLOUDFLARE_PAGES` | 🚫 |
|
||||
| [Cloudflare Workers](https://pages.cloudflare.com/) | `ci.CLOUDFLARE_WORKERS` | 🚫 |
|
||||
| [Codefresh](https://codefresh.io/) | `ci.CODEFRESH` | ✅ |
|
||||
| [Codeship](https://codeship.com) | `ci.CODESHIP` | 🚫 |
|
||||
| [Drone](https://drone.io) | `ci.DRONE` | ✅ |
|
||||
| [dsari](https://github.com/rfinnie/dsari) | `ci.DSARI` | 🚫 |
|
||||
| [Earthly CI](https://earthly.dev/) | `ci.EARTHLY` | 🚫 |
|
||||
| [Expo Application Services](https://expo.dev/eas) | `ci.EAS` | 🚫 |
|
||||
| [Gerrit CI](https://www.gerritcodereview.com) | `ci.GERRIT` | 🚫 |
|
||||
| [GitHub Actions](https://github.com/features/actions/) | `ci.GITHUB_ACTIONS` | ✅ |
|
||||
| [GitLab CI](https://about.gitlab.com/gitlab-ci/) | `ci.GITLAB` | ✅ |
|
||||
| [Gitea Actions](https://about.gitea.com/) | `ci.GITEA_ACTIONS` | 🚫 |
|
||||
| [GoCD](https://www.go.cd/) | `ci.GOCD` | 🚫 |
|
||||
| [Google Cloud Build](https://cloud.google.com/build) | `ci.GOOGLE_CLOUD_BUILD` | 🚫 |
|
||||
| [Harness CI](https://www.harness.io/products/continuous-integration) | `ci.HARNESS` | 🚫 |
|
||||
| [Heroku](https://www.heroku.com) | `ci.HEROKU` | 🚫 |
|
||||
| [Hudson](http://hudson-ci.org) | `ci.HUDSON` | 🚫 |
|
||||
| [Jenkins CI](https://jenkins-ci.org) | `ci.JENKINS` | ✅ |
|
||||
| [LayerCI](https://layerci.com/) | `ci.LAYERCI` | ✅ |
|
||||
| [Magnum CI](https://magnum-ci.com) | `ci.MAGNUM` | 🚫 |
|
||||
| [Netlify CI](https://www.netlify.com/) | `ci.NETLIFY` | ✅ |
|
||||
| [Nevercode](http://nevercode.io/) | `ci.NEVERCODE` | ✅ |
|
||||
| [Prow](https://docs.prow.k8s.io/) | `ci.PROW` | 🚫 |
|
||||
| [ReleaseHub](https://releasehub.com/) | `ci.RELEASEHUB` | 🚫 |
|
||||
| [Render](https://render.com/) | `ci.RENDER` | ✅ |
|
||||
| [Sail CI](https://sail.ci/) | `ci.SAIL` | ✅ |
|
||||
| [Screwdriver](https://screwdriver.cd/) | `ci.SCREWDRIVER` | ✅ |
|
||||
| [Semaphore](https://semaphoreci.com) | `ci.SEMAPHORE` | ✅ |
|
||||
| [Sourcehut](https://sourcehut.org/) | `ci.SOURCEHUT` | 🚫 |
|
||||
| [Strider CD](https://strider-cd.github.io/) | `ci.STRIDER` | 🚫 |
|
||||
| [TaskCluster](http://docs.taskcluster.net) | `ci.TASKCLUSTER` | 🚫 |
|
||||
| [TeamCity](https://www.jetbrains.com/teamcity/) by JetBrains | `ci.TEAMCITY` | 🚫 |
|
||||
| [Travis CI](http://travis-ci.org) | `ci.TRAVIS` | ✅ |
|
||||
| [Vela](https://go-vela.github.io/docs/) | `ci.VELA` | ✅ |
|
||||
| [Vercel](https://vercel.com/) | `ci.VERCEL` | ✅ |
|
||||
| [Visual Studio App Center](https://appcenter.ms/) | `ci.APPCENTER` | 🚫 |
|
||||
| [Woodpecker](https://woodpecker-ci.org/) | `ci.WOODPECKER` | ✅ |
|
||||
|
||||
## API
|
||||
|
||||
### `ci.name`
|
||||
|
||||
Returns a string containing name of the CI server the code is running on.
|
||||
If CI server is not detected, it returns `null`.
|
||||
|
||||
Don't depend on the value of this string not to change for a specific
|
||||
vendor. If you find your self writing `ci.name === 'Travis CI'`, you
|
||||
most likely want to use `ci.TRAVIS` instead.
|
||||
|
||||
### `ci.isCI`
|
||||
|
||||
Returns a boolean. Will be `true` if the code is running on a CI server,
|
||||
otherwise `false`.
|
||||
|
||||
Some CI servers not listed here might still trigger the `ci.isCI`
|
||||
boolean to be set to `true` if they use certain vendor neutral
|
||||
environment variables. In those cases `ci.name` will be `null` and no
|
||||
vendor specific boolean will be set to `true`.
|
||||
|
||||
### `ci.isPR`
|
||||
|
||||
Returns a boolean if PR detection is supported for the current CI server. Will
|
||||
be `true` if a PR is being tested, otherwise `false`. If PR detection is
|
||||
not supported for the current CI server, the value will be `null`.
|
||||
|
||||
### `ci.<VENDOR-CONSTANT>`
|
||||
|
||||
A vendor specific boolean constant is exposed for each support CI
|
||||
vendor. A constant will be `true` if the code is determined to run on
|
||||
the given CI server, otherwise `false`.
|
||||
|
||||
Examples of vendor constants are `ci.TRAVIS` or `ci.APPVEYOR`. For a
|
||||
complete list, see the support table above.
|
||||
|
||||
## Disable CI Checks
|
||||
|
||||
To disable CI checks and vendor assertion, set the environment variable
|
||||
|
||||
```
|
||||
CI=false
|
||||
```
|
||||
|
||||
## Ports
|
||||
|
||||
ci-info has been ported to the following languages
|
||||
|
||||
| Language | Repository |
|
||||
|----------|------------|
|
||||
| Go | https://github.com/hofstadter-io/cinful |
|
||||
| Rust | https://github.com/sagiegurari/ci_info |
|
||||
| Kotlin | https://github.com/cloudflightio/ci-info |
|
||||
|
||||
## License
|
||||
|
||||
[MIT](LICENSE)
|
||||
87
backend/node_modules/jest-util/node_modules/ci-info/index.d.ts
generated
vendored
Normal file
87
backend/node_modules/jest-util/node_modules/ci-info/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
// This file is generated at pre-commit by running `node create-typings.js`.
|
||||
|
||||
/**
|
||||
* Returns a boolean. Will be `true` if the code is running on a CI server,
|
||||
* otherwise `false`.
|
||||
*
|
||||
* Some CI servers not listed here might still trigger the `ci.isCI`
|
||||
* boolean to be set to `true` if they use certain vendor neutral environment
|
||||
* variables. In those cases `ci.name` will be `null` and no vendor specific
|
||||
* boolean will be set to `true`.
|
||||
*/
|
||||
export const isCI: boolean;
|
||||
/**
|
||||
* Returns a boolean if PR detection is supported for the current CI server.
|
||||
* Will be `true` if a PR is being tested, otherwise `false`. If PR detection is
|
||||
* not supported for the current CI server, the value will be `null`.
|
||||
*/
|
||||
export const isPR: boolean | null;
|
||||
/**
|
||||
* Returns a string containing name of the CI server the code is running on. If
|
||||
* CI server is not detected, it returns `null`.
|
||||
*
|
||||
* Don't depend on the value of this string not to change for a specific vendor.
|
||||
* If you find your self writing `ci.name === 'Travis CI'`, you most likely want
|
||||
* to use `ci.TRAVIS` instead.
|
||||
*/
|
||||
export const name: string | null;
|
||||
/**
|
||||
* Returns a string containing the identifier of the CI server the code is running on. If
|
||||
* CI server is not detected, it returns `null`.
|
||||
*/
|
||||
export const id: string | null;
|
||||
|
||||
/* Vendor constants */
|
||||
export const AGOLA: boolean;
|
||||
export const ALPIC: boolean;
|
||||
export const APPCIRCLE: boolean;
|
||||
export const APPVEYOR: boolean;
|
||||
export const CODEBUILD: boolean;
|
||||
export const AZURE_PIPELINES: boolean;
|
||||
export const BAMBOO: boolean;
|
||||
export const BITBUCKET: boolean;
|
||||
export const BITRISE: boolean;
|
||||
export const BUDDY: boolean;
|
||||
export const BUILDKITE: boolean;
|
||||
export const CIRCLE: boolean;
|
||||
export const CIRRUS: boolean;
|
||||
export const CLOUDFLARE_PAGES: boolean;
|
||||
export const CLOUDFLARE_WORKERS: boolean;
|
||||
export const CODEFRESH: boolean;
|
||||
export const CODEMAGIC: boolean;
|
||||
export const CODESHIP: boolean;
|
||||
export const DRONE: boolean;
|
||||
export const DSARI: boolean;
|
||||
export const EARTHLY: boolean;
|
||||
export const EAS: boolean;
|
||||
export const GERRIT: boolean;
|
||||
export const GITEA_ACTIONS: boolean;
|
||||
export const GITHUB_ACTIONS: boolean;
|
||||
export const GITLAB: boolean;
|
||||
export const GOCD: boolean;
|
||||
export const GOOGLE_CLOUD_BUILD: boolean;
|
||||
export const HARNESS: boolean;
|
||||
export const HEROKU: boolean;
|
||||
export const HUDSON: boolean;
|
||||
export const JENKINS: boolean;
|
||||
export const LAYERCI: boolean;
|
||||
export const MAGNUM: boolean;
|
||||
export const NETLIFY: boolean;
|
||||
export const NEVERCODE: boolean;
|
||||
export const PROW: boolean;
|
||||
export const RELEASEHUB: boolean;
|
||||
export const RENDER: boolean;
|
||||
export const SAIL: boolean;
|
||||
export const SCREWDRIVER: boolean;
|
||||
export const SEMAPHORE: boolean;
|
||||
export const SOURCEHUT: boolean;
|
||||
export const STRIDER: boolean;
|
||||
export const TASKCLUSTER: boolean;
|
||||
export const TEAMCITY: boolean;
|
||||
export const TRAVIS: boolean;
|
||||
export const VELA: boolean;
|
||||
export const VERCEL: boolean;
|
||||
export const APPCENTER: boolean;
|
||||
export const WOODPECKER: boolean;
|
||||
export const XCODE_CLOUD: boolean;
|
||||
export const XCODE_SERVER: boolean;
|
||||
104
backend/node_modules/jest-util/node_modules/ci-info/index.js
generated
vendored
Normal file
104
backend/node_modules/jest-util/node_modules/ci-info/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
'use strict'
|
||||
|
||||
const vendors = require('./vendors.json')
|
||||
|
||||
const env = process.env
|
||||
|
||||
// Used for testing only
|
||||
Object.defineProperty(exports, '_vendors', {
|
||||
value: vendors.map(function (v) {
|
||||
return v.constant
|
||||
})
|
||||
})
|
||||
|
||||
exports.name = null
|
||||
exports.isPR = null
|
||||
exports.id = null
|
||||
|
||||
if (env.CI !== 'false') {
|
||||
vendors.forEach(function (vendor) {
|
||||
const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env]
|
||||
const isCI = envs.every(function (obj) {
|
||||
return checkEnv(obj)
|
||||
})
|
||||
|
||||
exports[vendor.constant] = isCI
|
||||
|
||||
if (!isCI) {
|
||||
return
|
||||
}
|
||||
|
||||
exports.name = vendor.name
|
||||
exports.isPR = checkPR(vendor)
|
||||
exports.id = vendor.constant
|
||||
})
|
||||
}
|
||||
|
||||
exports.isCI = !!(
|
||||
env.CI !== 'false' && // Bypass all checks if CI env is explicitly set to 'false'
|
||||
(env.BUILD_ID || // Jenkins, Cloudbees
|
||||
env.BUILD_NUMBER || // Jenkins, TeamCity
|
||||
env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari, Cloudflare Pages/Workers
|
||||
env.CI_APP_ID || // Appflow
|
||||
env.CI_BUILD_ID || // Appflow
|
||||
env.CI_BUILD_NUMBER || // Appflow
|
||||
env.CI_NAME || // Codeship and others
|
||||
env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
|
||||
env.RUN_ID || // TaskCluster, dsari
|
||||
exports.name ||
|
||||
false)
|
||||
)
|
||||
|
||||
function checkEnv (obj) {
|
||||
// "env": "CIRRUS"
|
||||
if (typeof obj === 'string') return !!env[obj]
|
||||
|
||||
// "env": { "env": "NODE", "includes": "/app/.heroku/node/bin/node" }
|
||||
if ('env' in obj) {
|
||||
// Currently there are no other types, uncomment when there are
|
||||
// if ('includes' in obj) {
|
||||
return env[obj.env] && env[obj.env].includes(obj.includes)
|
||||
// }
|
||||
}
|
||||
|
||||
if ('any' in obj) {
|
||||
return obj.any.some(function (k) {
|
||||
return !!env[k]
|
||||
})
|
||||
}
|
||||
|
||||
return Object.keys(obj).every(function (k) {
|
||||
return env[k] === obj[k]
|
||||
})
|
||||
}
|
||||
|
||||
function checkPR (vendor) {
|
||||
switch (typeof vendor.pr) {
|
||||
case 'string':
|
||||
// "pr": "CIRRUS_PR"
|
||||
return !!env[vendor.pr]
|
||||
case 'object':
|
||||
if ('env' in vendor.pr) {
|
||||
if ('any' in vendor.pr) {
|
||||
// "pr": { "env": "CODEBUILD_WEBHOOK_EVENT", "any": ["PULL_REQUEST_CREATED", "PULL_REQUEST_UPDATED"] }
|
||||
return vendor.pr.any.some(function (key) {
|
||||
return env[vendor.pr.env] === key
|
||||
})
|
||||
} else {
|
||||
// "pr": { "env": "BUILDKITE_PULL_REQUEST", "ne": "false" }
|
||||
return vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne
|
||||
}
|
||||
} else if ('any' in vendor.pr) {
|
||||
// "pr": { "any": ["ghprbPullId", "CHANGE_ID"] }
|
||||
return vendor.pr.any.some(function (key) {
|
||||
return !!env[key]
|
||||
})
|
||||
} else {
|
||||
// "pr": { "DRONE_BUILD_EVENT": "pull_request" }
|
||||
return checkEnv(vendor.pr)
|
||||
}
|
||||
default:
|
||||
// PR detection not supported for this vendor
|
||||
return null
|
||||
}
|
||||
}
|
||||
54
backend/node_modules/jest-util/node_modules/ci-info/package.json
generated
vendored
Normal file
54
backend/node_modules/jest-util/node_modules/ci-info/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
"name": "ci-info",
|
||||
"version": "4.4.0",
|
||||
"description": "Get details about the current Continuous Integration environment",
|
||||
"main": "index.js",
|
||||
"typings": "index.d.ts",
|
||||
"type": "commonjs",
|
||||
"author": "Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)",
|
||||
"license": "MIT",
|
||||
"repository": "github:watson/ci-info",
|
||||
"bugs": "https://github.com/watson/ci-info/issues",
|
||||
"homepage": "https://github.com/watson/ci-info",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Sibiraj",
|
||||
"url": "https://github.com/sibiraj-s"
|
||||
}
|
||||
],
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
"url": "https://github.com/sponsors/sibiraj-s"
|
||||
}
|
||||
],
|
||||
"keywords": [
|
||||
"ci",
|
||||
"continuous",
|
||||
"integration",
|
||||
"test",
|
||||
"detect"
|
||||
],
|
||||
"files": [
|
||||
"vendors.json",
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"CHANGELOG.md"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "node sort-vendors.js && node create-typings.js",
|
||||
"lint:fix": "standard --fix",
|
||||
"test": "standard && node test.js",
|
||||
"prepare": "husky install || true"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clear-module": "^4.1.2",
|
||||
"husky": "^9.1.7",
|
||||
"publint": "^0.3.12",
|
||||
"standard": "^17.1.2",
|
||||
"tape": "^5.9.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
}
|
||||
363
backend/node_modules/jest-util/node_modules/ci-info/vendors.json
generated
vendored
Normal file
363
backend/node_modules/jest-util/node_modules/ci-info/vendors.json
generated
vendored
Normal file
|
|
@ -0,0 +1,363 @@
|
|||
[
|
||||
{
|
||||
"name": "Agola CI",
|
||||
"constant": "AGOLA",
|
||||
"env": "AGOLA_GIT_REF",
|
||||
"pr": "AGOLA_PULL_REQUEST_ID"
|
||||
},
|
||||
{
|
||||
"name": "Alpic",
|
||||
"constant": "ALPIC",
|
||||
"env": "ALPIC_HOST"
|
||||
},
|
||||
{
|
||||
"name": "Appcircle",
|
||||
"constant": "APPCIRCLE",
|
||||
"env": "AC_APPCIRCLE",
|
||||
"pr": {
|
||||
"env": "AC_GIT_PR",
|
||||
"ne": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "AppVeyor",
|
||||
"constant": "APPVEYOR",
|
||||
"env": "APPVEYOR",
|
||||
"pr": "APPVEYOR_PULL_REQUEST_NUMBER"
|
||||
},
|
||||
{
|
||||
"name": "AWS CodeBuild",
|
||||
"constant": "CODEBUILD",
|
||||
"env": "CODEBUILD_BUILD_ARN",
|
||||
"pr": {
|
||||
"env": "CODEBUILD_WEBHOOK_EVENT",
|
||||
"any": [
|
||||
"PULL_REQUEST_CREATED",
|
||||
"PULL_REQUEST_UPDATED",
|
||||
"PULL_REQUEST_REOPENED"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Azure Pipelines",
|
||||
"constant": "AZURE_PIPELINES",
|
||||
"env": "TF_BUILD",
|
||||
"pr": {
|
||||
"BUILD_REASON": "PullRequest"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Bamboo",
|
||||
"constant": "BAMBOO",
|
||||
"env": "bamboo_planKey"
|
||||
},
|
||||
{
|
||||
"name": "Bitbucket Pipelines",
|
||||
"constant": "BITBUCKET",
|
||||
"env": "BITBUCKET_COMMIT",
|
||||
"pr": "BITBUCKET_PR_ID"
|
||||
},
|
||||
{
|
||||
"name": "Bitrise",
|
||||
"constant": "BITRISE",
|
||||
"env": "BITRISE_IO",
|
||||
"pr": "BITRISE_PULL_REQUEST"
|
||||
},
|
||||
{
|
||||
"name": "Buddy",
|
||||
"constant": "BUDDY",
|
||||
"env": "BUDDY_WORKSPACE_ID",
|
||||
"pr": "BUDDY_EXECUTION_PULL_REQUEST_ID"
|
||||
},
|
||||
{
|
||||
"name": "Buildkite",
|
||||
"constant": "BUILDKITE",
|
||||
"env": "BUILDKITE",
|
||||
"pr": {
|
||||
"env": "BUILDKITE_PULL_REQUEST",
|
||||
"ne": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "CircleCI",
|
||||
"constant": "CIRCLE",
|
||||
"env": "CIRCLECI",
|
||||
"pr": "CIRCLE_PULL_REQUEST"
|
||||
},
|
||||
{
|
||||
"name": "Cirrus CI",
|
||||
"constant": "CIRRUS",
|
||||
"env": "CIRRUS_CI",
|
||||
"pr": "CIRRUS_PR"
|
||||
},
|
||||
{
|
||||
"name": "Cloudflare Pages",
|
||||
"constant": "CLOUDFLARE_PAGES",
|
||||
"env": "CF_PAGES"
|
||||
},
|
||||
{
|
||||
"name": "Cloudflare Workers",
|
||||
"constant": "CLOUDFLARE_WORKERS",
|
||||
"env": "WORKERS_CI"
|
||||
},
|
||||
{
|
||||
"name": "Codefresh",
|
||||
"constant": "CODEFRESH",
|
||||
"env": "CF_BUILD_ID",
|
||||
"pr": {
|
||||
"any": [
|
||||
"CF_PULL_REQUEST_NUMBER",
|
||||
"CF_PULL_REQUEST_ID"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Codemagic",
|
||||
"constant": "CODEMAGIC",
|
||||
"env": "CM_BUILD_ID",
|
||||
"pr": "CM_PULL_REQUEST"
|
||||
},
|
||||
{
|
||||
"name": "Codeship",
|
||||
"constant": "CODESHIP",
|
||||
"env": {
|
||||
"CI_NAME": "codeship"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Drone",
|
||||
"constant": "DRONE",
|
||||
"env": "DRONE",
|
||||
"pr": {
|
||||
"DRONE_BUILD_EVENT": "pull_request"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "dsari",
|
||||
"constant": "DSARI",
|
||||
"env": "DSARI"
|
||||
},
|
||||
{
|
||||
"name": "Earthly",
|
||||
"constant": "EARTHLY",
|
||||
"env": "EARTHLY_CI"
|
||||
},
|
||||
{
|
||||
"name": "Expo Application Services",
|
||||
"constant": "EAS",
|
||||
"env": "EAS_BUILD"
|
||||
},
|
||||
{
|
||||
"name": "Gerrit",
|
||||
"constant": "GERRIT",
|
||||
"env": "GERRIT_PROJECT"
|
||||
},
|
||||
{
|
||||
"name": "Gitea Actions",
|
||||
"constant": "GITEA_ACTIONS",
|
||||
"env": "GITEA_ACTIONS"
|
||||
},
|
||||
{
|
||||
"name": "GitHub Actions",
|
||||
"constant": "GITHUB_ACTIONS",
|
||||
"env": "GITHUB_ACTIONS",
|
||||
"pr": {
|
||||
"GITHUB_EVENT_NAME": "pull_request"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "GitLab CI",
|
||||
"constant": "GITLAB",
|
||||
"env": "GITLAB_CI",
|
||||
"pr": "CI_MERGE_REQUEST_ID"
|
||||
},
|
||||
{
|
||||
"name": "GoCD",
|
||||
"constant": "GOCD",
|
||||
"env": "GO_PIPELINE_LABEL"
|
||||
},
|
||||
{
|
||||
"name": "Google Cloud Build",
|
||||
"constant": "GOOGLE_CLOUD_BUILD",
|
||||
"env": "BUILDER_OUTPUT"
|
||||
},
|
||||
{
|
||||
"name": "Harness CI",
|
||||
"constant": "HARNESS",
|
||||
"env": "HARNESS_BUILD_ID"
|
||||
},
|
||||
{
|
||||
"name": "Heroku",
|
||||
"constant": "HEROKU",
|
||||
"env": {
|
||||
"env": "NODE",
|
||||
"includes": "/app/.heroku/node/bin/node"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Hudson",
|
||||
"constant": "HUDSON",
|
||||
"env": "HUDSON_URL"
|
||||
},
|
||||
{
|
||||
"name": "Jenkins",
|
||||
"constant": "JENKINS",
|
||||
"env": [
|
||||
"JENKINS_URL",
|
||||
"BUILD_ID"
|
||||
],
|
||||
"pr": {
|
||||
"any": [
|
||||
"ghprbPullId",
|
||||
"CHANGE_ID"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "LayerCI",
|
||||
"constant": "LAYERCI",
|
||||
"env": "LAYERCI",
|
||||
"pr": "LAYERCI_PULL_REQUEST"
|
||||
},
|
||||
{
|
||||
"name": "Magnum CI",
|
||||
"constant": "MAGNUM",
|
||||
"env": "MAGNUM"
|
||||
},
|
||||
{
|
||||
"name": "Netlify CI",
|
||||
"constant": "NETLIFY",
|
||||
"env": "NETLIFY",
|
||||
"pr": {
|
||||
"env": "PULL_REQUEST",
|
||||
"ne": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Nevercode",
|
||||
"constant": "NEVERCODE",
|
||||
"env": "NEVERCODE",
|
||||
"pr": {
|
||||
"env": "NEVERCODE_PULL_REQUEST",
|
||||
"ne": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Prow",
|
||||
"constant": "PROW",
|
||||
"env": "PROW_JOB_ID"
|
||||
},
|
||||
{
|
||||
"name": "ReleaseHub",
|
||||
"constant": "RELEASEHUB",
|
||||
"env": "RELEASE_BUILD_ID"
|
||||
},
|
||||
{
|
||||
"name": "Render",
|
||||
"constant": "RENDER",
|
||||
"env": "RENDER",
|
||||
"pr": {
|
||||
"IS_PULL_REQUEST": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Sail CI",
|
||||
"constant": "SAIL",
|
||||
"env": "SAILCI",
|
||||
"pr": "SAIL_PULL_REQUEST_NUMBER"
|
||||
},
|
||||
{
|
||||
"name": "Screwdriver",
|
||||
"constant": "SCREWDRIVER",
|
||||
"env": "SCREWDRIVER",
|
||||
"pr": {
|
||||
"env": "SD_PULL_REQUEST",
|
||||
"ne": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Semaphore",
|
||||
"constant": "SEMAPHORE",
|
||||
"env": "SEMAPHORE",
|
||||
"pr": "PULL_REQUEST_NUMBER"
|
||||
},
|
||||
{
|
||||
"name": "Sourcehut",
|
||||
"constant": "SOURCEHUT",
|
||||
"env": {
|
||||
"CI_NAME": "sourcehut"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Strider CD",
|
||||
"constant": "STRIDER",
|
||||
"env": "STRIDER"
|
||||
},
|
||||
{
|
||||
"name": "TaskCluster",
|
||||
"constant": "TASKCLUSTER",
|
||||
"env": [
|
||||
"TASK_ID",
|
||||
"RUN_ID"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TeamCity",
|
||||
"constant": "TEAMCITY",
|
||||
"env": "TEAMCITY_VERSION"
|
||||
},
|
||||
{
|
||||
"name": "Travis CI",
|
||||
"constant": "TRAVIS",
|
||||
"env": "TRAVIS",
|
||||
"pr": {
|
||||
"env": "TRAVIS_PULL_REQUEST",
|
||||
"ne": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Vela",
|
||||
"constant": "VELA",
|
||||
"env": "VELA",
|
||||
"pr": {
|
||||
"VELA_PULL_REQUEST": "1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Vercel",
|
||||
"constant": "VERCEL",
|
||||
"env": {
|
||||
"any": [
|
||||
"NOW_BUILDER",
|
||||
"VERCEL"
|
||||
]
|
||||
},
|
||||
"pr": "VERCEL_GIT_PULL_REQUEST_ID"
|
||||
},
|
||||
{
|
||||
"name": "Visual Studio App Center",
|
||||
"constant": "APPCENTER",
|
||||
"env": "APPCENTER_BUILD_ID"
|
||||
},
|
||||
{
|
||||
"name": "Woodpecker",
|
||||
"constant": "WOODPECKER",
|
||||
"env": {
|
||||
"CI": "woodpecker"
|
||||
},
|
||||
"pr": {
|
||||
"CI_BUILD_EVENT": "pull_request"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Xcode Cloud",
|
||||
"constant": "XCODE_CLOUD",
|
||||
"env": "CI_XCODE_PROJECT",
|
||||
"pr": "CI_PULL_REQUEST_NUMBER"
|
||||
},
|
||||
{
|
||||
"name": "Xcode Server",
|
||||
"constant": "XCODE_SERVER",
|
||||
"env": "XCS"
|
||||
}
|
||||
]
|
||||
43
backend/node_modules/jest-util/package.json
generated
vendored
Normal file
43
backend/node_modules/jest-util/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"name": "jest-util",
|
||||
"version": "30.3.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jestjs/jest.git",
|
||||
"directory": "packages/jest-util"
|
||||
},
|
||||
"license": "MIT",
|
||||
"main": "./build/index.js",
|
||||
"types": "./build/index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./build/index.d.ts",
|
||||
"require": "./build/index.js",
|
||||
"import": "./build/index.mjs",
|
||||
"default": "./build/index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@jest/types": "30.3.0",
|
||||
"@types/node": "*",
|
||||
"chalk": "^4.1.2",
|
||||
"ci-info": "^4.2.0",
|
||||
"graceful-fs": "^4.2.11",
|
||||
"picomatch": "^4.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/graceful-fs": "^4.1.9",
|
||||
"@types/micromatch": "^4.0.10",
|
||||
"@types/picomatch": "^4.0.0",
|
||||
"lodash": "^4.17.19",
|
||||
"micromatch": "^4.0.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "efb59c2e81083f8dc941f20d6d20a3af2dc8d068"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue