├── .npmignore
├── demo
├── src
│ ├── H264NALDecoder.worker.js
│ ├── ShaderCompiler.js
│ ├── ShaderProgram.js
│ ├── ShaderSources.js
│ ├── Texture.js
│ ├── index.js
│ └── YUVSurfaceShader.js
├── dist
│ ├── h264samples
│ │ ├── 0
│ │ ├── 1
│ │ ├── 2
│ │ ├── 3
│ │ ├── 4
│ │ ├── 5
│ │ ├── 6
│ │ ├── 7
│ │ ├── 8
│ │ ├── 9
│ │ ├── 10
│ │ ├── 11
│ │ ├── 12
│ │ ├── 13
│ │ ├── 14
│ │ ├── 15
│ │ ├── 16
│ │ ├── 17
│ │ ├── 18
│ │ ├── 19
│ │ ├── 20
│ │ ├── 21
│ │ ├── 22
│ │ ├── 23
│ │ ├── 24
│ │ ├── 25
│ │ ├── 26
│ │ ├── 27
│ │ ├── 28
│ │ ├── 29
│ │ ├── 30
│ │ ├── 31
│ │ ├── 32
│ │ ├── 33
│ │ ├── 34
│ │ ├── 35
│ │ ├── 36
│ │ ├── 37
│ │ ├── 38
│ │ ├── 39
│ │ ├── 40
│ │ ├── 41
│ │ ├── 42
│ │ ├── 43
│ │ ├── 44
│ │ ├── 45
│ │ ├── 46
│ │ ├── 47
│ │ ├── 48
│ │ ├── 49
│ │ ├── 50
│ │ ├── 51
│ │ ├── 52
│ │ ├── 53
│ │ ├── 54
│ │ ├── 55
│ │ ├── 56
│ │ ├── 57
│ │ ├── 58
│ │ ├── 59
│ │ └── 60
│ └── index.html
├── README.md
├── package.json
└── webpack.config.js
├── .prettierrc.js
├── src
├── index.ts
├── H264Worker.ts
└── H264Decoder.ts
├── README.md
├── native
├── decoder.h
└── decoder.c
├── tsconfig.json
├── package.json
├── .eslintrc.js
├── .gitignore
├── LICENSE
└── yarn.lock
/.npmignore:
--------------------------------------------------------------------------------
1 | dist/decoder.bc
2 | dist/include
3 | dist/lib
4 | dist/share
--------------------------------------------------------------------------------
/demo/src/H264NALDecoder.worker.js:
--------------------------------------------------------------------------------
1 | import { init } from '../../dist/'
2 |
3 | init()
4 |
--------------------------------------------------------------------------------
/demo/dist/h264samples/0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/0
--------------------------------------------------------------------------------
/demo/dist/h264samples/1:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/1
--------------------------------------------------------------------------------
/demo/dist/h264samples/10:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/10
--------------------------------------------------------------------------------
/demo/dist/h264samples/11:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/11
--------------------------------------------------------------------------------
/demo/dist/h264samples/12:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/12
--------------------------------------------------------------------------------
/demo/dist/h264samples/13:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/13
--------------------------------------------------------------------------------
/demo/dist/h264samples/14:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/14
--------------------------------------------------------------------------------
/demo/dist/h264samples/15:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/15
--------------------------------------------------------------------------------
/demo/dist/h264samples/16:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/16
--------------------------------------------------------------------------------
/demo/dist/h264samples/17:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/17
--------------------------------------------------------------------------------
/demo/dist/h264samples/18:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/18
--------------------------------------------------------------------------------
/demo/dist/h264samples/19:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/19
--------------------------------------------------------------------------------
/demo/dist/h264samples/2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/2
--------------------------------------------------------------------------------
/demo/dist/h264samples/20:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/20
--------------------------------------------------------------------------------
/demo/dist/h264samples/21:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/21
--------------------------------------------------------------------------------
/demo/dist/h264samples/22:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/22
--------------------------------------------------------------------------------
/demo/dist/h264samples/23:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/23
--------------------------------------------------------------------------------
/demo/dist/h264samples/24:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/24
--------------------------------------------------------------------------------
/demo/dist/h264samples/25:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/25
--------------------------------------------------------------------------------
/demo/dist/h264samples/26:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/26
--------------------------------------------------------------------------------
/demo/dist/h264samples/27:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/27
--------------------------------------------------------------------------------
/demo/dist/h264samples/28:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/28
--------------------------------------------------------------------------------
/demo/dist/h264samples/29:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/29
--------------------------------------------------------------------------------
/demo/dist/h264samples/3:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/3
--------------------------------------------------------------------------------
/demo/dist/h264samples/30:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/30
--------------------------------------------------------------------------------
/demo/dist/h264samples/31:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/31
--------------------------------------------------------------------------------
/demo/dist/h264samples/32:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/32
--------------------------------------------------------------------------------
/demo/dist/h264samples/33:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/33
--------------------------------------------------------------------------------
/demo/dist/h264samples/34:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/34
--------------------------------------------------------------------------------
/demo/dist/h264samples/35:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/35
--------------------------------------------------------------------------------
/demo/dist/h264samples/36:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/36
--------------------------------------------------------------------------------
/demo/dist/h264samples/37:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/37
--------------------------------------------------------------------------------
/demo/dist/h264samples/38:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/38
--------------------------------------------------------------------------------
/demo/dist/h264samples/39:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/39
--------------------------------------------------------------------------------
/demo/dist/h264samples/4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/4
--------------------------------------------------------------------------------
/demo/dist/h264samples/40:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/40
--------------------------------------------------------------------------------
/demo/dist/h264samples/41:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/41
--------------------------------------------------------------------------------
/demo/dist/h264samples/42:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/42
--------------------------------------------------------------------------------
/demo/dist/h264samples/43:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/43
--------------------------------------------------------------------------------
/demo/dist/h264samples/44:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/44
--------------------------------------------------------------------------------
/demo/dist/h264samples/45:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/45
--------------------------------------------------------------------------------
/demo/dist/h264samples/46:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/46
--------------------------------------------------------------------------------
/demo/dist/h264samples/47:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/47
--------------------------------------------------------------------------------
/demo/dist/h264samples/48:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/48
--------------------------------------------------------------------------------
/demo/dist/h264samples/49:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/49
--------------------------------------------------------------------------------
/demo/dist/h264samples/5:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/5
--------------------------------------------------------------------------------
/demo/dist/h264samples/50:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/50
--------------------------------------------------------------------------------
/demo/dist/h264samples/51:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/51
--------------------------------------------------------------------------------
/demo/dist/h264samples/52:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/52
--------------------------------------------------------------------------------
/demo/dist/h264samples/53:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/53
--------------------------------------------------------------------------------
/demo/dist/h264samples/54:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/54
--------------------------------------------------------------------------------
/demo/dist/h264samples/55:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/55
--------------------------------------------------------------------------------
/demo/dist/h264samples/56:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/56
--------------------------------------------------------------------------------
/demo/dist/h264samples/57:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/57
--------------------------------------------------------------------------------
/demo/dist/h264samples/58:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/58
--------------------------------------------------------------------------------
/demo/dist/h264samples/59:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/59
--------------------------------------------------------------------------------
/demo/dist/h264samples/6:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/6
--------------------------------------------------------------------------------
/demo/dist/h264samples/60:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/60
--------------------------------------------------------------------------------
/demo/dist/h264samples/7:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/7
--------------------------------------------------------------------------------
/demo/dist/h264samples/8:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/8
--------------------------------------------------------------------------------
/demo/dist/h264samples/9:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/udevbe/ffmpeg-h264-wasm/HEAD/demo/dist/h264samples/9
--------------------------------------------------------------------------------
/.prettierrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | semi: false,
3 | trailingComma: 'all',
4 | singleQuote: true,
5 | printWidth: 120,
6 | }
7 |
--------------------------------------------------------------------------------
/src/index.ts:
--------------------------------------------------------------------------------
1 | export { init } from './H264Worker'
2 | export type FfmpegH264Frame = {
3 | ptr: number
4 | yPlane: Uint8Array
5 | uPlane: Uint8Array
6 | vPlane: Uint8Array
7 | stride: number
8 | }
9 |
--------------------------------------------------------------------------------
/demo/dist/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | ffmpeg-h264-wasm demo
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Moved to [https://github.com/udevbe/greenfield](https://github.com/udevbe/greenfield) monorepo
2 |
3 | Port of ffmpeg's h264 decoder, all other functionality is removed. After decoding you get I420 planes back, see demo for a full working example.
4 |
5 | - `yarn install`
6 | - `yarn build-wasm`
7 | - `yarn build`
8 |
--------------------------------------------------------------------------------
/demo/README.md:
--------------------------------------------------------------------------------
1 | Make sure to build the ffmpeg-h264-wasm library first, next:
2 |
3 | - `yarn install`
4 | - `yarn build`
5 | - `yarn start`
6 |
7 | Server runs on `http://localhost:8080/dist`. Only the first frame of the test video is displayed as the decoder expects
8 | individual access units (frames) on each decode operation.
9 |
--------------------------------------------------------------------------------
/demo/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "demo",
3 | "version": "1.0.0",
4 | "description": "",
5 | "main": "index.js",
6 | "scripts": {
7 | "build": "webpack --stats-children",
8 | "start": "webpack serve"
9 | },
10 | "keywords": [],
11 | "author": "",
12 | "license": "ISC",
13 | "dependencies": {},
14 | "devDependencies": {
15 | "file-loader": "^6.2.0",
16 | "webpack": "^5.75.0",
17 | "webpack-cli": "^5.0.1",
18 | "webpack-dev-server": "^4.11.1",
19 | "worker-loader": "^3.0.8"
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/native/decoder.h:
--------------------------------------------------------------------------------
1 | #ifndef FFMPEG_H264_WASM_DECODER_H
2 | #define FFMPEG_H264_WASM_DECODER_H
3 |
4 | #include "libavcodec/avcodec.h"
5 |
6 | AVCodecContext *
7 | create_codec_context();
8 |
9 | void
10 | destroy_codec_context(AVCodecContext *ctx);
11 |
12 | void
13 | close_frame(AVFrame *frame);
14 |
15 | AVFrame *
16 | decode(AVCodecContext *ctx,
17 | uint8_t *data_in,
18 | int data_in_size,
19 | uint8_t **y_plane_out,
20 | uint8_t **u_plane_out,
21 | uint8_t **v_plane_out,
22 | int *width_out,
23 | int *height_out,
24 | int *stride_out
25 | );
26 |
27 | #endif //FFMPEG_H264_WASM_DECODER_H
28 |
--------------------------------------------------------------------------------
/demo/webpack.config.js:
--------------------------------------------------------------------------------
1 | const path = require('path')
2 |
3 | module.exports = {
4 | entry: './src/index.js',
5 | output: {
6 | filename: 'main.js',
7 | path: path.resolve(__dirname, 'dist'),
8 | },
9 | mode: "development",
10 | devtool: 'eval-cheap-module-source-map',
11 | module: {
12 | rules: [
13 | {
14 | test: /\.worker\.js$/,
15 | use: {loader: 'worker-loader'}
16 | },
17 | ]
18 | },
19 | devServer: {
20 | static: "./dist",
21 | headers: {
22 | "Cross-Origin-Embedder-Policy": "require-corp",
23 | "Cross-Origin-Opener-Policy": "same-origin"
24 | },
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "moduleResolution": "node",
4 | "target": "ES2017",
5 | "module": "ES2020",
6 | "lib": [
7 | "es2015",
8 | "es2016",
9 | "es2017",
10 | "es2019",
11 | "esnext",
12 | "WebWorker"
13 | ],
14 | "allowJs": true,
15 | "rootDir": "src",
16 | "strict": true,
17 | "inlineSourceMap": true,
18 | "inlineSources": true,
19 | "declaration": true,
20 | "allowSyntheticDefaultImports": true,
21 | "experimentalDecorators": true,
22 | "emitDecoratorMetadata": true,
23 | "declarationDir": "types",
24 | "outDir": "dist"
25 | },
26 | "include": [
27 | "src"
28 | ],
29 | "exclude": [
30 | "node_modules",
31 | ".eslintrc.js",
32 | ".prettierrc.js",
33 | "jest.config.js",
34 | "**/*.spec.ts"
35 | ]
36 | }
37 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "ffmpegh264",
3 | "version": "1.0.0-alpha.1",
4 | "description": "FFMPEG web assembly h264 decoder",
5 | "main": "dist/index.js",
6 | "typings": "types/index.d.ts",
7 | "files": [
8 | "dist",
9 | "types"
10 | ],
11 | "scripts": {
12 | "build-wasm": "bash build_wasm.sh",
13 | "build": "tsc"
14 | },
15 | "dependencies": {},
16 | "devDependencies": {
17 | "@typescript-eslint/eslint-plugin": "^5.47.1",
18 | "@typescript-eslint/parser": "^5.47.1",
19 | "eslint": "8.31.0",
20 | "eslint-config-prettier": "^8.5.0",
21 | "eslint-plugin-prettier": "^4.2.1",
22 | "prettier": "^2.8.1",
23 | "typescript": "^4.9.4"
24 | },
25 | "author": "Erik De Rijcke",
26 | "homepage": "https://github.com/udevbe/tinyh264",
27 | "license": "Apache-2.0",
28 | "repository": "https://github.com/udevbe/tinyh264"
29 | }
30 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | parser: '@typescript-eslint/parser', // Specifies the ESLint parser
3 | parserOptions: {
4 | ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features
5 | sourceType: 'module', // Allows for the use of imports
6 | ecmaFeatures: {
7 | jsx: false,
8 | },
9 | },
10 | extends: [
11 | 'plugin:@typescript-eslint/recommended', // Uses the recommended rules from @typescript-eslint/eslint-plugin,
12 | 'plugin:prettier/recommended', // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
13 | ],
14 | rules: {
15 | // Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
16 | '@typescript-eslint/ban-ts-comment': 'warn',
17 | },
18 | ignorePatterns: ['libpixman.js', 'libxkbcommon.js'],
19 | }
20 |
--------------------------------------------------------------------------------
/demo/src/ShaderCompiler.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Represents a WebGL shader object and provides a mechanism to load shaders from HTML
3 | * script tags.
4 | */
5 |
6 | export default class ShaderCompiler {
7 | /**
8 | * @param {WebGLRenderingContext}gl
9 | * @param {{type: string, source: string}}script
10 | * @return {WebGLShader}
11 | */
12 | static compile (gl, script) {
13 | let shader
14 | // Now figure out what type of shader script we have, based on its MIME type.
15 | if (script.type === 'x-shader/x-fragment') {
16 | shader = gl.createShader(gl.FRAGMENT_SHADER)
17 | } else if (script.type === 'x-shader/x-vertex') {
18 | shader = gl.createShader(gl.VERTEX_SHADER)
19 | } else {
20 | throw new Error('Unknown shader type: ' + script.type)
21 | }
22 |
23 | // Send the source to the shader object.
24 | gl.shaderSource(shader, script.source)
25 |
26 | // Compile the shader program.
27 | gl.compileShader(shader)
28 |
29 | // See if it compiled successfully.
30 | if (!gl.getShaderParameter(shader, gl.COMPILE_STATUS)) {
31 | throw new Error('An error occurred compiling the shaders: ' + gl.getShaderInfoLog(shader))
32 | }
33 |
34 | return shader
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/demo/src/ShaderProgram.js:
--------------------------------------------------------------------------------
1 | export default class ShaderProgram {
2 | /**
3 | * @param {WebGLRenderingContext}gl
4 | */
5 | constructor (gl) {
6 | this.gl = gl
7 | this.program = this.gl.createProgram()
8 | }
9 |
10 | /**
11 | * @param {WebGLShader}shader
12 | */
13 | attach (shader) {
14 | this.gl.attachShader(this.program, shader)
15 | }
16 |
17 | link () {
18 | this.gl.linkProgram(this.program)
19 | // If creating the shader program failed, alert.
20 | if (!this.gl.getProgramParameter(this.program, this.gl.LINK_STATUS)) {
21 | console.error('Unable to initialize the shader program.')
22 | }
23 | }
24 |
25 | use () {
26 | this.gl.useProgram(this.program)
27 | }
28 |
29 | /**
30 | * @param {string}name
31 | * @return {number}
32 | */
33 | getAttributeLocation (name) {
34 | return this.gl.getAttribLocation(this.program, name)
35 | }
36 |
37 | /**
38 | * @param {string}name
39 | * @return {WebGLUniformLocation | null}
40 | */
41 | getUniformLocation (name) {
42 | return this.gl.getUniformLocation(this.program, name)
43 | }
44 |
45 | /**
46 | * @param {WebGLUniformLocation}uniformLocation
47 | * @param {Array}array
48 | */
49 | setUniformM4 (uniformLocation, array) {
50 | this.gl.uniformMatrix4fv(uniformLocation, false, array)
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/demo/src/ShaderSources.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @type {{type: string, source: string}}
3 | */
4 | export const vertexQuad = {
5 | type: 'x-shader/x-vertex',
6 | source: `
7 | precision mediump float;
8 |
9 | uniform mat4 u_projection;
10 | attribute vec2 a_position;
11 | attribute vec2 a_texCoord;
12 | varying vec2 v_texCoord;
13 | void main(){
14 | v_texCoord = a_texCoord;
15 | gl_Position = u_projection * vec4(a_position, 0.0, 1.0);
16 | }
17 | `
18 | }
19 |
20 | /**
21 | * @type {{type: string, source: string}}
22 | */
23 | export const fragmentYUV = {
24 | type: 'x-shader/x-fragment',
25 | source: `
26 | precision lowp float;
27 |
28 | varying vec2 v_texCoord;
29 |
30 | uniform sampler2D yTexture;
31 | uniform sampler2D uTexture;
32 | uniform sampler2D vTexture;
33 |
34 | const mat4 conversion = mat4(
35 | 1.0, 0.0, 1.402, -0.701,
36 | 1.0, -0.344, -0.714, 0.529,
37 | 1.0, 1.772, 0.0, -0.886,
38 | 0.0, 0.0, 0.0, 0.0
39 | );
40 |
41 | void main(void) {
42 | float yChannel = texture2D(yTexture, v_texCoord).x;
43 | float uChannel = texture2D(uTexture, v_texCoord).x;
44 | float vChannel = texture2D(vTexture, v_texCoord).x;
45 | vec4 channels = vec4(yChannel, uChannel, vChannel, 1.0);
46 | vec3 rgb = (channels * conversion).xyz;
47 | gl_FragColor = vec4(rgb, 1.0);
48 | }
49 | `
50 | }
51 |
--------------------------------------------------------------------------------
/native/decoder.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include "decoder.h"
3 | #include "libavcodec/avcodec.h"
4 | #include "libavutil/imgutils.h"
5 |
6 | AVCodecContext *
7 | create_codec_context() {
8 | const AVCodec *codec = avcodec_find_decoder(AV_CODEC_ID_H264);
9 | AVCodecContext *ctx = avcodec_alloc_context3(codec);
10 | if (avcodec_open2(ctx, codec, NULL) < 0) {
11 | avcodec_free_context(&ctx);
12 | return 0;
13 | }
14 |
15 | return ctx;
16 | }
17 |
18 | void
19 | destroy_codec_context(AVCodecContext *ctx) {
20 | avcodec_free_context(&ctx);
21 | }
22 |
23 | void
24 | close_frame(AVFrame *frame) {
25 | av_frame_unref(frame);
26 | av_frame_free(&frame);
27 | }
28 |
29 | AVFrame *
30 | decode(AVCodecContext *ctx,
31 | uint8_t *data_in,
32 | int data_in_size,
33 | uint8_t **y_plane_out,
34 | uint8_t **u_plane_out,
35 | uint8_t **v_plane_out,
36 | int *width_out,
37 | int *height_out,
38 | int *stride_out
39 | ) {
40 | AVFrame *frame = av_frame_alloc();
41 | AVPacket avpkt;
42 | int ret;
43 |
44 | avpkt.data = data_in;
45 | avpkt.size = data_in_size;
46 |
47 | ret = avcodec_send_packet(ctx, &avpkt);
48 | if (ret != 0) {
49 | // TODO handle error codes?
50 | return NULL;
51 | }
52 |
53 | ret = avcodec_receive_frame(ctx, frame);
54 | if (ret != 0) {
55 | // TODO handle error codes?
56 | return NULL;
57 | }
58 |
59 | *y_plane_out = frame->data[0];
60 | *u_plane_out = frame->data[1];
61 | *v_plane_out = frame->data[2];
62 | *stride_out = frame->linesize[0];
63 | *width_out = frame->width;
64 | *height_out = frame->height;
65 |
66 | return frame;
67 | }
68 |
--------------------------------------------------------------------------------
/src/H264Worker.ts:
--------------------------------------------------------------------------------
1 | import { H264Decoder } from './H264Decoder'
2 | import LibavH264 from './libav-h264'
3 |
4 | export type libavh264 = {
5 | readonly HEAPU8: Uint8Array
6 | _malloc(bytes: number): number
7 | _free(ptr: number): void
8 | _decode(
9 | codecContext: number,
10 | dataIn: number,
11 | dataInSize: number,
12 | yPlaneOut: number,
13 | uPlaneOut: number,
14 | vPlaneOut: number,
15 | widthOut: number,
16 | heightOut: number,
17 | strideOut: number,
18 | ): number
19 | getValue(address: number, addressType: string): number
20 | _create_codec_context(): number
21 | _destroy_codec_context(_codecContext: number): void
22 | _close_frame(framePtr: number): void
23 | }
24 |
25 | const h264Decoders: Record = {}
26 |
27 | export function init() {
28 | return LibavH264().then((LibavH264: libavh264) => {
29 | self.addEventListener(
30 | 'message',
31 | (e) => {
32 | // @ts-ignore
33 | const message = e.data
34 | const renderStateId = message.renderStateId
35 | const messageType = message.type
36 | switch (messageType) {
37 | case 'decode': {
38 | let decoder = h264Decoders[renderStateId]
39 | if (!decoder) {
40 | decoder = new H264Decoder(LibavH264, (output, width, height) => {
41 | postMessage(
42 | {
43 | type: 'pictureReady',
44 | width,
45 | height,
46 | renderStateId,
47 | data: output,
48 | },
49 | [output.yPlane.buffer, output.uPlane.buffer, output.vPlane.buffer],
50 | )
51 | })
52 | h264Decoders[renderStateId] = decoder
53 | }
54 | decoder.decode(new Uint8Array(message.data, message.offset, message.length))
55 | break
56 | }
57 | case 'release': {
58 | const decoder = h264Decoders[renderStateId]
59 | if (decoder) {
60 | decoder.release()
61 | delete h264Decoders[renderStateId]
62 | }
63 | break
64 | }
65 | case 'closeFrame': {
66 | const decoder = h264Decoders[renderStateId]
67 | if (decoder) {
68 | decoder.closeFrame(message.data as number)
69 | }
70 | break
71 | }
72 | }
73 | },
74 | { passive: true },
75 | )
76 |
77 | self.postMessage({ type: 'decoderReady' })
78 | })
79 | }
80 |
--------------------------------------------------------------------------------
/demo/src/Texture.js:
--------------------------------------------------------------------------------
1 | // Copyright 2019 Erik De Rijcke
2 | //
3 | // This file is part of Greenfield.
4 | //
5 | // Greenfield is free software: you can redistribute it and/or modify
6 | // it under the terms of the GNU Affero General Public License as published by
7 | // the Free Software Foundation, either version 3 of the License, or
8 | // (at your option) any later version.
9 | //
10 | // Greenfield is distributed in the hope that it will be useful,
11 | // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | // GNU Affero General Public License for more details.
14 | //
15 | // You should have received a copy of the GNU Affero General Public License
16 | // along with Greenfield. If not, see .
17 |
18 | /**
19 | * Represents a WebGL texture object.
20 | */
21 | export default class Texture {
22 | /**
23 | * @param {!WebGLRenderingContext}gl
24 | * @param {!number}format
25 | * @return {!Texture}
26 | */
27 | static create (gl, format) {
28 | const texture = gl.createTexture()
29 | gl.bindTexture(gl.TEXTURE_2D, texture)
30 | gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST)
31 | gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST)
32 | gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE)
33 | gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE)
34 | gl.bindTexture(gl.TEXTURE_2D, null)
35 | return new Texture(gl, format, texture)
36 | }
37 |
38 | /**
39 | * Use Texture.create(..) instead.
40 | * @param {WebGLRenderingContext}gl
41 | * @param {number}format
42 | * @param {WebGLTexture}texture
43 | * @private
44 | */
45 | constructor (gl, format, texture) {
46 | /**
47 | * @type {WebGLRenderingContext}
48 | */
49 | this.gl = gl
50 | /**
51 | * @type {WebGLTexture}
52 | */
53 | this.texture = texture
54 | /**
55 | * @type {number}
56 | */
57 | this.format = format
58 | }
59 |
60 | /**
61 | * @param {!Uint8Array|HTMLVideoElement}buffer
62 | * @param {!Rect}geo
63 | * @param {number}stride
64 | */
65 | subImage2dBuffer (buffer, x, y, width, height) {
66 | const gl = this.gl
67 | gl.bindTexture(gl.TEXTURE_2D, this.texture)
68 | gl.texSubImage2D(gl.TEXTURE_2D, 0, x, y, width, height, this.format, gl.UNSIGNED_BYTE, buffer)
69 | gl.bindTexture(gl.TEXTURE_2D, null)
70 | }
71 |
72 | /**
73 | * @param {!Uint8Array|HTMLVideoElement}buffer
74 | * @param {number}width
75 | * @param {number}height
76 | */
77 | image2dBuffer (buffer, width, height) {
78 | const gl = this.gl
79 | gl.bindTexture(gl.TEXTURE_2D, this.texture)
80 | gl.texImage2D(gl.TEXTURE_2D, 0, this.format, width, height, 0, this.format, gl.UNSIGNED_BYTE, buffer)
81 | gl.bindTexture(gl.TEXTURE_2D, null)
82 | }
83 |
84 | delete () {
85 | this.gl.deleteTexture(this.texture)
86 | this.texture = null
87 | }
88 | }
89 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Created by .ignore support plugin (hsz.mobi)
2 | ### JetBrains template
3 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
4 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
5 |
6 | # User-specific stuff
7 | .idea/**/workspace.xml
8 | .idea/**/tasks.xml
9 | .idea/**/usage.statistics.xml
10 | .idea/**/dictionaries
11 | .idea/**/shelf
12 |
13 | # Generated files
14 | .idea/**/contentModel.xml
15 |
16 | # Sensitive or high-churn files
17 | .idea/**/dataSources/
18 | .idea/**/dataSources.ids
19 | .idea/**/dataSources.local.xml
20 | .idea/**/sqlDataSources.xml
21 | .idea/**/dynamic.xml
22 | .idea/**/uiDesigner.xml
23 | .idea/**/dbnavigator.xml
24 |
25 | # Gradle
26 | .idea/**/gradle.xml
27 | .idea/**/libraries
28 |
29 | # Gradle and Maven with auto-import
30 | # When using Gradle or Maven with auto-import, you should exclude module files,
31 | # since they will be recreated, and may cause churn. Uncomment if using
32 | # auto-import.
33 | # .idea/artifacts
34 | # .idea/compiler.xml
35 | # .idea/modules.xml
36 | # .idea/*.iml
37 | # .idea/modules
38 | # *.iml
39 | # *.ipr
40 |
41 | # CMake
42 | cmake-build-*/
43 |
44 | # Mongo Explorer plugin
45 | .idea/**/mongoSettings.xml
46 |
47 | # File-based project format
48 | *.iws
49 |
50 | # IntelliJ
51 | out/
52 |
53 | # mpeltonen/sbt-idea plugin
54 | .idea_modules/
55 |
56 | # JIRA plugin
57 | atlassian-ide-plugin.xml
58 |
59 | # Cursive Clojure plugin
60 | .idea/replstate.xml
61 |
62 | # Crashlytics plugin (for Android Studio and IntelliJ)
63 | com_crashlytics_export_strings.xml
64 | crashlytics.properties
65 | crashlytics-build.properties
66 | fabric.properties
67 |
68 | # Editor-based Rest Client
69 | .idea/httpRequests
70 |
71 | # Android studio 3.1+ serialized cache file
72 | .idea/caches/build_file_checksums.ser
73 |
74 | ### Autotools template
75 | # http://www.gnu.org/software/automake
76 |
77 | Makefile.in
78 | /ar-lib
79 | /mdate-sh
80 | /py-compile
81 | /test-driver
82 | /ylwrap
83 |
84 | # http://www.gnu.org/software/autoconf
85 |
86 | autom4te.cache
87 | /autoscan.log
88 | /autoscan-*.log
89 | /aclocal.m4
90 | /compile
91 | /config.guess
92 | /config.h.in
93 | /config.log
94 | /config.status
95 | /config.sub
96 | /configure
97 | /configure.scan
98 | /depcomp
99 | /install-sh
100 | /missing
101 | /stamp-h1
102 |
103 | # https://www.gnu.org/software/libtool/
104 |
105 | /ltmain.sh
106 |
107 | # http://www.gnu.org/software/texinfo
108 |
109 | /texinfo.tex
110 |
111 | # http://www.gnu.org/software/m4/
112 |
113 | m4/libtool.m4
114 | m4/ltoptions.m4
115 | m4/ltsugar.m4
116 | m4/ltversion.m4
117 | m4/lt~obsolete.m4
118 |
119 | # Generated Makefile
120 | # (meta build system like autotools,
121 | # can automatically generate from config.status script
122 | # (which is called by configure script))
123 | Makefile
124 |
125 | .idea/
126 |
127 | /dist/
128 | /emsdk/
129 | /libav/
130 | /src/libav-h264.js
131 | /libav-h264.wasm
132 | /libav-h264.worker.js
133 | /libav/config.fate
134 | /libav/config.mak
135 | /emsdk/
136 | /libav/
137 | /demo/node_modules/
138 | /libav/config.fate
139 | /libav/config.mak
140 | /ffmpeg/
141 | /ffbuild/
142 | /types/
143 | /node_modules/
144 | /demo/dist/main.js
145 | /demo/dist/main.worker.js
146 |
--------------------------------------------------------------------------------
/demo/src/index.js:
--------------------------------------------------------------------------------
1 | import Worker from './H264NALDecoder.worker'
2 | import YUVSurfaceShader from './YUVSurfaceShader'
3 | import Texture from './Texture'
4 |
5 | let H264Worker = null
6 | let videoStreamId = 1
7 |
8 | let canvas = null
9 | /**
10 | * @type {YUVSurfaceShader}
11 | */
12 | let yuvSurfaceShader = null
13 | let yTexture = null
14 | let uTexture = null
15 | let vTexture = null
16 |
17 | /**
18 | * @type {Array}
19 | */
20 | const h264samples = []
21 |
22 | let nroFrames = 0
23 | let start = 0
24 |
25 | /**
26 | * @param {Uint8Array} h264Nal
27 | */
28 | function decode(h264Nal) {
29 | H264Worker.postMessage(
30 | {
31 | type: 'decode',
32 | data: h264Nal.buffer,
33 | offset: h264Nal.byteOffset,
34 | length: h264Nal.byteLength,
35 | renderStateId: videoStreamId,
36 | },
37 | [h264Nal.buffer],
38 | )
39 | }
40 |
41 | function onPictureReady(message) {
42 | const { width, height, data } = message
43 | onPicture(data, width, height)
44 | }
45 |
46 | function onPicture(data, width, height) {
47 | decodeNext()
48 | const { ptr: framePtr, yPlane, uPlane, vPlane, stride } = data
49 |
50 | canvas.width = width
51 | canvas.height = height
52 |
53 | const sourceWidth = width
54 | const sourceHeight = height
55 | const maxXTexCoord = sourceWidth / stride
56 | const maxYTexCoord = sourceHeight / height
57 |
58 | const chromaHeight = height >> 1
59 |
60 | // we upload the entire image, including stride padding & filler rows. The actual visible image will be mapped
61 | // from texture coordinates as to crop out stride padding & filler rows using maxXTexCoord and maxYTexCoord.
62 |
63 | yTexture.image2dBuffer(yPlane, stride, height)
64 | uTexture.image2dBuffer(uPlane, stride / 2, chromaHeight)
65 | vTexture.image2dBuffer(vPlane, stride / 2, chromaHeight)
66 | closeFrame(framePtr)
67 |
68 | yuvSurfaceShader.setTexture(yTexture, uTexture, vTexture)
69 | yuvSurfaceShader.updateShaderData({ w: width, h: height }, { maxXTexCoord, maxYTexCoord })
70 | yuvSurfaceShader.draw()
71 | }
72 |
73 | function closeFrame(framePtr) {
74 | H264Worker.postMessage({ type: 'closeFrame', renderStateId: videoStreamId, data: framePtr })
75 | }
76 |
77 | function release() {
78 | if (H264Worker) {
79 | H264Worker.postMessage({ type: 'release', renderStateId: videoStreamId })
80 | H264Worker = null
81 | }
82 | }
83 |
84 | function decodeNext() {
85 | const nextFrame = h264samples.shift()
86 | if (nextFrame != null) {
87 | decode(nextFrame)
88 | } else {
89 | const fps = (1000 / (Date.now() - start)) * nroFrames
90 | window.alert(`Decoded ${nroFrames} (3440x1216) frames in ${Date.now() - start}ms @ ${fps >> 0}FPS`)
91 | }
92 | }
93 |
94 | function initWebGLCanvas() {
95 | canvas = document.createElement('canvas')
96 | const gl = canvas.getContext('webgl')
97 | yuvSurfaceShader = YUVSurfaceShader.create(gl)
98 | yTexture = Texture.create(gl, gl.LUMINANCE)
99 | uTexture = Texture.create(gl, gl.LUMINANCE)
100 | vTexture = Texture.create(gl, gl.LUMINANCE)
101 |
102 | document.body.append(canvas)
103 | }
104 |
105 | function main() {
106 | initWebGLCanvas()
107 | new Promise((resolve) => {
108 | /**
109 | * @type {Worker}
110 | * @private
111 | */
112 | H264Worker = new Worker()
113 | H264Worker.addEventListener('message', (e) => {
114 | const message = e.data
115 | switch (message.type) {
116 | case 'pictureReady':
117 | onPictureReady(message)
118 | break
119 | case 'decoderReady':
120 | resolve(H264Worker)
121 | break
122 | }
123 | })
124 | })
125 | .then(() => {
126 | const fetches = []
127 | for (let i = 0; i < 60; i++) {
128 | fetches.push(
129 | fetch(`h264samples/${i}`).then((response) => {
130 | return response.arrayBuffer().then(function (buffer) {
131 | h264samples[i] = new Uint8Array(buffer)
132 | })
133 | }),
134 | )
135 | }
136 |
137 | return Promise.all(fetches)
138 | })
139 | .then(() => {
140 | nroFrames = h264samples.length
141 | start = Date.now()
142 | decodeNext()
143 | })
144 | }
145 |
146 | main()
147 |
--------------------------------------------------------------------------------
/demo/src/YUVSurfaceShader.js:
--------------------------------------------------------------------------------
1 | import ShaderProgram from './ShaderProgram'
2 | import ShaderCompiler from './ShaderCompiler'
3 | import { fragmentYUV, vertexQuad } from './ShaderSources'
4 |
5 | export default class YUVSurfaceShader {
6 | /**
7 | *
8 | * @param {WebGLRenderingContext} gl
9 | * @returns {YUVSurfaceShader}
10 | */
11 | static create (gl) {
12 | const program = this._initShaders(gl)
13 | const shaderArgs = this._initShaderArgs(gl, program)
14 | const vertexBuffer = this._initBuffers(gl)
15 |
16 | return new YUVSurfaceShader(gl, vertexBuffer, shaderArgs, program)
17 | }
18 |
19 | static _initShaders (gl) {
20 | const program = new ShaderProgram(gl)
21 | program.attach(ShaderCompiler.compile(gl, vertexQuad))
22 | program.attach(ShaderCompiler.compile(gl, fragmentYUV))
23 | program.link()
24 | program.use()
25 |
26 | return program
27 | }
28 |
29 | static _initShaderArgs (gl, program) {
30 | // find shader arguments
31 | const shaderArgs = {}
32 | shaderArgs.yTexture = program.getUniformLocation('yTexture')
33 | shaderArgs.uTexture = program.getUniformLocation('uTexture')
34 | shaderArgs.vTexture = program.getUniformLocation('vTexture')
35 |
36 | shaderArgs.u_projection = program.getUniformLocation('u_projection')
37 |
38 | shaderArgs.a_position = program.getAttributeLocation('a_position')
39 | gl.enableVertexAttribArray(shaderArgs.a_position)
40 | shaderArgs.a_texCoord = program.getAttributeLocation('a_texCoord')
41 | gl.enableVertexAttribArray(shaderArgs.a_texCoord)
42 |
43 | return shaderArgs
44 | }
45 |
46 | static _initBuffers (gl) {
47 | // Create vertex buffer object.
48 | return gl.createBuffer()
49 | }
50 |
51 | constructor (gl, vertexBuffer, shaderArgs, program) {
52 | this.gl = gl
53 | this.vertexBuffer = vertexBuffer
54 | this.shaderArgs = shaderArgs
55 | this.program = program
56 | }
57 |
58 | /**
59 | *
60 | * @param {Texture} textureY
61 | * @param {Texture} textureU
62 | * @param {Texture} textureV
63 | */
64 | setTexture (textureY, textureU, textureV) {
65 | const gl = this.gl
66 |
67 | gl.uniform1i(this.shaderArgs.yTexture, 0)
68 | gl.uniform1i(this.shaderArgs.uTexture, 1)
69 | gl.uniform1i(this.shaderArgs.vTexture, 2)
70 |
71 | gl.activeTexture(gl.TEXTURE0)
72 | gl.bindTexture(gl.TEXTURE_2D, textureY.texture)
73 |
74 | gl.activeTexture(gl.TEXTURE1)
75 | gl.bindTexture(gl.TEXTURE_2D, textureU.texture)
76 |
77 | gl.activeTexture(gl.TEXTURE2)
78 | gl.bindTexture(gl.TEXTURE_2D, textureV.texture)
79 | }
80 |
81 | use () {
82 | this.program.use()
83 | }
84 |
85 | release () {
86 | const gl = this.gl
87 | gl.useProgram(null)
88 | }
89 |
90 | /**
91 | * @param {{w:number, h:number}}encodedFrameSize
92 | * @param {{maxXTexCoord:number, maxYTexCoord:number}} h264RenderState
93 | */
94 | updateShaderData (encodedFrameSize, h264RenderState) {
95 | const { w, h } = encodedFrameSize
96 | this.gl.viewport(0, 0, w, h)
97 | this.program.setUniformM4(this.shaderArgs.u_projection, [
98 | 2.0 / w, 0, 0, 0,
99 | 0, 2.0 / -h, 0, 0,
100 | 0, 0, 1, 0,
101 | -1, 1, 0, 1
102 | ])
103 | this.gl.bindBuffer(this.gl.ARRAY_BUFFER, this.vertexBuffer)
104 | this.gl.bufferData(this.gl.ARRAY_BUFFER, new Float32Array([
105 | // First triangle
106 | // top left:
107 | 0, 0, 0, 0,
108 | // top right:
109 | w, 0, h264RenderState.maxXTexCoord, 0,
110 | // bottom right:
111 | w, h, h264RenderState.maxXTexCoord, h264RenderState.maxYTexCoord,
112 |
113 | // Second triangle
114 | // bottom right:
115 | w, h, h264RenderState.maxXTexCoord, h264RenderState.maxYTexCoord,
116 | // bottom left:
117 | 0, h, 0, h264RenderState.maxYTexCoord,
118 | // top left:
119 | 0, 0, 0, 0
120 | ]), this.gl.DYNAMIC_DRAW)
121 | this.gl.vertexAttribPointer(this.shaderArgs.a_position, 2, this.gl.FLOAT, false, 16, 0)
122 | this.gl.vertexAttribPointer(this.shaderArgs.a_texCoord, 2, this.gl.FLOAT, false, 16, 8)
123 | }
124 |
125 | draw () {
126 | const gl = this.gl
127 | gl.clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT | gl.STENCIL_BUFFER_BIT)
128 | gl.drawArrays(this.gl.TRIANGLE_STRIP, 0, 6)
129 | gl.bindTexture(gl.TEXTURE_2D, null)
130 | }
131 | }
132 |
--------------------------------------------------------------------------------
/src/H264Decoder.ts:
--------------------------------------------------------------------------------
1 | //
2 | // Copyright (c) 2013 Sam Leitch. All rights reserved.
3 | //
4 | // Permission is hereby granted, free of charge, to any person obtaining a copy
5 | // of this software and associated documentation files (the "Software"), to
6 | // deal in the Software without restriction, including without limitation the
7 | // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8 | // sell copies of the Software, and to permit persons to whom the Software is
9 | // furnished to do so, subject to the following conditions:
10 | //
11 | // The above copyright notice and this permission notice shall be included in
12 | // all copies or substantial portions of the Software.
13 | //
14 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20 | // IN THE SOFTWARE.
21 | //
22 |
23 | import { libavh264 } from './H264Worker'
24 | import { FfmpegH264Frame } from './index'
25 |
26 | export class H264Decoder {
27 | private readonly codecContext: number
28 | private readonly dataIn: number
29 |
30 | private readonly yPlaneOut: number
31 | private readonly strideOut: number
32 |
33 | private readonly uPlaneOut: number
34 |
35 | private readonly vPlaneOut: number
36 |
37 | private readonly widthOut: number
38 | private readonly heightOut: number
39 |
40 | constructor(
41 | private readonly libavH264Module: libavh264,
42 | private readonly onPictureReady: (output: FfmpegH264Frame, width: number, height: number) => void,
43 | ) {
44 | this.codecContext = this.libavH264Module._create_codec_context()
45 | this.dataIn = this.libavH264Module._malloc(1024 * 1024)
46 |
47 | this.yPlaneOut = this.libavH264Module._malloc(4)
48 | this.uPlaneOut = this.libavH264Module._malloc(4)
49 | this.vPlaneOut = this.libavH264Module._malloc(4)
50 |
51 | this.widthOut = this.libavH264Module._malloc(4)
52 | this.heightOut = this.libavH264Module._malloc(4)
53 | this.strideOut = this.libavH264Module._malloc(4)
54 | }
55 |
56 | release() {
57 | this.libavH264Module._destroy_codec_context(this.codecContext)
58 | this.libavH264Module._free(this.dataIn)
59 | this.libavH264Module._free(this.yPlaneOut)
60 |
61 | this.libavH264Module._free(this.widthOut)
62 | this.libavH264Module._free(this.heightOut)
63 | }
64 |
65 | decode(nal: Uint8Array) {
66 | this.libavH264Module.HEAPU8.set(nal, this.dataIn)
67 | const ptr = this.libavH264Module._decode(
68 | this.codecContext,
69 | this.dataIn,
70 | nal.byteLength,
71 |
72 | this.yPlaneOut,
73 | this.uPlaneOut,
74 | this.vPlaneOut,
75 |
76 | this.widthOut,
77 | this.heightOut,
78 | this.strideOut,
79 | )
80 |
81 | const yPlanePtr = this.libavH264Module.getValue(this.yPlaneOut, 'i8*')
82 | const uPlanePtr = this.libavH264Module.getValue(this.uPlaneOut, 'i8*')
83 | const vPlanePtr = this.libavH264Module.getValue(this.vPlaneOut, 'i8*')
84 |
85 | const width = this.libavH264Module.getValue(this.widthOut, 'i32')
86 | const height = this.libavH264Module.getValue(this.heightOut, 'i32')
87 | const stride = this.libavH264Module.getValue(this.strideOut, 'i32')
88 |
89 | // We assume I420 output else this will fail miserably
90 | // TODO we should probably handle other formats as well
91 | const lumaSize = height * stride
92 | const chromaSize = (height * stride) / 2
93 |
94 | if (yPlanePtr === 0) {
95 | return
96 | }
97 |
98 | const yPlane = new Uint8Array(this.libavH264Module.HEAPU8.subarray(yPlanePtr, yPlanePtr + lumaSize))
99 | const uPlane = new Uint8Array(this.libavH264Module.HEAPU8.subarray(uPlanePtr, uPlanePtr + chromaSize))
100 | const vPlane = new Uint8Array(this.libavH264Module.HEAPU8.subarray(vPlanePtr, vPlanePtr + chromaSize))
101 |
102 | this.onPictureReady(
103 | {
104 | ptr,
105 | yPlane,
106 | uPlane,
107 | vPlane,
108 | stride,
109 | },
110 | width,
111 | height,
112 | )
113 | }
114 |
115 | closeFrame(framePtr: number) {
116 | this.libavH264Module._close_frame(framePtr)
117 | }
118 | }
119 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2 | # yarn lockfile v1
3 |
4 |
5 | "@eslint/eslintrc@^1.4.1":
6 | version "1.4.1"
7 | resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e"
8 | integrity sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==
9 | dependencies:
10 | ajv "^6.12.4"
11 | debug "^4.3.2"
12 | espree "^9.4.0"
13 | globals "^13.19.0"
14 | ignore "^5.2.0"
15 | import-fresh "^3.2.1"
16 | js-yaml "^4.1.0"
17 | minimatch "^3.1.2"
18 | strip-json-comments "^3.1.1"
19 |
20 | "@humanwhocodes/config-array@^0.11.8":
21 | version "0.11.8"
22 | resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9"
23 | integrity sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==
24 | dependencies:
25 | "@humanwhocodes/object-schema" "^1.2.1"
26 | debug "^4.1.1"
27 | minimatch "^3.0.5"
28 |
29 | "@humanwhocodes/module-importer@^1.0.1":
30 | version "1.0.1"
31 | resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"
32 | integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==
33 |
34 | "@humanwhocodes/object-schema@^1.2.1":
35 | version "1.2.1"
36 | resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
37 | integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
38 |
39 | "@nodelib/fs.scandir@2.1.5":
40 | version "2.1.5"
41 | resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
42 | integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==
43 | dependencies:
44 | "@nodelib/fs.stat" "2.0.5"
45 | run-parallel "^1.1.9"
46 |
47 | "@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2":
48 | version "2.0.5"
49 | resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b"
50 | integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==
51 |
52 | "@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8":
53 | version "1.2.8"
54 | resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a"
55 | integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==
56 | dependencies:
57 | "@nodelib/fs.scandir" "2.1.5"
58 | fastq "^1.6.0"
59 |
60 | "@types/json-schema@^7.0.9":
61 | version "7.0.11"
62 | resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3"
63 | integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==
64 |
65 | "@types/semver@^7.3.12":
66 | version "7.3.13"
67 | resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91"
68 | integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==
69 |
70 | "@typescript-eslint/eslint-plugin@^5.47.1":
71 | version "5.48.0"
72 | resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.48.0.tgz#54f8368d080eb384a455f60c2ee044e948a8ce67"
73 | integrity sha512-SVLafp0NXpoJY7ut6VFVUU9I+YeFsDzeQwtK0WZ+xbRN3mtxJ08je+6Oi2N89qDn087COdO0u3blKZNv9VetRQ==
74 | dependencies:
75 | "@typescript-eslint/scope-manager" "5.48.0"
76 | "@typescript-eslint/type-utils" "5.48.0"
77 | "@typescript-eslint/utils" "5.48.0"
78 | debug "^4.3.4"
79 | ignore "^5.2.0"
80 | natural-compare-lite "^1.4.0"
81 | regexpp "^3.2.0"
82 | semver "^7.3.7"
83 | tsutils "^3.21.0"
84 |
85 | "@typescript-eslint/parser@^5.47.1":
86 | version "5.48.0"
87 | resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.0.tgz#02803355b23884a83e543755349809a50b7ed9ba"
88 | integrity sha512-1mxNA8qfgxX8kBvRDIHEzrRGrKHQfQlbW6iHyfHYS0Q4X1af+S6mkLNtgCOsGVl8+/LUPrqdHMssAemkrQ01qg==
89 | dependencies:
90 | "@typescript-eslint/scope-manager" "5.48.0"
91 | "@typescript-eslint/types" "5.48.0"
92 | "@typescript-eslint/typescript-estree" "5.48.0"
93 | debug "^4.3.4"
94 |
95 | "@typescript-eslint/scope-manager@5.48.0":
96 | version "5.48.0"
97 | resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.0.tgz#607731cb0957fbc52fd754fd79507d1b6659cecf"
98 | integrity sha512-0AA4LviDtVtZqlyUQnZMVHydDATpD9SAX/RC5qh6cBd3xmyWvmXYF+WT1oOmxkeMnWDlUVTwdODeucUnjz3gow==
99 | dependencies:
100 | "@typescript-eslint/types" "5.48.0"
101 | "@typescript-eslint/visitor-keys" "5.48.0"
102 |
103 | "@typescript-eslint/type-utils@5.48.0":
104 | version "5.48.0"
105 | resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.48.0.tgz#40496dccfdc2daa14a565f8be80ad1ae3882d6d6"
106 | integrity sha512-vbtPO5sJyFjtHkGlGK4Sthmta0Bbls4Onv0bEqOGm7hP9h8UpRsHJwsrCiWtCUndTRNQO/qe6Ijz9rnT/DB+7g==
107 | dependencies:
108 | "@typescript-eslint/typescript-estree" "5.48.0"
109 | "@typescript-eslint/utils" "5.48.0"
110 | debug "^4.3.4"
111 | tsutils "^3.21.0"
112 |
113 | "@typescript-eslint/types@5.48.0":
114 | version "5.48.0"
115 | resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.0.tgz#d725da8dfcff320aab2ac6f65c97b0df30058449"
116 | integrity sha512-UTe67B0Ypius0fnEE518NB2N8gGutIlTojeTg4nt0GQvikReVkurqxd2LvYa9q9M5MQ6rtpNyWTBxdscw40Xhw==
117 |
118 | "@typescript-eslint/typescript-estree@5.48.0":
119 | version "5.48.0"
120 | resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.0.tgz#a7f04bccb001003405bb5452d43953a382c2fac2"
121 | integrity sha512-7pjd94vvIjI1zTz6aq/5wwE/YrfIyEPLtGJmRfyNR9NYIW+rOvzzUv3Cmq2hRKpvt6e9vpvPUQ7puzX7VSmsEw==
122 | dependencies:
123 | "@typescript-eslint/types" "5.48.0"
124 | "@typescript-eslint/visitor-keys" "5.48.0"
125 | debug "^4.3.4"
126 | globby "^11.1.0"
127 | is-glob "^4.0.3"
128 | semver "^7.3.7"
129 | tsutils "^3.21.0"
130 |
131 | "@typescript-eslint/utils@5.48.0":
132 | version "5.48.0"
133 | resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.48.0.tgz#eee926af2733f7156ad8d15e51791e42ce300273"
134 | integrity sha512-x2jrMcPaMfsHRRIkL+x96++xdzvrdBCnYRd5QiW5Wgo1OB4kDYPbC1XjWP/TNqlfK93K/lUL92erq5zPLgFScQ==
135 | dependencies:
136 | "@types/json-schema" "^7.0.9"
137 | "@types/semver" "^7.3.12"
138 | "@typescript-eslint/scope-manager" "5.48.0"
139 | "@typescript-eslint/types" "5.48.0"
140 | "@typescript-eslint/typescript-estree" "5.48.0"
141 | eslint-scope "^5.1.1"
142 | eslint-utils "^3.0.0"
143 | semver "^7.3.7"
144 |
145 | "@typescript-eslint/visitor-keys@5.48.0":
146 | version "5.48.0"
147 | resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.0.tgz#4446d5e7f6cadde7140390c0e284c8702d944904"
148 | integrity sha512-5motVPz5EgxQ0bHjut3chzBkJ3Z3sheYVcSwS5BpHZpLqSptSmELNtGixmgj65+rIfhvtQTz5i9OP2vtzdDH7Q==
149 | dependencies:
150 | "@typescript-eslint/types" "5.48.0"
151 | eslint-visitor-keys "^3.3.0"
152 |
153 | acorn-jsx@^5.3.2:
154 | version "5.3.2"
155 | resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937"
156 | integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==
157 |
158 | acorn@^8.8.0:
159 | version "8.8.1"
160 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73"
161 | integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==
162 |
163 | ajv@^6.10.0, ajv@^6.12.4:
164 | version "6.12.6"
165 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4"
166 | integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==
167 | dependencies:
168 | fast-deep-equal "^3.1.1"
169 | fast-json-stable-stringify "^2.0.0"
170 | json-schema-traverse "^0.4.1"
171 | uri-js "^4.2.2"
172 |
173 | ansi-regex@^5.0.1:
174 | version "5.0.1"
175 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
176 | integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
177 |
178 | ansi-styles@^4.1.0:
179 | version "4.3.0"
180 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937"
181 | integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==
182 | dependencies:
183 | color-convert "^2.0.1"
184 |
185 | argparse@^2.0.1:
186 | version "2.0.1"
187 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
188 | integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==
189 |
190 | array-union@^2.1.0:
191 | version "2.1.0"
192 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d"
193 | integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==
194 |
195 | balanced-match@^1.0.0:
196 | version "1.0.2"
197 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
198 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
199 |
200 | brace-expansion@^1.1.7:
201 | version "1.1.11"
202 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
203 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
204 | dependencies:
205 | balanced-match "^1.0.0"
206 | concat-map "0.0.1"
207 |
208 | braces@^3.0.2:
209 | version "3.0.2"
210 | resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
211 | integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
212 | dependencies:
213 | fill-range "^7.0.1"
214 |
215 | callsites@^3.0.0:
216 | version "3.1.0"
217 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
218 | integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
219 |
220 | chalk@^4.0.0:
221 | version "4.1.2"
222 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
223 | integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==
224 | dependencies:
225 | ansi-styles "^4.1.0"
226 | supports-color "^7.1.0"
227 |
228 | color-convert@^2.0.1:
229 | version "2.0.1"
230 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3"
231 | integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==
232 | dependencies:
233 | color-name "~1.1.4"
234 |
235 | color-name@~1.1.4:
236 | version "1.1.4"
237 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
238 | integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==
239 |
240 | concat-map@0.0.1:
241 | version "0.0.1"
242 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
243 | integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
244 |
245 | cross-spawn@^7.0.2:
246 | version "7.0.3"
247 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
248 | integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==
249 | dependencies:
250 | path-key "^3.1.0"
251 | shebang-command "^2.0.0"
252 | which "^2.0.1"
253 |
254 | debug@^4.1.1, debug@^4.3.2, debug@^4.3.4:
255 | version "4.3.4"
256 | resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
257 | integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
258 | dependencies:
259 | ms "2.1.2"
260 |
261 | deep-is@^0.1.3:
262 | version "0.1.4"
263 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
264 | integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==
265 |
266 | dir-glob@^3.0.1:
267 | version "3.0.1"
268 | resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f"
269 | integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==
270 | dependencies:
271 | path-type "^4.0.0"
272 |
273 | doctrine@^3.0.0:
274 | version "3.0.0"
275 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961"
276 | integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==
277 | dependencies:
278 | esutils "^2.0.2"
279 |
280 | escape-string-regexp@^4.0.0:
281 | version "4.0.0"
282 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
283 | integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
284 |
285 | eslint-config-prettier@^8.5.0:
286 | version "8.6.0"
287 | resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz#dec1d29ab728f4fa63061774e1672ac4e363d207"
288 | integrity sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==
289 |
290 | eslint-plugin-prettier@^4.2.1:
291 | version "4.2.1"
292 | resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b"
293 | integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==
294 | dependencies:
295 | prettier-linter-helpers "^1.0.0"
296 |
297 | eslint-scope@^5.1.1:
298 | version "5.1.1"
299 | resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
300 | integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==
301 | dependencies:
302 | esrecurse "^4.3.0"
303 | estraverse "^4.1.1"
304 |
305 | eslint-scope@^7.1.1:
306 | version "7.1.1"
307 | resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642"
308 | integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==
309 | dependencies:
310 | esrecurse "^4.3.0"
311 | estraverse "^5.2.0"
312 |
313 | eslint-utils@^3.0.0:
314 | version "3.0.0"
315 | resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672"
316 | integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==
317 | dependencies:
318 | eslint-visitor-keys "^2.0.0"
319 |
320 | eslint-visitor-keys@^2.0.0:
321 | version "2.1.0"
322 | resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
323 | integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
324 |
325 | eslint-visitor-keys@^3.3.0:
326 | version "3.3.0"
327 | resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826"
328 | integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==
329 |
330 | eslint@8.31.0:
331 | version "8.31.0"
332 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.31.0.tgz#75028e77cbcff102a9feae1d718135931532d524"
333 | integrity sha512-0tQQEVdmPZ1UtUKXjX7EMm9BlgJ08G90IhWh0PKDCb3ZLsgAOHI8fYSIzYVZej92zsgq+ft0FGsxhJ3xo2tbuA==
334 | dependencies:
335 | "@eslint/eslintrc" "^1.4.1"
336 | "@humanwhocodes/config-array" "^0.11.8"
337 | "@humanwhocodes/module-importer" "^1.0.1"
338 | "@nodelib/fs.walk" "^1.2.8"
339 | ajv "^6.10.0"
340 | chalk "^4.0.0"
341 | cross-spawn "^7.0.2"
342 | debug "^4.3.2"
343 | doctrine "^3.0.0"
344 | escape-string-regexp "^4.0.0"
345 | eslint-scope "^7.1.1"
346 | eslint-utils "^3.0.0"
347 | eslint-visitor-keys "^3.3.0"
348 | espree "^9.4.0"
349 | esquery "^1.4.0"
350 | esutils "^2.0.2"
351 | fast-deep-equal "^3.1.3"
352 | file-entry-cache "^6.0.1"
353 | find-up "^5.0.0"
354 | glob-parent "^6.0.2"
355 | globals "^13.19.0"
356 | grapheme-splitter "^1.0.4"
357 | ignore "^5.2.0"
358 | import-fresh "^3.0.0"
359 | imurmurhash "^0.1.4"
360 | is-glob "^4.0.0"
361 | is-path-inside "^3.0.3"
362 | js-sdsl "^4.1.4"
363 | js-yaml "^4.1.0"
364 | json-stable-stringify-without-jsonify "^1.0.1"
365 | levn "^0.4.1"
366 | lodash.merge "^4.6.2"
367 | minimatch "^3.1.2"
368 | natural-compare "^1.4.0"
369 | optionator "^0.9.1"
370 | regexpp "^3.2.0"
371 | strip-ansi "^6.0.1"
372 | strip-json-comments "^3.1.0"
373 | text-table "^0.2.0"
374 |
375 | espree@^9.4.0:
376 | version "9.4.1"
377 | resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.1.tgz#51d6092615567a2c2cff7833445e37c28c0065bd"
378 | integrity sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==
379 | dependencies:
380 | acorn "^8.8.0"
381 | acorn-jsx "^5.3.2"
382 | eslint-visitor-keys "^3.3.0"
383 |
384 | esquery@^1.4.0:
385 | version "1.4.0"
386 | resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5"
387 | integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==
388 | dependencies:
389 | estraverse "^5.1.0"
390 |
391 | esrecurse@^4.3.0:
392 | version "4.3.0"
393 | resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921"
394 | integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==
395 | dependencies:
396 | estraverse "^5.2.0"
397 |
398 | estraverse@^4.1.1:
399 | version "4.3.0"
400 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
401 | integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==
402 |
403 | estraverse@^5.1.0, estraverse@^5.2.0:
404 | version "5.3.0"
405 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
406 | integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
407 |
408 | esutils@^2.0.2:
409 | version "2.0.3"
410 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
411 | integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==
412 |
413 | fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
414 | version "3.1.3"
415 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"
416 | integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
417 |
418 | fast-diff@^1.1.2:
419 | version "1.2.0"
420 | resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
421 | integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==
422 |
423 | fast-glob@^3.2.9:
424 | version "3.2.12"
425 | resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
426 | integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==
427 | dependencies:
428 | "@nodelib/fs.stat" "^2.0.2"
429 | "@nodelib/fs.walk" "^1.2.3"
430 | glob-parent "^5.1.2"
431 | merge2 "^1.3.0"
432 | micromatch "^4.0.4"
433 |
434 | fast-json-stable-stringify@^2.0.0:
435 | version "2.1.0"
436 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633"
437 | integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==
438 |
439 | fast-levenshtein@^2.0.6:
440 | version "2.0.6"
441 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
442 | integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==
443 |
444 | fastq@^1.6.0:
445 | version "1.15.0"
446 | resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a"
447 | integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==
448 | dependencies:
449 | reusify "^1.0.4"
450 |
451 | file-entry-cache@^6.0.1:
452 | version "6.0.1"
453 | resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
454 | integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==
455 | dependencies:
456 | flat-cache "^3.0.4"
457 |
458 | fill-range@^7.0.1:
459 | version "7.0.1"
460 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
461 | integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
462 | dependencies:
463 | to-regex-range "^5.0.1"
464 |
465 | find-up@^5.0.0:
466 | version "5.0.0"
467 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc"
468 | integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==
469 | dependencies:
470 | locate-path "^6.0.0"
471 | path-exists "^4.0.0"
472 |
473 | flat-cache@^3.0.4:
474 | version "3.0.4"
475 | resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11"
476 | integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==
477 | dependencies:
478 | flatted "^3.1.0"
479 | rimraf "^3.0.2"
480 |
481 | flatted@^3.1.0:
482 | version "3.2.7"
483 | resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787"
484 | integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==
485 |
486 | fs.realpath@^1.0.0:
487 | version "1.0.0"
488 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
489 | integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
490 |
491 | glob-parent@^5.1.2:
492 | version "5.1.2"
493 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
494 | integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
495 | dependencies:
496 | is-glob "^4.0.1"
497 |
498 | glob-parent@^6.0.2:
499 | version "6.0.2"
500 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3"
501 | integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==
502 | dependencies:
503 | is-glob "^4.0.3"
504 |
505 | glob@^7.1.3:
506 | version "7.2.3"
507 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
508 | integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
509 | dependencies:
510 | fs.realpath "^1.0.0"
511 | inflight "^1.0.4"
512 | inherits "2"
513 | minimatch "^3.1.1"
514 | once "^1.3.0"
515 | path-is-absolute "^1.0.0"
516 |
517 | globals@^13.19.0:
518 | version "13.19.0"
519 | resolved "https://registry.yarnpkg.com/globals/-/globals-13.19.0.tgz#7a42de8e6ad4f7242fbcca27ea5b23aca367b5c8"
520 | integrity sha512-dkQ957uSRWHw7CFXLUtUHQI3g3aWApYhfNR2O6jn/907riyTYKVBmxYVROkBcY614FSSeSJh7Xm7SrUWCxvJMQ==
521 | dependencies:
522 | type-fest "^0.20.2"
523 |
524 | globby@^11.1.0:
525 | version "11.1.0"
526 | resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"
527 | integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==
528 | dependencies:
529 | array-union "^2.1.0"
530 | dir-glob "^3.0.1"
531 | fast-glob "^3.2.9"
532 | ignore "^5.2.0"
533 | merge2 "^1.4.1"
534 | slash "^3.0.0"
535 |
536 | grapheme-splitter@^1.0.4:
537 | version "1.0.4"
538 | resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e"
539 | integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==
540 |
541 | has-flag@^4.0.0:
542 | version "4.0.0"
543 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
544 | integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
545 |
546 | ignore@^5.2.0:
547 | version "5.2.4"
548 | resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324"
549 | integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==
550 |
551 | import-fresh@^3.0.0, import-fresh@^3.2.1:
552 | version "3.3.0"
553 | resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b"
554 | integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==
555 | dependencies:
556 | parent-module "^1.0.0"
557 | resolve-from "^4.0.0"
558 |
559 | imurmurhash@^0.1.4:
560 | version "0.1.4"
561 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
562 | integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==
563 |
564 | inflight@^1.0.4:
565 | version "1.0.6"
566 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
567 | integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==
568 | dependencies:
569 | once "^1.3.0"
570 | wrappy "1"
571 |
572 | inherits@2:
573 | version "2.0.4"
574 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
575 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
576 |
577 | is-extglob@^2.1.1:
578 | version "2.1.1"
579 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
580 | integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==
581 |
582 | is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3:
583 | version "4.0.3"
584 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084"
585 | integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==
586 | dependencies:
587 | is-extglob "^2.1.1"
588 |
589 | is-number@^7.0.0:
590 | version "7.0.0"
591 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
592 | integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
593 |
594 | is-path-inside@^3.0.3:
595 | version "3.0.3"
596 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"
597 | integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==
598 |
599 | isexe@^2.0.0:
600 | version "2.0.0"
601 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
602 | integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==
603 |
604 | js-sdsl@^4.1.4:
605 | version "4.2.0"
606 | resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.2.0.tgz#278e98b7bea589b8baaf048c20aeb19eb7ad09d0"
607 | integrity sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==
608 |
609 | js-yaml@^4.1.0:
610 | version "4.1.0"
611 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602"
612 | integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==
613 | dependencies:
614 | argparse "^2.0.1"
615 |
616 | json-schema-traverse@^0.4.1:
617 | version "0.4.1"
618 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
619 | integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
620 |
621 | json-stable-stringify-without-jsonify@^1.0.1:
622 | version "1.0.1"
623 | resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
624 | integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==
625 |
626 | levn@^0.4.1:
627 | version "0.4.1"
628 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade"
629 | integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==
630 | dependencies:
631 | prelude-ls "^1.2.1"
632 | type-check "~0.4.0"
633 |
634 | locate-path@^6.0.0:
635 | version "6.0.0"
636 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286"
637 | integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==
638 | dependencies:
639 | p-locate "^5.0.0"
640 |
641 | lodash.merge@^4.6.2:
642 | version "4.6.2"
643 | resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
644 | integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
645 |
646 | lru-cache@^6.0.0:
647 | version "6.0.0"
648 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94"
649 | integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==
650 | dependencies:
651 | yallist "^4.0.0"
652 |
653 | merge2@^1.3.0, merge2@^1.4.1:
654 | version "1.4.1"
655 | resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
656 | integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
657 |
658 | micromatch@^4.0.4:
659 | version "4.0.5"
660 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6"
661 | integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==
662 | dependencies:
663 | braces "^3.0.2"
664 | picomatch "^2.3.1"
665 |
666 | minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
667 | version "3.1.2"
668 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
669 | integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
670 | dependencies:
671 | brace-expansion "^1.1.7"
672 |
673 | ms@2.1.2:
674 | version "2.1.2"
675 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
676 | integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
677 |
678 | natural-compare-lite@^1.4.0:
679 | version "1.4.0"
680 | resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4"
681 | integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==
682 |
683 | natural-compare@^1.4.0:
684 | version "1.4.0"
685 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
686 | integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==
687 |
688 | once@^1.3.0:
689 | version "1.4.0"
690 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
691 | integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==
692 | dependencies:
693 | wrappy "1"
694 |
695 | optionator@^0.9.1:
696 | version "0.9.1"
697 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499"
698 | integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==
699 | dependencies:
700 | deep-is "^0.1.3"
701 | fast-levenshtein "^2.0.6"
702 | levn "^0.4.1"
703 | prelude-ls "^1.2.1"
704 | type-check "^0.4.0"
705 | word-wrap "^1.2.3"
706 |
707 | p-limit@^3.0.2:
708 | version "3.1.0"
709 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b"
710 | integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==
711 | dependencies:
712 | yocto-queue "^0.1.0"
713 |
714 | p-locate@^5.0.0:
715 | version "5.0.0"
716 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834"
717 | integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==
718 | dependencies:
719 | p-limit "^3.0.2"
720 |
721 | parent-module@^1.0.0:
722 | version "1.0.1"
723 | resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
724 | integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==
725 | dependencies:
726 | callsites "^3.0.0"
727 |
728 | path-exists@^4.0.0:
729 | version "4.0.0"
730 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
731 | integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
732 |
733 | path-is-absolute@^1.0.0:
734 | version "1.0.1"
735 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
736 | integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==
737 |
738 | path-key@^3.1.0:
739 | version "3.1.1"
740 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375"
741 | integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
742 |
743 | path-type@^4.0.0:
744 | version "4.0.0"
745 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
746 | integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
747 |
748 | picomatch@^2.3.1:
749 | version "2.3.1"
750 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
751 | integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
752 |
753 | prelude-ls@^1.2.1:
754 | version "1.2.1"
755 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
756 | integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
757 |
758 | prettier-linter-helpers@^1.0.0:
759 | version "1.0.0"
760 | resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b"
761 | integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==
762 | dependencies:
763 | fast-diff "^1.1.2"
764 |
765 | prettier@^2.8.1:
766 | version "2.8.1"
767 | resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.1.tgz#4e1fd11c34e2421bc1da9aea9bd8127cd0a35efc"
768 | integrity sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==
769 |
770 | punycode@^2.1.0:
771 | version "2.1.1"
772 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
773 | integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
774 |
775 | queue-microtask@^1.2.2:
776 | version "1.2.3"
777 | resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
778 | integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==
779 |
780 | regexpp@^3.2.0:
781 | version "3.2.0"
782 | resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"
783 | integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==
784 |
785 | resolve-from@^4.0.0:
786 | version "4.0.0"
787 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
788 | integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==
789 |
790 | reusify@^1.0.4:
791 | version "1.0.4"
792 | resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
793 | integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
794 |
795 | rimraf@^3.0.2:
796 | version "3.0.2"
797 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
798 | integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
799 | dependencies:
800 | glob "^7.1.3"
801 |
802 | run-parallel@^1.1.9:
803 | version "1.2.0"
804 | resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee"
805 | integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==
806 | dependencies:
807 | queue-microtask "^1.2.2"
808 |
809 | semver@^7.3.7:
810 | version "7.3.8"
811 | resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798"
812 | integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==
813 | dependencies:
814 | lru-cache "^6.0.0"
815 |
816 | shebang-command@^2.0.0:
817 | version "2.0.0"
818 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
819 | integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==
820 | dependencies:
821 | shebang-regex "^3.0.0"
822 |
823 | shebang-regex@^3.0.0:
824 | version "3.0.0"
825 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
826 | integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==
827 |
828 | slash@^3.0.0:
829 | version "3.0.0"
830 | resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
831 | integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
832 |
833 | strip-ansi@^6.0.1:
834 | version "6.0.1"
835 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
836 | integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
837 | dependencies:
838 | ansi-regex "^5.0.1"
839 |
840 | strip-json-comments@^3.1.0, strip-json-comments@^3.1.1:
841 | version "3.1.1"
842 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
843 | integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
844 |
845 | supports-color@^7.1.0:
846 | version "7.2.0"
847 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
848 | integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
849 | dependencies:
850 | has-flag "^4.0.0"
851 |
852 | text-table@^0.2.0:
853 | version "0.2.0"
854 | resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
855 | integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==
856 |
857 | to-regex-range@^5.0.1:
858 | version "5.0.1"
859 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"
860 | integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==
861 | dependencies:
862 | is-number "^7.0.0"
863 |
864 | tslib@^1.8.1:
865 | version "1.14.1"
866 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
867 | integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
868 |
869 | tsutils@^3.21.0:
870 | version "3.21.0"
871 | resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"
872 | integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==
873 | dependencies:
874 | tslib "^1.8.1"
875 |
876 | type-check@^0.4.0, type-check@~0.4.0:
877 | version "0.4.0"
878 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"
879 | integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==
880 | dependencies:
881 | prelude-ls "^1.2.1"
882 |
883 | type-fest@^0.20.2:
884 | version "0.20.2"
885 | resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"
886 | integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==
887 |
888 | typescript@^4.9.4:
889 | version "4.9.4"
890 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78"
891 | integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==
892 |
893 | uri-js@^4.2.2:
894 | version "4.4.1"
895 | resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e"
896 | integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==
897 | dependencies:
898 | punycode "^2.1.0"
899 |
900 | which@^2.0.1:
901 | version "2.0.2"
902 | resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
903 | integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==
904 | dependencies:
905 | isexe "^2.0.0"
906 |
907 | word-wrap@^1.2.3:
908 | version "1.2.3"
909 | resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"
910 | integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==
911 |
912 | wrappy@1:
913 | version "1.0.2"
914 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
915 | integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==
916 |
917 | yallist@^4.0.0:
918 | version "4.0.0"
919 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
920 | integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==
921 |
922 | yocto-queue@^0.1.0:
923 | version "0.1.0"
924 | resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
925 | integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
926 |
--------------------------------------------------------------------------------