├── dune ├── src ├── entry │ ├── entry.re │ ├── README.md │ └── dune ├── packager │ ├── dune │ ├── utils.re │ ├── packager.re │ └── Json.re └── engine │ ├── utils.re │ ├── File__System.ml │ ├── dune │ ├── Reason_util.ml │ ├── types.re │ ├── refmtJsApi.ml │ ├── evaluator.ml │ └── execute.re ├── .gitignore ├── test ├── engine.js ├── general.test.js ├── mod_use.test.js ├── reason_syntax.test.js ├── ocaml_syntax.test.js ├── __snapshots__ │ ├── general.test.js.snap │ ├── reason_syntax.test.js.snap │ └── ocaml_syntax.test.js.snap └── refmt.test.js ├── jest.config.js ├── package.json ├── LICENSE ├── dune-project ├── sketch_engine.opam ├── README.md ├── .circleci └── config.yml ├── Makefile └── yarn.lock /dune: -------------------------------------------------------------------------------- 1 | (dirs src) 2 | -------------------------------------------------------------------------------- /src/entry/entry.re: -------------------------------------------------------------------------------- 1 | include Engine; 2 | -------------------------------------------------------------------------------- /src/entry/README.md: -------------------------------------------------------------------------------- 1 | Executable entry for engine 2 | -------------------------------------------------------------------------------- /src/packager/dune: -------------------------------------------------------------------------------- 1 | (executable 2 | (name packager) 3 | (libraries unix str) 4 | ) 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /_build/ 2 | /_opam/ 3 | /.vscode/ 4 | node_modules 5 | 6 | build/packages 7 | build/engine 8 | -------------------------------------------------------------------------------- /test/engine.js: -------------------------------------------------------------------------------- 1 | const engine = require("../build/engine/engine.js"); 2 | 3 | module.exports = engine; 4 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | transform: {}, 3 | testEnvironment: 'node', 4 | testMatch: ['/test/**/*.test.js'], 5 | }; 6 | -------------------------------------------------------------------------------- /src/engine/utils.re: -------------------------------------------------------------------------------- 1 | module Option = { 2 | let map = (f, opt) => 3 | switch (opt) { 4 | | None => None 5 | | Some(a) => Some(f(a)) 6 | }; 7 | }; 8 | -------------------------------------------------------------------------------- /src/engine/File__System.ml: -------------------------------------------------------------------------------- 1 | open Js_of_ocaml 2 | let createOrUpdateFile name content = 3 | try 4 | let _ = Sys_js.read_file ~name in 5 | Sys_js.update_file ~name ~content 6 | with 7 | Sys_error(_msg) -> 8 | Sys_js.create_file ~name ~content 9 | -------------------------------------------------------------------------------- /src/engine/dune: -------------------------------------------------------------------------------- 1 | (library 2 | (name engine) 3 | (libraries 4 | js_of_ocaml 5 | js_of_ocaml-compiler 6 | js_of_ocaml-toplevel 7 | reason 8 | compiler-libs 9 | ) 10 | (preprocess (pps js_of_ocaml-ppx)) 11 | (flags :standard -rectypes) 12 | ) 13 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sketch-test", 3 | "scripts": { 4 | "test": "jest", 5 | "test-promote": "jest --updateSnapshot" 6 | }, 7 | "dependencies": { 8 | "jest": "^29.7.0", 9 | "object-path": "^0.11.4", 10 | "prettier": "^1.14.2" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/engine/Reason_util.ml: -------------------------------------------------------------------------------- 1 | (** 2 | * Some of this was coppied from @whitequark's m17n project. 3 | *) 4 | (* 5 | * Portions Copyright (c) 2015-present, Facebook, Inc. 6 | * 7 | * This source code is licensed under the MIT license found in the 8 | * LICENSE file in the root directory of this source tree. 9 | *) 10 | 11 | let correctly_catch_parse_errors fn lexbuf = 12 | fn lexbuf 13 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2018-present Khoa Nguyen 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /test/general.test.js: -------------------------------------------------------------------------------- 1 | const { evaluator: e } = require("./engine.js"); 2 | const objPath = require("object-path"); 3 | 4 | test("correct values order when having multiple expressions on the same line", () => { 5 | let result = e 6 | .execute("let x = 1; let y = 2; let z = 3;") 7 | .map(phr => objPath.get(phr, "value.value")) 8 | .map(str => str.trim()); 9 | 10 | expect(result).toEqual([ 11 | "let x: int = 1;", 12 | "let y: int = 2;", 13 | "let z: int = 3;", 14 | ]); 15 | }); 16 | 17 | test("directives", () => { 18 | let result = e.execute(`let a = 1; #show a;`); 19 | expect(result.length).toBe(2); 20 | expect(result[1].value.stdout.trim()).toMatchInlineSnapshot(`"let a: int;"`); 21 | }); 22 | 23 | test("directives: #help", () => { 24 | let result = e.execute(`#help;`); 25 | expect(result.length).toBe(1); 26 | expect(result[0].value.stdout.trim()).toMatchSnapshot(); 27 | }); 28 | -------------------------------------------------------------------------------- /src/entry/dune: -------------------------------------------------------------------------------- 1 | (executable 2 | (name entry) 3 | (modes byte) 4 | (preprocess 5 | (pps js_of_ocaml-ppx)) 6 | (libraries engine) 7 | (link_flags 8 | (:standard -linkall))) 9 | 10 | (rule 11 | (targets export.txt) 12 | (deps entry.bc) 13 | (action 14 | (run jsoo_listunits -o %{targets} stdlib))) 15 | 16 | (rule 17 | (targets entry_dev.js) 18 | (action 19 | (run 20 | %{bin:js_of_ocaml} 21 | --export 22 | %{dep:export.txt} 23 | --effects 24 | cps 25 | --toplevel 26 | --pretty 27 | +toplevel.js 28 | +dynlink.js 29 | %{dep:entry.bc} 30 | -o 31 | %{targets}))) 32 | 33 | (rule 34 | (targets entry.js) 35 | (action 36 | (run 37 | %{bin:js_of_ocaml} 38 | --export 39 | %{dep:export.txt} 40 | --effects 41 | cps 42 | --toplevel 43 | +toplevel.js 44 | +dynlink.js 45 | %{dep:entry.bc} 46 | -o 47 | %{targets}))) 48 | 49 | (alias 50 | (name dev) 51 | (deps entry_dev.js)) 52 | 53 | (alias 54 | (name prod) 55 | (deps entry.js)) 56 | -------------------------------------------------------------------------------- /dune-project: -------------------------------------------------------------------------------- 1 | (lang dune 2.0) 2 | (generate_opam_files true) 3 | 4 | (name sketch_engine) 5 | (version 0.0.2) 6 | 7 | (authors "Khoa Nguyen" "Javier Chávarri") 8 | (license "Apache-2.0") 9 | (source (uri "git+https://github.com/Sketch-sh/engine.git")) 10 | (maintainers "javier.chavarri@ahrefs.com") 11 | (homepage "https://github.com/Sketch-sh/engine") 12 | (bug_reports "https://github.com/Sketch-sh/engine/issues") 13 | (documentation "https://github.com/Sketch-sh/engine") 14 | 15 | (package 16 | (name sketch_engine) 17 | (synopsis "Toplevel functionality for https://github.com/Sketch-sh/sketch-sh") 18 | (description "In-browser compiler for https://github.com/Sketch-sh/sketch-sh") 19 | (depends 20 | ;; General system dependencies 21 | dune 22 | (ocaml (and (>= 5.3.0) (< 5.4))) 23 | 24 | ;; Engine dependencies 25 | (js_of_ocaml (<= 6.2.0)) 26 | (js_of_ocaml-compiler (<= 6.2.0)) 27 | (js_of_ocaml-ppx (<= 6.2.0)) 28 | (js_of_ocaml-toplevel (<= 6.2.0)) 29 | (reason (<= 3.17.0)) 30 | 31 | ;; Dev dependencies 32 | (ocamlformat :dev) 33 | (ocaml-lsp-server :dev) 34 | )) 35 | -------------------------------------------------------------------------------- /sketch_engine.opam: -------------------------------------------------------------------------------- 1 | # This file is generated by dune, edit dune-project instead 2 | opam-version: "2.0" 3 | version: "0.0.2" 4 | synopsis: "Toplevel functionality for https://github.com/Sketch-sh/sketch-sh" 5 | description: "In-browser compiler for https://github.com/Sketch-sh/sketch-sh" 6 | maintainer: ["javier.chavarri@ahrefs.com"] 7 | authors: ["Khoa Nguyen" "Javier Chávarri"] 8 | license: "Apache-2.0" 9 | homepage: "https://github.com/Sketch-sh/engine" 10 | doc: "https://github.com/Sketch-sh/engine" 11 | bug-reports: "https://github.com/Sketch-sh/engine/issues" 12 | depends: [ 13 | "dune" 14 | "ocaml" {>= "5.3.0" & < "5.4"} 15 | "js_of_ocaml" {<= "6.2.0"} 16 | "js_of_ocaml-compiler" {<= "6.2.0"} 17 | "js_of_ocaml-ppx" {<= "6.2.0"} 18 | "js_of_ocaml-toplevel" {<= "6.2.0"} 19 | "reason" {<= "3.17.0"} 20 | "ocamlformat" {dev} 21 | "ocaml-lsp-server" {dev} 22 | ] 23 | build: [ 24 | ["dune" "subst"] {pinned} 25 | [ 26 | "dune" 27 | "build" 28 | "-p" 29 | name 30 | "-j" 31 | jobs 32 | "@install" 33 | "@runtest" {with-test} 34 | "@doc" {with-doc} 35 | ] 36 | ] 37 | dev-repo: "git+https://github.com/Sketch-sh/engine.git" 38 | -------------------------------------------------------------------------------- /src/engine/types.re: -------------------------------------------------------------------------------- 1 | open Js_of_ocaml; 2 | 3 | let js_of_position = pos => [%js 4 | {val line = pos.Lexing.pos_lnum; val col = pos.pos_cnum - pos.pos_bol} 5 | ]; 6 | 7 | let js_of_location = ({Location.loc_start, loc_end, loc_ghost: _}) => 8 | Js.array([|js_of_position(loc_start), js_of_position(loc_end)|]); 9 | 10 | type execContent = { 11 | loc: option(Location.t), 12 | value: string, 13 | stderr: string, 14 | stdout: string, 15 | }; 16 | 17 | let js_of_execContent = ({loc, value, stderr, stdout}) => [%js 18 | { 19 | val loc = loc |> Utils.Option.map(js_of_location) |> Js.Opt.option; 20 | val value = Js.string(value); 21 | val stderr = Js.string(stderr); 22 | val stdout = Js.string(stdout) 23 | } 24 | ]; 25 | 26 | type execResult = result(execContent, execContent); 27 | 28 | let js_of_execResult = 29 | fun 30 | | Ok(execContent) => [%js 31 | { 32 | val kind = Js.string("Ok"); 33 | val value = js_of_execContent(execContent) 34 | } 35 | ] 36 | | Error(execContent) => [%js 37 | { 38 | val kind = Js.string("Error"); 39 | val value = js_of_execContent(execContent) 40 | } 41 | ]; 42 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # sketch-engine 2 | Exposes toplevel functionality for https://github.com/Sketch-sh/sketch-sh 3 | 4 | ## Installation 5 | This project uses https://opam.ocaml.org/. 6 | 7 | install opam: https://opam.ocaml.org/doc/Install.html 8 | 9 | create new local switch 10 | ```bash 11 | make create-switch 12 | ``` 13 | 14 | install `dune` in the newly created switch: 15 | ```bash 16 | opam install dune 17 | ``` 18 | 19 | install dependencies: 20 | 21 | ```bash 22 | make install && \ 23 | yarn install 24 | ``` 25 | 26 | you might need to install `reason.dev` package which is retrieved from repository (as 4.13 compatible version is not published in opam as of when this readme was last written): 27 | 28 | ```bash 29 | opam install reason.dev 30 | ``` 31 | 32 | ## Build 33 | 34 | - For engine and packager development: 35 | 36 | ``` 37 | make engine 38 | ``` 39 | 40 | - For compiling engine to Javascript (this takes awhile): 41 | 42 | ``` 43 | make js 44 | ```` 45 | 46 | Build artifacts in `build/engine` 47 | 48 | - For compiling packages to Javscript 49 | 50 | ``` 51 | make packages 52 | ``` 53 | 54 | Build artifacts in `build/packages` 55 | 56 | ## Adding new package to the sandbox 57 | 58 | ``` 59 | esy @sandbox add @opam/PACKAGE_NAME 60 | ``` 61 | 62 | Open `sandbox.json` and add the name of the package to `esy.build` 63 | 64 | ## Test 65 | 66 | ``` 67 | make test 68 | ``` 69 | -------------------------------------------------------------------------------- /src/packager/utils.re: -------------------------------------------------------------------------------- 1 | let execute = (~verbose, cmd) => { 2 | let s = String.concat(" ", cmd); 3 | if (verbose^) { 4 | Printf.printf("Executing: %s\n", s); 5 | }; 6 | let ret = Unix.open_process_in(s); 7 | let output = ref(""); 8 | try ( 9 | while (true) { 10 | let l = input_line(ret); 11 | output := output^ ++ l ++ "\n"; 12 | } 13 | ) { 14 | | End_of_file => () 15 | }; 16 | output^ |> String.trim; 17 | }; 18 | 19 | let replace = (~find, ~replaceWith) => 20 | Str.global_replace(Str.regexp_string(find), replaceWith); 21 | 22 | let writeFileSync = (~path, content) => { 23 | let channel = open_out(path); 24 | output_string(channel, content); 25 | close_out(channel); 26 | }; 27 | 28 | let maybeStat = path => 29 | try (Some(Unix.stat(path))) { 30 | | Unix.Unix_error(Unix.ENOENT, _, _) => None 31 | }; 32 | 33 | let isDirectory = path => 34 | switch (maybeStat(path)) { 35 | | Some({Unix.st_kind: Unix.S_DIR, _}) => true 36 | | _ => false 37 | }; 38 | 39 | let exists = (path) => 40 | switch (maybeStat(path)) { 41 | | None => false 42 | | Some(_) => true 43 | }; 44 | 45 | let rec mkdirp = dest => 46 | if (!exists(dest)) { 47 | let parent = Filename.dirname(dest); 48 | mkdirp(parent); 49 | Unix.mkdir(dest, 0o740); 50 | }; 51 | 52 | let toSafePackageName = packageName => 53 | packageName 54 | |> replace(~find="-", ~replaceWith="_") 55 | |> replace(~find=".", ~replaceWith="_"); 56 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | defaults: &defaults 2 | working_directory: ~/evaluator 3 | docker: 4 | - image: circleci/node:10 5 | 6 | version: 2 7 | jobs: 8 | build: 9 | <<: *defaults 10 | environment: 11 | TERM: xterm 12 | NPM_CONFIG_PREFIX: "~/.npm-global" 13 | 14 | steps: 15 | - checkout 16 | - restore_cache: 17 | key: v1-deps-{{ .Branch }}-{{ checksum "sketch.esy.lock.json" }}-{{ checksum "sandbox.esy.lock.json" }}-{{ checksum "esy.lock.json" }} 18 | key: v1-deps-{{ .Branch }} 19 | key: v1-deps 20 | - run: 21 | name: Install esy 22 | command: | 23 | mkdir -p $NPM_CONFIG_PREFIX 24 | npm config set prefix $NPM_CONFIG_PREFIX 25 | eval "echo 'export PATH=$PATH:$(npm -g bin)'" >> $BASH_ENV 26 | npm install -g esy 27 | 28 | - run: 29 | name: Install Dependencies 30 | command: | 31 | echo $PATH 32 | esy install 33 | esy @sketch install 34 | esy @sandbox install 35 | - run: 36 | name: Build and test 37 | command: | 38 | make all 39 | make packages 40 | make test 41 | - save_cache: 42 | key: v1-deps-{{ .Branch }}-{{ checksum "sketch.esy.lock.json" }}-{{ checksum "sandbox.esy.lock.json" }}-{{ checksum "esy.lock.json" }} 43 | paths: 44 | - ~/.esy 45 | - ./_esy 46 | - store_artifacts: 47 | path: build 48 | destination: build 49 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | project_name = sketch_engine 2 | 3 | opam_file = $(project_name).opam 4 | 5 | .DEFAULT_GOAL := help 6 | 7 | .PHONY: help 8 | help: ## Print this help message 9 | @echo "List of available make commands"; 10 | @echo ""; 11 | @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-15s\033[0m %s\n", $$1, $$2}'; 12 | @echo ""; 13 | 14 | .PHONY: create-switch 15 | create-switch: 16 | opam switch create . 5.3.0 --deps-only 17 | 18 | .PHONY: install 19 | install: $(opam_file) ## Alias to update the opam file and install the needed deps 20 | 21 | .PHONY: format 22 | format: ## Format the codebase with ocamlformat 23 | opam exec -- dune build @fmt --auto-promote 24 | 25 | .PHONY: build 26 | build: ## Build the project, including non installable libraries and executables 27 | opam exec -- dune build @@default 28 | 29 | .PHONY: clean 30 | clean: ## Clean the project 31 | opam exec -- dune clean 32 | rm -rf build 33 | 34 | .PHONY: js_dev 35 | js_dev: ## Create engine .js artifact in dev mode 36 | # Compiling engine to Javascript with dev mode 37 | opam exec -- dune build @@src/entry/dev 38 | mkdir -p build/engine 39 | cp _build/default/src/entry/entry_dev.js ./build/engine/engine.js 40 | 41 | .PHONY: js_prod 42 | js_prod: ## Create engine .js artifact in prod mode 43 | # Compiling engine to Javascript with prod mode (no --pretty) 44 | opam exec -- dune build @@src/entry/prod 45 | mkdir -p build/engine 46 | cp _build/default/src/entry/entry.js ./build/engine/engine.js 47 | 48 | .PHONY: packages 49 | packages: engine ## Compiling libraries to Javascript 50 | sketch.packager --output build/packages base containers lwt owl-base re ocamlgraph sexplib unix 51 | 52 | .PHONY: test 53 | test: js_prod ## Run end-to-end tests 54 | yarn test 55 | 56 | .PHONY: test_promote 57 | test_promote: js_prod ## Run end-to-end tests and promote snapshot 58 | yarn test-promote 59 | 60 | # Update the package dependencies when new deps are added to dune-project 61 | $(opam_file): dune-project $(opam_file).template 62 | -opam exec -- dune build @install # Update the $(project_name).opam file 63 | opam install . --deps-only # Install the new dependencies 64 | -------------------------------------------------------------------------------- /test/mod_use.test.js: -------------------------------------------------------------------------------- 1 | const { evaluator: e } = require("./engine.js"); 2 | const objPath = require("object-path"); 3 | 4 | test("mod_use valid file", () => { 5 | e.reset(); 6 | let insertModule = e.insertModule( 7 | "awesome", 8 | `let x = 1; let y = 2; let z = 3;`, 9 | "re" 10 | ); 11 | 12 | expect(objPath.get(insertModule, "kind")).toBe("Ok"); 13 | 14 | let result = e 15 | .execute("let x = Awesome.x; let y = Awesome.y; let z = Awesome.z;") 16 | .map(phr => objPath.get(phr, "value.value")) 17 | .map(str => str.trim()); 18 | 19 | expect(result).toEqual([ 20 | "let x: int = 1;", 21 | "let y: int = 2;", 22 | "let z: int = 3;" 23 | ]); 24 | }); 25 | 26 | test("mod_use valid file ml syntax", () => { 27 | e.reset(); 28 | let insertModule = e.insertModule( 29 | "awesome", 30 | `let x = 1;; let y = 2;; let z = 3;;`, 31 | "ml" 32 | ); 33 | 34 | expect(objPath.get(insertModule, "kind")).toBe("Ok"); 35 | 36 | e.reasonSyntax(); 37 | 38 | let result = e 39 | .execute("let x = Awesome.x; let y = Awesome.y; let z = Awesome.z;") 40 | .map(phr => objPath.get(phr, "value.value")) 41 | .map(str => str.trim()); 42 | 43 | expect(result).toEqual([ 44 | "let x: int = 1;", 45 | "let y: int = 2;", 46 | "let z: int = 3;" 47 | ]); 48 | }); 49 | 50 | test("mod_use with syntax error", () => { 51 | e.reset(); 52 | let insertModule = e.insertModule("syntax_error", `let x = () =>;`, "re"); 53 | 54 | expect(objPath.get(insertModule, "kind")).toBe("Error"); 55 | expect(objPath.get(insertModule, "value").trim()).toMatchInlineSnapshot(` 56 | "File "/static/Syntax_error.re", line 1, characters 13-14: 57 | Error: Syntax error" 58 | `); 59 | }); 60 | 61 | test("mod_use with type error", () => { 62 | e.reset(); 63 | let insertModule = e.insertModule("type_error", `let x: string = 1`, "re"); 64 | 65 | expect(objPath.get(insertModule, "kind")).toBe("Error"); 66 | expect(objPath.get(insertModule, "value").trim()).toMatchInlineSnapshot(` 67 | "File "/static/Type_error.re", line 1, characters 16-17: 68 | 1 | let x: string = 1 69 | ^ 70 | Error: The constant 1 has type int but an expression was expected of type 71 | string" 72 | `); 73 | }); 74 | -------------------------------------------------------------------------------- /test/reason_syntax.test.js: -------------------------------------------------------------------------------- 1 | const { evaluator: e } = require("./engine.js"); 2 | const objPath = require("object-path"); 3 | 4 | let count = (result, path, value) => 5 | result.reduce((acc, phr_result) => { 6 | let valueAtPath = objPath.get(phr_result, path); 7 | if (typeof value === "function") { 8 | if (value(valueAtPath)) { 9 | return acc + 1; 10 | } 11 | } else if (valueAtPath === value) { 12 | return acc + 1; 13 | } 14 | return acc; 15 | }, 0); 16 | 17 | let code = [ 18 | // 0 19 | `print_endline("awesome") 20 | 21 | type say = Hello | Goodbye; 22 | 23 | fun 24 | | Hello => () 25 | | Goodbye => () 26 | | _ => (); 27 | 28 | let a = 1`, 29 | // 1 30 | `print_endline("Another stdout")`, 31 | // 2 32 | `let a = ref(1); print_int(a^);`, 33 | // 3 34 | `let rec factorial = (n) => n <= 0 ? 1 : n * factorial(n - 1); factorial(6);`, 35 | // 4 36 | `type tree = 37 | | Leaf 38 | | Node(int, tree, tree) 39 | 40 | let rec sum = 41 | fun 42 | | Leaf => 0 43 | | Node(value, left, right) => value + sum(left) + sum(right) 44 | 45 | let myTree = 46 | Node( 47 | 1, 48 | Node(2, Node(4, Leaf, Leaf), Node(6, Leaf, Leaf)), 49 | Node(3, Node(5, Leaf, Leaf), Node(7, Leaf, Leaf)), 50 | ) 51 | 52 | sum(myTree)`, 53 | ]; 54 | 55 | describe.each` 56 | nth | phr_count | ok | error | warning | stdout 57 | ${0} | ${4} | ${4} | ${0} | ${1} | ${1} 58 | ${1} | ${1} | ${1} | ${0} | ${0} | ${1} 59 | ${2} | ${2} | ${2} | ${0} | ${0} | ${1} 60 | ${3} | ${2} | ${2} | ${0} | ${0} | ${0} 61 | ${4} | ${4} | ${4} | ${0} | ${0} | ${0} 62 | `("$nth", ({ nth, phr_count, ok, error, warning, stdout }) => { 63 | let result = e.execute(code[nth]); 64 | 65 | test(`have ${phr_count} phrases`, () => { 66 | expect(result.length).toBe(phr_count); 67 | }); 68 | 69 | test(`have ${ok} ok phrases`, () => { 70 | expect(count(result, "kind", "Ok")).toBe(ok); 71 | }); 72 | 73 | test(`have ${error} error phrases`, () => { 74 | expect(count(result, "kind", "Error")).toBe(error); 75 | }); 76 | 77 | test(`have ${warning} warnings`, () => { 78 | expect( 79 | count(result, "value.stderr", stderr => stderr.indexOf("Warning") > 0) 80 | ).toBe(warning); 81 | }); 82 | 83 | test(`have ${stdout} stdout`, () => { 84 | expect(count(result, "value.stdout", stderr => stderr !== "")).toBe(stdout); 85 | }); 86 | 87 | test("snapshot", () => { 88 | expect(result).toMatchSnapshot(); 89 | }); 90 | }); 91 | -------------------------------------------------------------------------------- /test/ocaml_syntax.test.js: -------------------------------------------------------------------------------- 1 | const { evaluator: e } = require("./engine.js"); 2 | const objPath = require("object-path"); 3 | 4 | let count = (result, path, value) => 5 | result.reduce((acc, phr_result) => { 6 | let valueAtPath = objPath.get(phr_result, path); 7 | if (typeof value === "function") { 8 | if (value(valueAtPath)) { 9 | return acc + 1; 10 | } 11 | } else if (valueAtPath === value) { 12 | return acc + 1; 13 | } 14 | return acc; 15 | }, 0); 16 | 17 | let code = [ 18 | // 0 19 | `let _ = print_endline "awesome" 20 | type say = 21 | | Hello 22 | | Goodbye 23 | let _ = function | Hello -> () | Goodbye -> () | _ -> () 24 | let a = 1`, 25 | // 1 26 | `print_endline "Another stdout"`, 27 | // 2 28 | `let a = ref 1 29 | let _ = print_int (!a)`, 30 | // 3 31 | `let rec factorial n = 32 | match n <= 0 with | true -> 1 | false -> n * (factorial (n - 1)) 33 | let _ = factorial 6`, 34 | // 4 35 | `type tree = 36 | | Leaf 37 | | Node of int* tree* tree 38 | let rec sum = 39 | function 40 | | Leaf -> 0 41 | | Node (value,left,right)-> (value + (sum left)) + (sum right) 42 | 43 | let myTree = 44 | Node( 45 | 1, 46 | Node(2, Node(4, Leaf, Leaf), Node(6, Leaf, Leaf)), 47 | Node(3, Node(5, Leaf, Leaf), Node(7, Leaf, Leaf)) 48 | ) 49 | let _ = sum myTree` 50 | ]; 51 | 52 | e.mlSyntax(); 53 | describe.each` 54 | nth | phr_count | ok | error | warning | stdout 55 | ${0} | ${4} | ${4} | ${0} | ${1} | ${1} 56 | ${1} | ${1} | ${1} | ${0} | ${0} | ${1} 57 | ${2} | ${2} | ${2} | ${0} | ${0} | ${1} 58 | ${3} | ${2} | ${2} | ${0} | ${0} | ${0} 59 | ${4} | ${4} | ${4} | ${0} | ${0} | ${0} 60 | `("ocaml $nth", ({ nth, phr_count, ok, error, warning, stdout }) => { 61 | let result = e.execute(code[nth]); 62 | 63 | test(`have ${phr_count} phrases`, () => { 64 | expect(result.length).toBe(phr_count); 65 | }); 66 | 67 | test(`have ${ok} ok phrases`, () => { 68 | expect(count(result, "kind", "Ok")).toBe(ok); 69 | }); 70 | 71 | test(`have ${error} error phrases`, () => { 72 | expect(count(result, "kind", "Error")).toBe(error); 73 | }); 74 | 75 | test(`have ${warning} warnings`, () => { 76 | expect( 77 | count(result, "value.stderr", stderr => stderr.indexOf("Warning") > 0) 78 | ).toBe(warning); 79 | }); 80 | 81 | test(`have ${stdout} stdout`, () => { 82 | expect(count(result, "value.stdout", stderr => stderr !== "")).toBe(stdout); 83 | }); 84 | 85 | test("snapshot", () => { 86 | expect(result).toMatchSnapshot(); 87 | }); 88 | }); 89 | -------------------------------------------------------------------------------- /test/__snapshots__/general.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`directives: #help 1`] = ` 4 | "General 5 | #help 6 | Prints a list of all available directives, with corresponding argument type 7 | if appropriate. 8 | #quit 9 | Exit the toplevel. 10 | 11 | Loading code 12 | #cd 13 | Change the current working directory. 14 | #directory 15 | Add the given directory to search path for source and compiled files. 16 | #load 17 | Load in memory a bytecode object, produced by ocamlc. 18 | #load_rec 19 | As #load, but loads dependencies recursively. 20 | #mod_use 21 | Usage is identical to #use but #mod_use wraps the contents in a module. 22 | #remove_directory 23 | Remove the given directory from the search path. 24 | #show_dirs 25 | List directories currently in the search path. 26 | #use 27 | Read, compile and execute source phrases from the given file. 28 | #use_output 29 | Execute a command and read, compile and execute source phrases from its 30 | output. 31 | 32 | Environment queries 33 | #show 34 | Print the signatures of components from any of the categories below. 35 | #show_class 36 | Print the signature of the corresponding class. 37 | #show_class_type 38 | Print the signature of the corresponding class type. 39 | #show_constructor 40 | Print the signature of the corresponding value constructor. 41 | #show_exception 42 | Print the signature of the corresponding exception. 43 | #show_module 44 | Print the signature of the corresponding module. 45 | #show_module_type 46 | Print the signature of the corresponding module type. 47 | #show_type 48 | Print the signature of the corresponding type constructor. 49 | #show_val 50 | Print the signature of the corresponding value. 51 | 52 | js_of_ocaml 53 | #debug_off 54 | Disable debug for the given section 55 | #debug_on 56 | Enable debug for the given section 57 | #disable 58 | Disable the given flag 59 | #enable 60 | Enable the given flag 61 | #tailcall 62 | Set the depth of tail calls before going through a trampoline 63 | 64 | Pretty-printing 65 | #install_printer 66 | Registers a printer for values of a certain type. 67 | #print_depth 68 | Limit the printing of values to a maximal depth of n. 69 | #print_length 70 | Limit the number of value nodes printed to at most n. 71 | #remove_printer 72 | Remove the named function from the table of toplevel printers. 73 | 74 | Tracing 75 | #trace 76 | All calls to the function named function-name will be traced. 77 | #untrace 78 | Stop tracing the given function. 79 | #untrace_all 80 | Stop tracing all functions traced so far. 81 | 82 | Compiler options 83 | #debug 84 | Choose whether to generate debugging events. 85 | #labels 86 | Choose whether to ignore labels in function types. 87 | #ppx 88 | After parsing, pipe the abstract syntax tree through the preprocessor 89 | command. 90 | #principal 91 | Make sure that all types are derived in a principal way. 92 | #rectypes 93 | Allow arbitrary recursive types during type-checking. 94 | #warn_error 95 | Treat as errors the warnings enabled by the argument. 96 | #warnings 97 | Enable or disable warnings according to the argument." 98 | `; 99 | -------------------------------------------------------------------------------- /test/refmt.test.js: -------------------------------------------------------------------------------- 1 | const { refmt } = require("./engine.js"); 2 | 3 | test("api shape", () => { 4 | expect(Object.keys(refmt)).toMatchInlineSnapshot(` 5 | [ 6 | "parseRE", 7 | "parseREI", 8 | "parseML", 9 | "parseMLI", 10 | "printRE", 11 | "printREI", 12 | "printML", 13 | "printMLI", 14 | ] 15 | `); 16 | }); 17 | 18 | describe("same language", () => { 19 | test("parseRE -> printRE", () => { 20 | expect( 21 | refmt.printRE(refmt.parseRE(`let f = (a) => a + 1; print_int(f(5))`)) 22 | ).toMatchInlineSnapshot(` 23 | "let f = a => a + 1; 24 | print_int(f(5)); 25 | " 26 | `); 27 | }); 28 | test("parseREI -> printREI", () => { 29 | expect(refmt.printREI(refmt.parseREI(`let f: (~a: string) => int`))) 30 | .toMatchInlineSnapshot(` 31 | "let f: (~a: string) => int; 32 | " 33 | `); 34 | }); 35 | 36 | test("parseML -> printML", () => { 37 | expect( 38 | refmt.printML(refmt.parseML(`let f a = a + 1 print_int @@ f 5`)) 39 | ).toMatchInlineSnapshot(`"let f a = (a + (1 print_int)) @@ (f 5)"`); 40 | }); 41 | test("parseMLI -> printMLI", () => { 42 | expect( 43 | refmt.printMLI(refmt.parseMLI(`val f : a:string -> int`)) 44 | ).toMatchInlineSnapshot(`"val f : a:string -> int"`); 45 | }); 46 | }); 47 | 48 | describe("cross language", () => { 49 | test("parseRE -> printML", () => { 50 | expect( 51 | refmt.printML(refmt.parseRE(`let f = (a) => a + 1; print_int(f(5))`)) 52 | ).toMatchInlineSnapshot(` 53 | "let f a = a + 1 54 | ;;print_int (f 5)" 55 | `); 56 | }); 57 | 58 | test("parseML -> printRE", () => { 59 | expect( 60 | refmt.printRE(refmt.parseML(`let f a = a + 1 let () = print_int @@ f 5`)) 61 | ).toMatchInlineSnapshot(` 62 | "let f = a => a + 1; 63 | let () = print_int @@ f(5); 64 | " 65 | `); 66 | }); 67 | }); 68 | 69 | describe("error", () => { 70 | test("parseRE", () => { 71 | try { 72 | refmt.parseRE(`let f => =`); 73 | } catch (error) { 74 | expect(error).toMatchInlineSnapshot(` 75 | { 76 | "location": [ 77 | [ 78 | 0, 79 | { 80 | "col": 6, 81 | "line": 0, 82 | }, 83 | { 84 | "col": 7, 85 | "line": 0, 86 | }, 87 | ], 88 | ], 89 | "message": "Line 1, characters 6-8: 90 | Error: syntax error, consider adding a \`;' before 91 | 92 | ", 93 | } 94 | `); 95 | } 96 | }); 97 | test("parseMLI", () => { 98 | try { 99 | refmt.parseMLI(`val f: `); 100 | } catch (error) { 101 | expect(error).toMatchInlineSnapshot(` 102 | [ 103 | 0, 104 | [ 105 | 248, 106 | "Syntaxerr.Error", 107 | 29, 108 | ], 109 | [ 110 | 5, 111 | [ 112 | 0, 113 | [ 114 | 0, 115 | "", 116 | 1, 117 | 0, 118 | 7, 119 | ], 120 | [ 121 | 0, 122 | "", 123 | 1, 124 | 0, 125 | 7, 126 | ], 127 | 0, 128 | ], 129 | ], 130 | ] 131 | `); 132 | } 133 | }); 134 | test("parseRE", () => { 135 | try { 136 | refmt.parseRE(`type X = Foo`); 137 | } catch (error) { 138 | expect(error).toMatchInlineSnapshot(` 139 | { 140 | "location": [ 141 | [ 142 | 0, 143 | { 144 | "col": 5, 145 | "line": 0, 146 | }, 147 | { 148 | "col": 5, 149 | "line": 0, 150 | }, 151 | ], 152 | ], 153 | "message": " 154 | Line 1, characters 5-6: 155 | Error: a type name must start with a lower-case letter or an underscore 156 | 157 | ", 158 | } 159 | `); 160 | } 161 | }); 162 | }); 163 | -------------------------------------------------------------------------------- /src/packager/packager.re: -------------------------------------------------------------------------------- 1 | /** 2 | * How this works? 3 | * 1. Build a dependencies list of the current package in the correct loading order 4 | * ocamlfind query PACKAGE_NAME -r -p-format -predicates byte 5 | * 2. With that list of all packages. We can find cmi and cma files and building them one by one 6 | * ocamlfind query PACKAGE_NAME -i-format -predicates byte 7 | * ocamlfind query PACKAGE_NAME -a-format -predicates byte 8 | * 3. There are some deduplication going on so we don't build the package twice 9 | */ 10 | open Utils; 11 | let verbose = ref(false); 12 | let output = ref(None); 13 | 14 | let execute = execute(~verbose); 15 | 16 | let usage = () => { 17 | Format.eprintf("Usage: sketch [find packages] @."); 18 | Format.eprintf(" --verbose@."); 19 | Format.eprintf(" --output\t\t\tBuild output directory@."); 20 | Format.eprintf(" --help\t\t\tDisplay usage@."); 21 | exit(1); 22 | }; 23 | 24 | let rec scan_args = acc => 25 | fun 26 | | ["--verbose", ...xs] => { 27 | verbose := true; 28 | scan_args(acc, xs); 29 | } 30 | | ["--help" | "-h", ..._] => usage() 31 | | ["--output", outputDir, ...xs] => { 32 | output := Some(outputDir); 33 | scan_args(acc, xs); 34 | } 35 | | [x, ...xs] => scan_args([x, ...acc], xs) 36 | | [] => List.rev(acc); 37 | 38 | let findDeps = name => 39 | execute([ 40 | "ocamlfind", 41 | "query", 42 | name, 43 | "-r", 44 | "-p-format", 45 | "-predicates byte", 46 | ]); 47 | let findCmi = name => 48 | execute(["ocamlfind", "query", name, "-i-format", "-predicates byte"]); 49 | let findCma = name => 50 | execute(["ocamlfind", "query", name, "-a-format", "-predicates byte"]); 51 | 52 | let buildLib = (~outputDir, packageName) => { 53 | if (verbose^) { 54 | Printf.printf("Building library with jsoo: %s\n", packageName); 55 | }; 56 | let safePkgName = toSafePackageName(packageName); 57 | let funcName = "sketch__private__" ++ safePkgName; 58 | 59 | let cmaPath = findCma(packageName); 60 | switch (String.trim(cmaPath)) { 61 | | "" => print_endline("Can't find cma file for package " ++ packageName) 62 | | _ => 63 | execute([ 64 | "js_of_ocaml", 65 | "--wrap-with-fun=" ++ funcName, 66 | "--toplevel", 67 | findCmi(packageName), 68 | findCma(packageName), 69 | "-o", 70 | Filename.concat(outputDir, safePkgName ++ ".lib.sketch.js"), 71 | ]) 72 | |> ignore 73 | }; 74 | }; 75 | 76 | module SS = Set.Make(String); 77 | module LibMap = Map.Make(String); 78 | 79 | /* 80 | * These packages are for compatibility with OCaml 81 | * But Sketch only supports OCaml > 4.06 82 | * So this will result in not found packages 83 | */ 84 | 85 | let excludedPackages = SS.of_list(["uchar", "result", "bytes"]); 86 | 87 | module J = Json; 88 | 89 | let build = (~outputDir, toplevelPkgs) => { 90 | /* if (verbose^) { 91 | Printf.printf("Building dependencies for: %s\n", toplevelPkg); 92 | }; */ 93 | let libsToBuild = ref(SS.empty); 94 | let libsWithDependencies = 95 | toplevelPkgs 96 | |> List.fold_left( 97 | (map: LibMap.t(list(string)), pkg) => { 98 | let allDeps = 99 | findDeps(pkg) 100 | |> String.split_on_char('\n') 101 | |> List.filter(name => name != "") 102 | |> List.filter(name => !SS.mem(name, excludedPackages)); 103 | 104 | let _ = 105 | allDeps 106 | |> List.iter(name => libsToBuild := libsToBuild^ |> SS.add(name)); 107 | 108 | map |> LibMap.add(pkg, allDeps); 109 | }, 110 | LibMap.empty, 111 | ); 112 | 113 | let _ = libsToBuild^ |> SS.iter(name => buildLib(~outputDir, name)); 114 | let _ = 115 | LibMap.fold( 116 | (topName, libs, acc) => { 117 | let libField = 118 | J.Object([ 119 | (topName, J.Array(libs |> List.map(name => J.String(name)))), 120 | ]); 121 | [libField, ...acc]; 122 | }, 123 | libsWithDependencies, 124 | [], 125 | ) 126 | |> (list => J.Array(list)) 127 | |> (json => J.stringify(json)) 128 | |> writeFileSync(~path=Filename.concat(outputDir, "list.json")); 129 | (); 130 | }; 131 | 132 | let _ = { 133 | let args = List.tl(Array.to_list(Sys.argv)); 134 | let args = scan_args([], args); 135 | 136 | let outputDir = 137 | switch (output^) { 138 | | None => Filename.concat(Sys.getcwd(), "packages") 139 | | Some(output) => output 140 | }; 141 | mkdirp(outputDir); 142 | 143 | build(~outputDir, args); 144 | print_endline("Done !"); 145 | }; 146 | -------------------------------------------------------------------------------- /src/engine/refmtJsApi.ml: -------------------------------------------------------------------------------- 1 | open Js_of_ocaml 2 | (* 3 | This file is taken and modified from 4 | https://github.com/facebook/reason/blob/9bb16162a68486851069f295bc19d9fb81fca763/bspacks/refmtJsApi.ml 5 | *) 6 | 7 | (* External for wrapping OCaml functions for JavaScript calls in OCaml 5 *) 8 | external fun_to_js: int -> ('a -> 'b) -> < .. > Js.t = "caml_js_wrap_callback_strict" 9 | 10 | module RE = Reason.Reason_toolchain.RE 11 | module ML = Reason.Reason_toolchain.ML 12 | module Reason_errors = Reason.Reason_errors 13 | 14 | let locationToJsObj (loc: Location.t) = 15 | let (_file, start_line, start_char) = Location.get_pos_info loc.loc_start in 16 | let (_, end_line, end_char) = Location.get_pos_info loc.loc_end in 17 | (* The right way of handling ocaml syntax error locations. Do do this at home 18 | copied over from 19 | https://github.com/BuckleScript/bucklescript/blob/2ad2310f18567aa13030cdf32adb007d297ee717/jscomp/super_errors/super_location.ml#L73 20 | *) 21 | let normalizedRange = 22 | if start_char == -1 || end_char == -1 then 23 | (* happens sometimes. Syntax error for example *) 24 | None 25 | else if start_line = end_line && start_char >= end_char then 26 | (* in some errors, starting char and ending char can be the same. But 27 | since ending char was supposed to be exclusive, here it might end up 28 | smaller than the starting char if we naively did start_char + 1 to 29 | just the starting char and forget ending char *) 30 | let same_char = start_char + 1 in 31 | Some ((start_line, same_char), (end_line, same_char)) 32 | else 33 | (* again: end_char is exclusive, so +1-1=0 *) 34 | Some ((start_line, start_char + 1), (end_line, end_char)) 35 | in 36 | match normalizedRange with 37 | | None -> Js.undefined 38 | | Some ((start_line, start_line_start_char), (end_line, end_line_end_char)) -> 39 | (* 40 | Converting from 1-indexed to 0-indexed 41 | The above logic is so dangerous that I don't even want to touch it 42 | *) 43 | let start_line = start_line - 1 in 44 | let start_line_start_char = start_line_start_char - 1 in 45 | let end_line = end_line - 1 in 46 | let end_line_end_char = end_line_end_char - 1 in 47 | 48 | let intToJsFloatToAny i = 49 | i |> float_of_int |> Js.number_of_float |> Js.Unsafe.inject 50 | in 51 | Js.def (Js.array [| 52 | Js.Unsafe.obj [| 53 | ("line", intToJsFloatToAny start_line); 54 | ("col", intToJsFloatToAny start_line_start_char); 55 | |], 56 | Js.Unsafe.obj [| 57 | ("line", intToJsFloatToAny end_line); 58 | ("col", intToJsFloatToAny end_line_end_char); 59 | |] 60 | |] 61 | ) 62 | 63 | let parseWith f code = 64 | (* you can't throw an Error here. jsoo parses the string and turns it 65 | into something else *) 66 | let throwAnything = Js.Unsafe.js_expr "function(a) {throw a}" in 67 | try 68 | (code 69 | |> Js.to_string 70 | |> Lexing.from_string 71 | |> f) 72 | with 73 | (* from reason *) 74 | | Reason_errors.Reason_error (err, location) -> 75 | let jsLocation = locationToJsObj location in 76 | Reason_errors.report_error ~loc:location Format.str_formatter err; 77 | let errorString = Format.flush_str_formatter () in 78 | let jsError = 79 | Js.Unsafe.obj [| 80 | ("message", Js.Unsafe.inject (Js.string errorString)); 81 | ("location", Js.Unsafe.inject jsLocation); 82 | |] 83 | in 84 | Js.Unsafe.fun_call throwAnything [|Js.Unsafe.inject jsError|] 85 | 86 | let parseRE = parseWith RE.implementation_with_comments 87 | let parseREI = parseWith RE.interface_with_comments 88 | let parseML = parseWith ML.implementation_with_comments 89 | let parseMLI = parseWith ML.interface_with_comments 90 | 91 | 92 | let printWith f structureAndComments = 93 | f Format.str_formatter structureAndComments; 94 | Format.flush_str_formatter () |> Js.string 95 | 96 | let printRE = printWith RE.print_implementation_with_comments 97 | let printREI = printWith RE.print_interface_with_comments 98 | let printML = printWith ML.print_implementation_with_comments 99 | let printMLI = printWith ML.print_interface_with_comments 100 | 101 | let api = object%js 102 | val parseRE = fun_to_js 1 parseRE 103 | val parseREI = fun_to_js 1 parseREI 104 | val parseML = fun_to_js 1 parseML 105 | val parseMLI = fun_to_js 1 parseMLI 106 | 107 | val printRE = fun_to_js 1 printRE 108 | val printREI = fun_to_js 1 printREI 109 | val printML = fun_to_js 1 printML 110 | val printMLI = fun_to_js 1 printMLI 111 | end; 112 | -------------------------------------------------------------------------------- /src/engine/evaluator.ml: -------------------------------------------------------------------------------- 1 | open Js_of_ocaml 2 | open Js_of_ocaml_toplevel 3 | 4 | (* External for wrapping OCaml functions for JavaScript calls in OCaml 5 *) 5 | external fun_to_js: int -> ('a -> 'b) -> < .. > Js.t = "caml_js_wrap_callback_strict" 6 | 7 | module Reason_toolchain = Reason.Reason_toolchain 8 | module Reason_oprint = Reason.Reason_oprint 9 | 10 | module ToploopBackup = struct 11 | let parse_toplevel_phrase = !Toploop.parse_toplevel_phrase 12 | let parse_use_file = !Toploop.parse_use_file 13 | let print_out_value = !Toploop.print_out_value 14 | let print_out_type = !Toploop.print_out_type 15 | let print_out_class_type = !Toploop.print_out_class_type 16 | let print_out_module_type = !Toploop.print_out_module_type 17 | let print_out_type_extension = !Toploop.print_out_type_extension 18 | let print_out_sig_item = !Toploop.print_out_sig_item 19 | let print_out_signature = !Toploop.print_out_signature 20 | let print_out_phrase = !Toploop.print_out_phrase 21 | end 22 | 23 | let mlSyntax () = begin 24 | Toploop.parse_toplevel_phrase := ToploopBackup.parse_toplevel_phrase; 25 | Toploop.parse_use_file := ToploopBackup.parse_use_file; 26 | Toploop.print_out_value := ToploopBackup.print_out_value; 27 | Toploop.print_out_type := ToploopBackup.print_out_type; 28 | Toploop.print_out_class_type := ToploopBackup.print_out_class_type; 29 | Toploop.print_out_module_type := ToploopBackup.print_out_module_type; 30 | Toploop.print_out_type_extension := ToploopBackup.print_out_type_extension; 31 | Toploop.print_out_sig_item := ToploopBackup.print_out_sig_item; 32 | Toploop.print_out_signature := ToploopBackup.print_out_signature; 33 | Toploop.print_out_phrase := ToploopBackup.print_out_phrase 34 | end 35 | 36 | let reasonSyntax () = begin 37 | let open Reason_toolchain.From_current in 38 | let wrap f g fmt x = g fmt (f x) in 39 | Toploop.parse_toplevel_phrase := Reason_util.correctly_catch_parse_errors 40 | (fun x -> Reason_toolchain.To_current.copy_toplevel_phrase 41 | (Reason_toolchain.RE.toplevel_phrase x)); 42 | Toploop.parse_use_file := Reason_util.correctly_catch_parse_errors 43 | (fun x -> List.map Reason_toolchain.To_current.copy_toplevel_phrase 44 | (Reason_toolchain.RE.use_file x)); 45 | Toploop.print_out_value := 46 | wrap copy_out_value Reason_oprint.print_out_value; 47 | Toploop.print_out_type := 48 | wrap copy_out_type (Format_doc.deprecated Reason_oprint.print_out_type); 49 | Toploop.print_out_class_type := 50 | wrap copy_out_class_type (Format_doc.deprecated Reason_oprint.print_out_class_type); 51 | Toploop.print_out_module_type := 52 | wrap copy_out_module_type (Format_doc.deprecated Reason_oprint.print_out_module_type); 53 | Toploop.print_out_type_extension := 54 | wrap copy_out_type_extension (Format_doc.deprecated Reason_oprint.print_out_type_extension); 55 | Toploop.print_out_sig_item := 56 | wrap copy_out_sig_item (Format_doc.deprecated Reason_oprint.print_out_sig_item); 57 | Toploop.print_out_signature := 58 | wrap (List.map copy_out_sig_item) (Format_doc.deprecated Reason_oprint.print_out_signature); 59 | Toploop.print_out_phrase := 60 | wrap copy_out_phrase Reason_oprint.print_out_phrase; 61 | end 62 | 63 | type lang = RE | ML 64 | 65 | let stringToLang = 66 | function 67 | | "ml" | "ocaml" -> ML 68 | | "re" | "reason" 69 | | _ -> RE 70 | 71 | let langToExtension = 72 | function 73 | | RE -> "re" 74 | | ML -> "ml" 75 | 76 | let moduleToFileName moduleName lang = 77 | "/static/" ^ (String.capitalize_ascii moduleName) ^ "." ^ (langToExtension lang) 78 | 79 | let setup () = JsooTop.initialize () 80 | 81 | let insertModule moduleName content lang = 82 | begin 83 | let result = try 84 | let moduleName = Js.to_string moduleName in 85 | let content = Js.to_string content in 86 | let lang = Js.to_string lang in 87 | let lang = stringToLang lang in 88 | begin 89 | match lang with 90 | | ML -> mlSyntax() 91 | | RE -> reasonSyntax() 92 | end; 93 | 94 | let fileName = moduleToFileName moduleName lang in 95 | let _ = File__System.createOrUpdateFile fileName content in 96 | Execute.mod_use_file fileName 97 | with 98 | | exn -> 99 | let buffer = Buffer.create 100 in 100 | let formatter = Format.formatter_of_buffer buffer in 101 | Errors.report_error formatter exn; 102 | let error_message = Buffer.contents buffer in 103 | Error(error_message) in 104 | match result with 105 | | Ok(_) -> 106 | object%js 107 | val kind = Js.string "Ok" 108 | val value = Js.string "unit" 109 | end 110 | | Error(message) -> 111 | object%js 112 | val kind = Js.string "Error" 113 | val value = Js.string message 114 | end 115 | end 116 | 117 | let execute code = 118 | code 119 | |> Js.to_string 120 | |> Execute.eval 121 | |> List.map Execute.toString 122 | |> Array.of_list 123 | |> Js.array 124 | 125 | let () = begin 126 | setup (); 127 | reasonSyntax (); 128 | 129 | Js.export "evaluator" ( 130 | object%js 131 | val execute = fun_to_js 1 execute 132 | val reset = fun_to_js 1 setup 133 | val reasonSyntax = fun_to_js 1 reasonSyntax 134 | val mlSyntax = fun_to_js 1 mlSyntax 135 | val insertModule = fun_to_js 3 insertModule 136 | end); 137 | 138 | Js.export "refmt" RefmtJsApi.api 139 | end 140 | -------------------------------------------------------------------------------- /test/__snapshots__/reason_syntax.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`0 snapshot 1`] = ` 4 | [ 5 | { 6 | "kind": "Ok", 7 | "value": { 8 | "loc": [ 9 | { 10 | "col": 0, 11 | "line": 1, 12 | }, 13 | { 14 | "col": 24, 15 | "line": 1, 16 | }, 17 | ], 18 | "stderr": "", 19 | "stdout": "awesome 20 | ", 21 | "value": "- : unit = () 22 | ", 23 | }, 24 | }, 25 | { 26 | "kind": "Ok", 27 | "value": { 28 | "loc": [ 29 | { 30 | "col": 2, 31 | "line": 3, 32 | }, 33 | { 34 | "col": 28, 35 | "line": 3, 36 | }, 37 | ], 38 | "stderr": "", 39 | "stdout": "", 40 | "value": "type say = Hello | Goodbye; 41 | ", 42 | }, 43 | }, 44 | { 45 | "kind": "Ok", 46 | "value": { 47 | "loc": [ 48 | { 49 | "col": 2, 50 | "line": 5, 51 | }, 52 | { 53 | "col": 11, 54 | "line": 8, 55 | }, 56 | ], 57 | "stderr": "Line 8, characters 2-5: 58 | Warning 11 [redundant-case]: this match case is unused. 59 | ", 60 | "stdout": "", 61 | "value": "- : say => unit = 62 | ", 63 | }, 64 | }, 65 | { 66 | "kind": "Ok", 67 | "value": { 68 | "loc": [ 69 | { 70 | "col": 2, 71 | "line": 10, 72 | }, 73 | { 74 | "col": 11, 75 | "line": 10, 76 | }, 77 | ], 78 | "stderr": "", 79 | "stdout": "", 80 | "value": "let a: int = 1; 81 | ", 82 | }, 83 | }, 84 | ] 85 | `; 86 | 87 | exports[`1 snapshot 1`] = ` 88 | [ 89 | { 90 | "kind": "Ok", 91 | "value": { 92 | "loc": [ 93 | { 94 | "col": 0, 95 | "line": 1, 96 | }, 97 | { 98 | "col": 31, 99 | "line": 1, 100 | }, 101 | ], 102 | "stderr": "", 103 | "stdout": "Another stdout 104 | ", 105 | "value": "- : unit = () 106 | ", 107 | }, 108 | }, 109 | ] 110 | `; 111 | 112 | exports[`2 snapshot 1`] = ` 113 | [ 114 | { 115 | "kind": "Ok", 116 | "value": { 117 | "loc": [ 118 | { 119 | "col": 0, 120 | "line": 1, 121 | }, 122 | { 123 | "col": 14, 124 | "line": 1, 125 | }, 126 | ], 127 | "stderr": "", 128 | "stdout": "", 129 | "value": "let a: ref(int) = {contents: 1}; 130 | ", 131 | }, 132 | }, 133 | { 134 | "kind": "Ok", 135 | "value": { 136 | "loc": [ 137 | { 138 | "col": 16, 139 | "line": 1, 140 | }, 141 | { 142 | "col": 29, 143 | "line": 1, 144 | }, 145 | ], 146 | "stderr": "", 147 | "stdout": "1", 148 | "value": "- : unit = () 149 | ", 150 | }, 151 | }, 152 | ] 153 | `; 154 | 155 | exports[`3 snapshot 1`] = ` 156 | [ 157 | { 158 | "kind": "Ok", 159 | "value": { 160 | "loc": [ 161 | { 162 | "col": 0, 163 | "line": 1, 164 | }, 165 | { 166 | "col": 60, 167 | "line": 1, 168 | }, 169 | ], 170 | "stderr": "", 171 | "stdout": "", 172 | "value": "let factorial: int => int = ; 173 | ", 174 | }, 175 | }, 176 | { 177 | "kind": "Ok", 178 | "value": { 179 | "loc": [ 180 | { 181 | "col": 62, 182 | "line": 1, 183 | }, 184 | { 185 | "col": 74, 186 | "line": 1, 187 | }, 188 | ], 189 | "stderr": "", 190 | "stdout": "", 191 | "value": "- : int = 720 192 | ", 193 | }, 194 | }, 195 | ] 196 | `; 197 | 198 | exports[`4 snapshot 1`] = ` 199 | [ 200 | { 201 | "kind": "Ok", 202 | "value": { 203 | "loc": [ 204 | { 205 | "col": 0, 206 | "line": 1, 207 | }, 208 | { 209 | "col": 25, 210 | "line": 3, 211 | }, 212 | ], 213 | "stderr": "", 214 | "stdout": "", 215 | "value": "type tree = Leaf | Node(int, tree, tree); 216 | ", 217 | }, 218 | }, 219 | { 220 | "kind": "Ok", 221 | "value": { 222 | "loc": [ 223 | { 224 | "col": 2, 225 | "line": 5, 226 | }, 227 | { 228 | "col": 62, 229 | "line": 8, 230 | }, 231 | ], 232 | "stderr": "", 233 | "stdout": "", 234 | "value": "let sum: tree => int = ; 235 | ", 236 | }, 237 | }, 238 | { 239 | "kind": "Ok", 240 | "value": { 241 | "loc": [ 242 | { 243 | "col": 2, 244 | "line": 10, 245 | }, 246 | { 247 | "col": 3, 248 | "line": 15, 249 | }, 250 | ], 251 | "stderr": "", 252 | "stdout": "", 253 | "value": "let myTree: tree = 254 | Node(1, Node(2, Node(4, Leaf, Leaf), Node(6, Leaf, Leaf)), 255 | Node(3, Node(5, Leaf, Leaf), Node(7, Leaf, Leaf))); 256 | ", 257 | }, 258 | }, 259 | { 260 | "kind": "Ok", 261 | "value": { 262 | "loc": [ 263 | { 264 | "col": 2, 265 | "line": 17, 266 | }, 267 | { 268 | "col": 13, 269 | "line": 17, 270 | }, 271 | ], 272 | "stderr": "", 273 | "stdout": "", 274 | "value": "- : int = 28 275 | ", 276 | }, 277 | }, 278 | ] 279 | `; 280 | -------------------------------------------------------------------------------- /test/__snapshots__/ocaml_syntax.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`ocaml 0 snapshot 1`] = ` 4 | [ 5 | { 6 | "kind": "Ok", 7 | "value": { 8 | "loc": [ 9 | { 10 | "col": 0, 11 | "line": 1, 12 | }, 13 | { 14 | "col": 31, 15 | "line": 1, 16 | }, 17 | ], 18 | "stderr": "", 19 | "stdout": "awesome 20 | ", 21 | "value": "- : unit = () 22 | ", 23 | }, 24 | }, 25 | { 26 | "kind": "Ok", 27 | "value": { 28 | "loc": [ 29 | { 30 | "col": 2, 31 | "line": 2, 32 | }, 33 | { 34 | "col": 13, 35 | "line": 4, 36 | }, 37 | ], 38 | "stderr": "", 39 | "stdout": "", 40 | "value": "type say = Hello | Goodbye 41 | ", 42 | }, 43 | }, 44 | { 45 | "kind": "Ok", 46 | "value": { 47 | "loc": [ 48 | { 49 | "col": 2, 50 | "line": 5, 51 | }, 52 | { 53 | "col": 60, 54 | "line": 5, 55 | }, 56 | ], 57 | "stderr": "Line 5, characters 53-54: 58 | Warning 11 [redundant-case]: this match case is unused. 59 | ", 60 | "stdout": "", 61 | "value": "- : say -> unit = 62 | ", 63 | }, 64 | }, 65 | { 66 | "kind": "Ok", 67 | "value": { 68 | "loc": [ 69 | { 70 | "col": 2, 71 | "line": 6, 72 | }, 73 | { 74 | "col": 11, 75 | "line": 6, 76 | }, 77 | ], 78 | "stderr": "", 79 | "stdout": "", 80 | "value": "val a : int = 1 81 | ", 82 | }, 83 | }, 84 | ] 85 | `; 86 | 87 | exports[`ocaml 1 snapshot 1`] = ` 88 | [ 89 | { 90 | "kind": "Ok", 91 | "value": { 92 | "loc": [ 93 | { 94 | "col": 0, 95 | "line": 1, 96 | }, 97 | { 98 | "col": 30, 99 | "line": 1, 100 | }, 101 | ], 102 | "stderr": "", 103 | "stdout": "Another stdout 104 | ", 105 | "value": "- : unit = () 106 | ", 107 | }, 108 | }, 109 | ] 110 | `; 111 | 112 | exports[`ocaml 2 snapshot 1`] = ` 113 | [ 114 | { 115 | "kind": "Ok", 116 | "value": { 117 | "loc": [ 118 | { 119 | "col": 0, 120 | "line": 1, 121 | }, 122 | { 123 | "col": 13, 124 | "line": 1, 125 | }, 126 | ], 127 | "stderr": "", 128 | "stdout": "", 129 | "value": "val a : int ref = {contents = 1} 130 | ", 131 | }, 132 | }, 133 | { 134 | "kind": "Ok", 135 | "value": { 136 | "loc": [ 137 | { 138 | "col": 2, 139 | "line": 2, 140 | }, 141 | { 142 | "col": 24, 143 | "line": 2, 144 | }, 145 | ], 146 | "stderr": "", 147 | "stdout": "1", 148 | "value": "- : unit = () 149 | ", 150 | }, 151 | }, 152 | ] 153 | `; 154 | 155 | exports[`ocaml 3 snapshot 1`] = ` 156 | [ 157 | { 158 | "kind": "Ok", 159 | "value": { 160 | "loc": [ 161 | { 162 | "col": 0, 163 | "line": 1, 164 | }, 165 | { 166 | "col": 68, 167 | "line": 2, 168 | }, 169 | ], 170 | "stderr": "", 171 | "stdout": "", 172 | "value": "val factorial : int -> int = 173 | ", 174 | }, 175 | }, 176 | { 177 | "kind": "Ok", 178 | "value": { 179 | "loc": [ 180 | { 181 | "col": 2, 182 | "line": 3, 183 | }, 184 | { 185 | "col": 21, 186 | "line": 3, 187 | }, 188 | ], 189 | "stderr": "", 190 | "stdout": "", 191 | "value": "- : int = 720 192 | ", 193 | }, 194 | }, 195 | ] 196 | `; 197 | 198 | exports[`ocaml 4 snapshot 1`] = ` 199 | [ 200 | { 201 | "kind": "Ok", 202 | "value": { 203 | "loc": [ 204 | { 205 | "col": 0, 206 | "line": 1, 207 | }, 208 | { 209 | "col": 27, 210 | "line": 3, 211 | }, 212 | ], 213 | "stderr": "", 214 | "stdout": "", 215 | "value": "type tree = Leaf | Node of int * tree * tree 216 | ", 217 | }, 218 | }, 219 | { 220 | "kind": "Ok", 221 | "value": { 222 | "loc": [ 223 | { 224 | "col": 2, 225 | "line": 4, 226 | }, 227 | { 228 | "col": 66, 229 | "line": 7, 230 | }, 231 | ], 232 | "stderr": "", 233 | "stdout": "", 234 | "value": "val sum : tree -> int = 235 | ", 236 | }, 237 | }, 238 | { 239 | "kind": "Ok", 240 | "value": { 241 | "loc": [ 242 | { 243 | "col": 2, 244 | "line": 9, 245 | }, 246 | { 247 | "col": 5, 248 | "line": 14, 249 | }, 250 | ], 251 | "stderr": "", 252 | "stdout": "", 253 | "value": "val myTree : tree = 254 | Node (1, Node (2, Node (4, Leaf, Leaf), Node (6, Leaf, Leaf)), 255 | Node (3, Node (5, Leaf, Leaf), Node (7, Leaf, Leaf))) 256 | ", 257 | }, 258 | }, 259 | { 260 | "kind": "Ok", 261 | "value": { 262 | "loc": [ 263 | { 264 | "col": 2, 265 | "line": 15, 266 | }, 267 | { 268 | "col": 20, 269 | "line": 15, 270 | }, 271 | ], 272 | "stderr": "", 273 | "stdout": "", 274 | "value": "- : int = 28 275 | ", 276 | }, 277 | }, 278 | ] 279 | `; 280 | -------------------------------------------------------------------------------- /src/engine/execute.re: -------------------------------------------------------------------------------- 1 | open Js_of_ocaml; 2 | open Types; 3 | 4 | module Reason_errors = Reason.Reason_errors; 5 | 6 | let get_error_loc = 7 | fun 8 | | Syntaxerr.Error(x) => Some(Syntaxerr.location_of_error(x)) 9 | | Lexer.Error(_, loc) 10 | | Typecore.Error(loc, _, _) 11 | | Typetexp.Error(loc, _, _) 12 | | Typeclass.Error(loc, _, _) 13 | | Typemod.Error(loc, _, _) 14 | | Typedecl.Error(loc, _) 15 | | Translcore.Error(loc, _) 16 | | Translclass.Error(loc, _) 17 | | Translmod.Error(loc, _) => Some(loc) 18 | | Reason_errors.Reason_error(_err, loc) => Some(loc) 19 | | _ => None; 20 | 21 | let drainBuffer = bf => { 22 | let content = Buffer.contents(bf); 23 | Buffer.clear(bf); 24 | 25 | /* Remove leading newline added by OCaml 5.x toplevel formatting 26 | * See: https://github.com/ocaml/ocaml/pull/12024 */ 27 | if (String.length(content) > 0 && content.[0] == '\n') { 28 | String.sub(content, 1, String.length(content) - 1) 29 | } else { 30 | content 31 | } 32 | }; 33 | 34 | let rec last = (head, tail) => 35 | switch (tail) { 36 | | [] => head 37 | | [head, ...tail] => last(head, tail) 38 | }; 39 | 40 | let buffer = Buffer.create(100); 41 | let stdout_buffer = Buffer.create(100); 42 | let stderr_buffer = Buffer.create(100); 43 | 44 | let formatter = Format.formatter_of_buffer(buffer); 45 | /* The generic rule is that it is better to always update max_indent 46 | * after increasing the margin 47 | * default value for max_indent is margin - 10 48 | */ 49 | Format.pp_set_margin(formatter, 80); 50 | Format.pp_set_max_indent(formatter, 70); 51 | 52 | Sys_js.set_channel_flusher(stdout, Buffer.add_string(stdout_buffer)); 53 | Sys_js.set_channel_flusher(stderr, Buffer.add_string(stderr_buffer)); 54 | 55 | let report = (~loc: option(Location.t)=?, ~value=?, ~stdout=?, ~stderr=?, ()) => { 56 | loc, 57 | value: 58 | switch (value) { 59 | | None => buffer |> drainBuffer 60 | | Some(content) => content 61 | }, 62 | stdout: 63 | switch (stdout) { 64 | | None => stdout_buffer |> drainBuffer 65 | | Some(content) => content 66 | }, 67 | stderr: 68 | switch (stderr) { 69 | | None => stderr_buffer |> drainBuffer 70 | | Some(err) => err 71 | }, 72 | }; 73 | 74 | let parse_use_file = lexbuf => { 75 | try(Ok(Toploop.parse_use_file^(lexbuf))) { 76 | | exn => Error(exn) 77 | }; 78 | }; 79 | 80 | let mod_use_file = name => 81 | try(Ok(Toploop.mod_use_input(formatter, Toploop.File(name)))) { 82 | | exn => Error(exn) 83 | }; 84 | 85 | let mod_use_file = name => { 86 | Buffer.clear(buffer); 87 | switch (mod_use_file(name)) { 88 | | Ok(true) => Ok() 89 | | Ok(false) => Error(Buffer.contents(buffer)) 90 | | Error(Reason_errors.Reason_error(err, loc)) => 91 | Reason_errors.report_error(~loc, formatter, err); 92 | Error(Buffer.contents(buffer)); 93 | | Error(exn) => 94 | Errors.report_error(formatter, exn); 95 | Error(Buffer.contents(buffer)); 96 | }; 97 | }; 98 | 99 | let eval = code => { 100 | /* Clean up all buffers before executing new block */ 101 | Buffer.clear(buffer); 102 | Buffer.clear(stderr_buffer); 103 | Buffer.clear(stdout_buffer); 104 | 105 | let lexbuf = Lexing.from_string(code); 106 | /* Init location reporting */ 107 | Location.input_lexbuf := Some(lexbuf); 108 | 109 | switch (parse_use_file(lexbuf)) { 110 | | Error(Reason_errors.Reason_error(err, loc)) => [ 111 | { 112 | Reason_errors.report_error(~loc, Format.err_formatter, err); 113 | Error(report(~loc, ())); 114 | }, 115 | ] 116 | | Error(exn) => [ 117 | { 118 | Errors.report_error(Format.err_formatter, exn); 119 | switch (get_error_loc(exn)) { 120 | | None => Error(report()) 121 | | Some(loc) => Error(report(~loc, ())) 122 | }; 123 | }, 124 | ] 125 | | Ok(phrases) => 126 | /* build a list of return messages (until there is an error) */ 127 | let rec run = (out_messages, phrases) => 128 | switch (phrases) { 129 | | [] => out_messages 130 | | [phrase, ...phrases] => 131 | let loc = 132 | switch (phrase) { 133 | | Parsetree.Ptop_def([]) => None 134 | | Parsetree.Ptop_def([item, ...items]) => 135 | let loc = { 136 | Location.loc_start: item.pstr_loc.Location.loc_start, 137 | Location.loc_end: last(item, items).pstr_loc.Location.loc_end, 138 | Location.loc_ghost: false, 139 | }; 140 | Some(loc); 141 | | Ptop_dir(_toplevel_directive) => None 142 | }; 143 | 144 | Buffer.clear(buffer); 145 | Buffer.clear(stderr_buffer); 146 | Buffer.clear(stdout_buffer); 147 | 148 | switch ( 149 | try(Ok(Toploop.execute_phrase(true, formatter, phrase))) { 150 | | exn => Error(exn) 151 | } 152 | ) { 153 | | Ok(true) => 154 | let value = drainBuffer(buffer); 155 | let stdout_output = drainBuffer(stdout_buffer); 156 | 157 | let outMessages = 158 | if (value == "" && stdout_output == "") { 159 | out_messages; 160 | } else { 161 | [ 162 | Ok(report(~loc?, ~value, ~stdout=stdout_output, ())), 163 | ...out_messages, 164 | ]; 165 | }; 166 | run(outMessages, phrases); 167 | | Ok(false) => [Error(report(~loc?, ())), ...out_messages] 168 | | Error(Sys.Break) => [ 169 | Error(report(~loc?, ~stderr="Interupted", ())), 170 | ...out_messages, 171 | ] 172 | | Error(exn) => 173 | Errors.report_error(Format.err_formatter, exn); 174 | let newMessage = 175 | switch (get_error_loc(exn)) { 176 | | None => Error(report(~loc?, ())) 177 | | Some(parsedLoc) => Error(report(~loc=parsedLoc, ())) 178 | }; 179 | [newMessage, ...out_messages]; 180 | }; 181 | }; 182 | 183 | List.rev(run([], phrases)); 184 | }; 185 | }; 186 | 187 | let toString = js_of_execResult; 188 | -------------------------------------------------------------------------------- /src/packager/Json.re: -------------------------------------------------------------------------------- 1 | /** # Json parser 2 | * 3 | * Works with bucklescript and bsb-native 4 | * 5 | * ## Basics 6 | * 7 | * ``` 8 | * open Json.Infix; /* for the nice infix operators */ 9 | * let raw = {|{"hello": "folks"}|}; 10 | * let who = Json.parse(raw) |> Json.get("hello") |?> Json.string; 11 | * Js.log(who); 12 | * ``` 13 | * 14 | * ## Parse & stringify 15 | * 16 | * @doc parse, stringify 17 | * 18 | * ## Accessing descendents 19 | * 20 | * @doc get, nth, getPath 21 | * 22 | * ## Coercing to types 23 | * 24 | * @doc string, number, array, obj, bool, null 25 | * 26 | * ## The JSON type 27 | * 28 | * @doc t 29 | * 30 | * ## Infix operators for easier working 31 | * 32 | * @doc Infix 33 | */; 34 | 35 | type t = 36 | | String(string) 37 | | Number(float) 38 | | Array(list(t)) 39 | | Object(list((string, t))) 40 | | True 41 | | False 42 | | Null; 43 | 44 | let string_of_number = (f) => { 45 | let s = string_of_float(f); 46 | if (s.[String.length(s) - 1] == '.') { 47 | String.sub(s, 0, String.length(s) - 1) 48 | } else { 49 | s 50 | } 51 | }; 52 | 53 | /** 54 | * This module is provided for easier working with optional values. 55 | */ 56 | module Infix = { 57 | /** The "force unwrap" operator 58 | * 59 | * If you're sure there's a value, you can force it. 60 | * ``` 61 | * open Json.Infix; 62 | * let x: int = Some(10) |! "Expected this to be present"; 63 | * Js.log(x); 64 | * ``` 65 | * 66 | * But you gotta be sure, otherwise it will throw. 67 | * ```reason;raises 68 | * open Json.Infix; 69 | * let x: int = None |! "This will throw"; 70 | * ``` 71 | */ 72 | let (|!) = (o, d) => 73 | switch o { 74 | | None => failwith(d) 75 | | Some(v) => v 76 | }; 77 | /** The "upwrap with default" operator 78 | * ``` 79 | * open Json.Infix; 80 | * let x: int = Some(10) |? 4; 81 | * let y: int = None |? 5; 82 | * Js.log2(x, y); 83 | * ``` 84 | */ 85 | let (|?) = (o, d) => 86 | switch o { 87 | | None => d 88 | | Some(v) => v 89 | }; 90 | /** The "transform contents into new optional" operator 91 | * ``` 92 | * open Json.Infix; 93 | * let maybeInc = x => x > 5 ? Some(x + 1) : None; 94 | * let x: option(int) = Some(14) |?> maybeInc; 95 | * let y: option(int) = None |?> maybeInc; 96 | * ``` 97 | */ 98 | let (|?>) = (o, fn) => 99 | switch o { 100 | | None => None 101 | | Some(v) => fn(v) 102 | }; 103 | /** The "transform contents into new value & then re-wrap" operator 104 | * ``` 105 | * open Json.Infix; 106 | * let inc = x => x + 1; 107 | * let x: option(int) = Some(7) |?>> inc; 108 | * let y: option(int) = None |?>> inc; 109 | * Js.log2(x, y); 110 | * ``` 111 | */ 112 | let (|?>>) = (o, fn) => 113 | switch o { 114 | | None => None 115 | | Some(v) => Some(fn(v)) 116 | }; 117 | /** "handle the value if present, otherwise here's the default" 118 | * 119 | * It's called fold because that's what people call it :?. It's the same as "transform contents to new value" + "unwrap with default". 120 | * 121 | * ``` 122 | * open Json.Infix; 123 | * let inc = x => x + 1; 124 | * let x: int = fold(Some(4), 10, inc); 125 | * let y: int = fold(None, 2, inc); 126 | * Js.log2(x, y); 127 | * ``` 128 | */ 129 | let fold = (o, d, f) => 130 | switch o { 131 | | None => d 132 | | Some(v) => f(v) 133 | }; 134 | }; 135 | 136 | let escape = (text) => { 137 | let ln = String.length(text); 138 | let buf = Buffer.create(ln); 139 | let rec loop = (i) => 140 | if (i < ln) { 141 | switch text.[i] { 142 | | '\012' => Buffer.add_string(buf, "\\f") 143 | | '\\' => Buffer.add_string(buf, "\\\\") 144 | | '"' => Buffer.add_string(buf, "\\\"") 145 | | '\n' => Buffer.add_string(buf, "\\n") 146 | | '\b' => Buffer.add_string(buf, "\\b") 147 | | '\r' => Buffer.add_string(buf, "\\r") 148 | | '\t' => Buffer.add_string(buf, "\\t") 149 | | c => Buffer.add_char(buf, c) 150 | }; 151 | loop(i + 1) 152 | }; 153 | loop(0); 154 | Buffer.contents(buf) 155 | }; 156 | 157 | /** ``` 158 | * let text = {|{"hello": "folks", "aa": [2, 3, "four"]}|}; 159 | * let result = Json.stringify(Json.parse(text)); 160 | * Js.log(result); 161 | * assert(text == result); 162 | * ``` 163 | */ 164 | let rec stringify = (t) => 165 | switch t { 166 | | String(value) => "\"" ++ escape(value) ++ "\"" 167 | | Number(num) => string_of_number(num) 168 | | Array(items) => "[" ++ String.concat(", ", List.map(stringify, items)) ++ "]" 169 | | Object(items) => 170 | "{" 171 | ++ String.concat( 172 | ", ", 173 | List.map(((k, v)) => "\"" ++ String.escaped(k) ++ "\": " ++ stringify(v), items) 174 | ) 175 | ++ "}" 176 | | True => "true" 177 | | False => "false" 178 | | Null => "null" 179 | }; 180 | 181 | let unwrap = (message, t) => 182 | switch t { 183 | | Some(v) => v 184 | | None => failwith(message) 185 | }; 186 | 187 | [@nodoc] 188 | module Parser = { 189 | let split_by = (~keep_empty=false, is_delim, str) => { 190 | let len = String.length(str); 191 | let rec loop = (acc, last_pos, pos) => 192 | if (pos == (-1)) { 193 | if (last_pos == 0 && ! keep_empty) { 194 | acc 195 | } else { 196 | [String.sub(str, 0, last_pos), ...acc] 197 | } 198 | } else if (is_delim(str.[pos])) { 199 | let new_len = last_pos - pos - 1; 200 | if (new_len != 0 || keep_empty) { 201 | let v = String.sub(str, pos + 1, new_len); 202 | loop([v, ...acc], pos, pos - 1) 203 | } else { 204 | loop(acc, pos, pos - 1) 205 | } 206 | } else { 207 | loop(acc, last_pos, pos - 1) 208 | }; 209 | loop([], len, len - 1) 210 | }; 211 | let fail = (text, pos, message) => { 212 | let pre = String.sub(text, 0, pos); 213 | let lines = split_by((c) => c == '\n', pre); 214 | let count = List.length(lines); 215 | let last = count > 0 ? List.nth(lines, count - 1) : ""; 216 | let col = String.length(last) + 1; 217 | let line = List.length(lines); 218 | let string = Printf.sprintf("Error \"%s\" at %d:%d -> %s\n", message, line, col, last); 219 | failwith(string) 220 | }; 221 | let rec skipToNewline = (text, pos) => 222 | if (pos >= String.length(text)) { 223 | pos 224 | } else if (text.[pos] == '\n') { 225 | pos + 1 226 | } else { 227 | skipToNewline(text, pos + 1) 228 | }; 229 | let stringTail = (text) => { 230 | let len = String.length(text); 231 | if (len > 1) { 232 | String.sub(text, 1, len - 1) 233 | } else { 234 | "" 235 | } 236 | }; 237 | let rec skipToCloseMultilineComment = (text, pos) => 238 | if (pos + 1 >= String.length(text)) { 239 | failwith("Unterminated comment") 240 | } else if (text.[pos] == '*' && text.[pos + 1] == '/') { 241 | pos + 2 242 | } else { 243 | skipToCloseMultilineComment(text, pos + 1) 244 | }; 245 | let rec skipWhite = (text, pos) => 246 | if (pos < String.length(text) 247 | && (text.[pos] == ' ' || text.[pos] == '\t' || text.[pos] == '\n' || text.[pos] == '\r')) { 248 | skipWhite(text, pos + 1) 249 | } else { 250 | pos 251 | }; 252 | let parseString = (text, pos) => { 253 | /* let i = ref(pos); */ 254 | let buffer = Buffer.create(String.length(text)); 255 | let ln = String.length(text); 256 | let rec loop = (i) => 257 | i >= ln ? 258 | fail(text, i, "Unterminated string") : 259 | ( 260 | switch text.[i] { 261 | | '"' => i + 1 262 | | '\\' => 263 | i + 1 >= ln ? 264 | fail(text, i, "Unterminated string") : 265 | ( 266 | switch text.[i + 1] { 267 | | '/' => 268 | Buffer.add_char(buffer, '/'); 269 | loop(i + 2) 270 | | 'f' => 271 | Buffer.add_char(buffer, '\012'); 272 | loop(i + 2) 273 | | _ => 274 | Buffer.add_string(buffer, Scanf.unescaped(String.sub(text, i, 2))); 275 | loop(i + 2) 276 | } 277 | ) 278 | | c => 279 | Buffer.add_char(buffer, c); 280 | loop(i + 1) 281 | } 282 | ); 283 | let final = loop(pos); 284 | (Buffer.contents(buffer), final) 285 | }; 286 | let parseDigits = (text, pos) => { 287 | let len = String.length(text); 288 | let rec loop = (i) => 289 | if (i >= len) { 290 | i 291 | } else { 292 | switch text.[i] { 293 | | '0'..'9' => loop(i + 1) 294 | | _ => i 295 | } 296 | }; 297 | loop(pos + 1) 298 | }; 299 | let parseWithDecimal = (text, pos) => { 300 | let pos = parseDigits(text, pos); 301 | if (pos < String.length(text) && text.[pos] == '.') { 302 | let pos = parseDigits(text, pos + 1); 303 | pos 304 | } else { 305 | pos 306 | } 307 | }; 308 | let parseNumber = (text, pos) => { 309 | let pos = parseWithDecimal(text, pos); 310 | let ln = String.length(text); 311 | if (pos < ln - 1 && (text.[pos] == 'E' || text.[pos] == 'e')) { 312 | let pos = 313 | switch text.[pos + 1] { 314 | | '-' 315 | | '+' => pos + 2 316 | | _ => pos + 1 317 | }; 318 | parseDigits(text, pos) 319 | } else { 320 | pos 321 | } 322 | }; 323 | let parseNegativeNumber = (text, pos) => { 324 | let final = 325 | if (text.[pos] == '-') { 326 | parseNumber(text, pos + 1) 327 | } else { 328 | parseNumber(text, pos) 329 | }; 330 | (Number(float_of_string(String.sub(text, pos, final - pos))), final) 331 | }; 332 | let expect = (char, text, pos, message) => 333 | if (text.[pos] != char) { 334 | fail(text, pos, "Expected: " ++ message) 335 | } else { 336 | pos + 1 337 | }; 338 | let parseComment: 'a .(string, int, (string, int) => 'a) => 'a = 339 | (text, pos, next) => 340 | if (text.[pos] != '/') { 341 | if (text.[pos] == '*') { 342 | next(text, skipToCloseMultilineComment(text, pos + 1)) 343 | } else { 344 | failwith("Invalid syntax") 345 | } 346 | } else { 347 | next(text, skipToNewline(text, pos + 1)) 348 | }; 349 | let maybeSkipComment = (text, pos) => 350 | if (pos < String.length(text) && text.[pos] == '/') { 351 | if (pos + 1 < String.length(text) && text.[pos + 1] == '/') { 352 | skipToNewline(text, pos + 1) 353 | } else if (pos + 1 < String.length(text) && text.[pos + 1] == '*') { 354 | skipToCloseMultilineComment(text, pos + 1) 355 | } else { 356 | fail(text, pos, "Invalid synatx") 357 | } 358 | } else { 359 | pos 360 | }; 361 | let rec skip = (text, pos) => 362 | if (pos == String.length(text)) { 363 | pos 364 | } else { 365 | let n = skipWhite(text, pos) |> maybeSkipComment(text); 366 | if (n > pos) { 367 | skip(text, n) 368 | } else { 369 | n 370 | } 371 | }; 372 | let rec parse = (text, pos) => 373 | if (pos >= String.length(text)) { 374 | fail(text, pos, "Reached end of file without being done parsing") 375 | } else { 376 | switch text.[pos] { 377 | | '/' => parseComment(text, pos + 1, parse) 378 | | '[' => parseArray(text, pos + 1) 379 | | '{' => parseObject(text, pos + 1) 380 | | 'n' => 381 | if (String.sub(text, pos, 4) == "null") { 382 | (Null, pos + 4) 383 | } else { 384 | fail(text, pos, "unexpected character") 385 | } 386 | | 't' => 387 | if (String.sub(text, pos, 4) == "true") { 388 | (True, pos + 4) 389 | } else { 390 | fail(text, pos, "unexpected character") 391 | } 392 | | 'f' => 393 | if (String.sub(text, pos, 5) == "false") { 394 | (False, pos + 5) 395 | } else { 396 | fail(text, pos, "unexpected character") 397 | } 398 | | '\n' 399 | | '\t' 400 | | ' ' 401 | | '\r' => parse(text, skipWhite(text, pos)) 402 | | '"' => 403 | let (s, pos) = parseString(text, pos + 1); 404 | (String(s), pos) 405 | | '-' 406 | | '0'..'9' => parseNegativeNumber(text, pos) 407 | | _ => fail(text, pos, "unexpected character") 408 | } 409 | } 410 | and parseArrayValue = (text, pos) => { 411 | let pos = skip(text, pos); 412 | let (value, pos) = parse(text, pos); 413 | let pos = skip(text, pos); 414 | switch text.[pos] { 415 | | ',' => 416 | let pos = skip(text, pos + 1); 417 | if (text.[pos] == ']') { 418 | ([value], pos + 1) 419 | } else { 420 | let (rest, pos) = parseArrayValue(text, pos); 421 | ([value, ...rest], pos) 422 | } 423 | | ']' => ([value], pos + 1) 424 | | _ => fail(text, pos, "unexpected character") 425 | } 426 | } 427 | and parseArray = (text, pos) => { 428 | let pos = skip(text, pos); 429 | switch text.[pos] { 430 | | ']' => (Array([]), pos + 1) 431 | | _ => 432 | let (items, pos) = parseArrayValue(text, pos); 433 | (Array(items), pos) 434 | } 435 | } 436 | and parseObjectValue = (text, pos) => { 437 | let pos = skip(text, pos); 438 | if (text.[pos] != '"') { 439 | fail(text, pos, "Expected string") 440 | } else { 441 | let (key, pos) = parseString(text, pos + 1); 442 | let pos = skip(text, pos); 443 | let pos = expect(':', text, pos, "Colon"); 444 | let (value, pos) = parse(text, pos); 445 | let pos = skip(text, pos); 446 | switch text.[pos] { 447 | | ',' => 448 | let pos = skip(text, pos + 1); 449 | if (text.[pos] == '}') { 450 | ([(key, value)], pos + 1) 451 | } else { 452 | let (rest, pos) = parseObjectValue(text, pos); 453 | ([(key, value), ...rest], pos) 454 | } 455 | | '}' => ([(key, value)], pos + 1) 456 | | _ => 457 | let (rest, pos) = parseObjectValue(text, pos); 458 | ([(key, value), ...rest], pos) 459 | } 460 | } 461 | } 462 | and parseObject = (text, pos) => { 463 | let pos = skip(text, pos); 464 | if (text.[pos] == '}') { 465 | (Object([]), pos + 1) 466 | } else { 467 | let (pairs, pos) = parseObjectValue(text, pos); 468 | (Object(pairs), pos) 469 | } 470 | }; 471 | }; 472 | 473 | /** Turns some text into a json object. throws on failure */ 474 | let parse = (text) => { 475 | let (item, pos) = Parser.parse(text, 0); 476 | let pos = Parser.skip(text, pos); 477 | if (pos < String.length(text)) { 478 | failwith( 479 | "Extra data after parse finished: " ++ String.sub(text, pos, String.length(text) - pos) 480 | ) 481 | } else { 482 | item 483 | } 484 | }; 485 | 486 | /* Accessor helpers */ 487 | let bind = (v, fn) => 488 | switch v { 489 | | None => None 490 | | Some(v) => fn(v) 491 | }; 492 | 493 | /** If `t` is an object, get the value associated with the given string key */ 494 | let get = (key, t) => 495 | switch t { 496 | | Object(items) => 497 | try (Some(List.assoc(key, items))) { 498 | | Not_found => None 499 | } 500 | | _ => None 501 | }; 502 | 503 | /** If `t` is an array, get the value associated with the given index */ 504 | let nth = (n, t) => 505 | switch t { 506 | | Array(items) => 507 | if (n < List.length(items)) { 508 | Some(List.nth(items, n)) 509 | } else { 510 | None 511 | } 512 | | _ => None 513 | }; 514 | 515 | let string = (t) => 516 | switch t { 517 | | String(s) => Some(s) 518 | | _ => None 519 | }; 520 | 521 | let number = (t) => 522 | switch t { 523 | | Number(s) => Some(s) 524 | | _ => None 525 | }; 526 | 527 | let array = (t) => 528 | switch t { 529 | | Array(s) => Some(s) 530 | | _ => None 531 | }; 532 | 533 | let obj = (t) => 534 | switch t { 535 | | Object(s) => Some(s) 536 | | _ => None 537 | }; 538 | 539 | let bool = (t) => 540 | switch t { 541 | | True => Some(true) 542 | | False => Some(false) 543 | | _ => None 544 | }; 545 | 546 | let null = (t) => 547 | switch t { 548 | | Null => Some() 549 | | _ => None 550 | }; 551 | 552 | let rec parsePath = (keyList, t) => 553 | switch keyList { 554 | | [] => Some(t) 555 | | [head, ...rest] => 556 | switch (get(head, t)) { 557 | | None => None 558 | | Some(value) => parsePath(rest, value) 559 | } 560 | }; 561 | 562 | /** Get a deeply nested value from an object `t`. 563 | * ``` 564 | * open Json.Infix; 565 | * let json = Json.parse({|{"a": {"b": {"c": 2}}}|}); 566 | * let num = Json.getPath("a.b.c", json) |?> Json.number; 567 | * assert(num == Some(2.)) 568 | * ``` 569 | */ 570 | let getPath = (path, t) => { 571 | let keys = Parser.split_by((c) => c == '.', path); 572 | parsePath(keys, t) 573 | }; 574 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.27.1": 6 | version "7.27.1" 7 | resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.27.1.tgz#200f715e66d52a23b221a9435534a91cc13ad5be" 8 | integrity sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg== 9 | dependencies: 10 | "@babel/helper-validator-identifier" "^7.27.1" 11 | js-tokens "^4.0.0" 12 | picocolors "^1.1.1" 13 | 14 | "@babel/compat-data@^7.27.2": 15 | version "7.28.4" 16 | resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.28.4.tgz#96fdf1af1b8859c8474ab39c295312bfb7c24b04" 17 | integrity sha512-YsmSKC29MJwf0gF8Rjjrg5LQCmyh+j/nD8/eP7f+BeoQTKYqs9RoWbjGOdy0+1Ekr68RJZMUOPVQaQisnIo4Rw== 18 | 19 | "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": 20 | version "7.28.4" 21 | resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.28.4.tgz#12a550b8794452df4c8b084f95003bce1742d496" 22 | integrity sha512-2BCOP7TN8M+gVDj7/ht3hsaO/B/n5oDbiAyyvnRlNOs+u1o+JWNYTQrmpuNp1/Wq2gcFrI01JAW+paEKDMx/CA== 23 | dependencies: 24 | "@babel/code-frame" "^7.27.1" 25 | "@babel/generator" "^7.28.3" 26 | "@babel/helper-compilation-targets" "^7.27.2" 27 | "@babel/helper-module-transforms" "^7.28.3" 28 | "@babel/helpers" "^7.28.4" 29 | "@babel/parser" "^7.28.4" 30 | "@babel/template" "^7.27.2" 31 | "@babel/traverse" "^7.28.4" 32 | "@babel/types" "^7.28.4" 33 | "@jridgewell/remapping" "^2.3.5" 34 | convert-source-map "^2.0.0" 35 | debug "^4.1.0" 36 | gensync "^1.0.0-beta.2" 37 | json5 "^2.2.3" 38 | semver "^6.3.1" 39 | 40 | "@babel/generator@^7.28.3", "@babel/generator@^7.7.2": 41 | version "7.28.3" 42 | resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.3.tgz#9626c1741c650cbac39121694a0f2d7451b8ef3e" 43 | integrity sha512-3lSpxGgvnmZznmBkCRnVREPUFJv2wrv9iAoFDvADJc0ypmdOxdUtcLeBgBJ6zE0PMeTKnxeQzyk0xTBq4Ep7zw== 44 | dependencies: 45 | "@babel/parser" "^7.28.3" 46 | "@babel/types" "^7.28.2" 47 | "@jridgewell/gen-mapping" "^0.3.12" 48 | "@jridgewell/trace-mapping" "^0.3.28" 49 | jsesc "^3.0.2" 50 | 51 | "@babel/helper-compilation-targets@^7.27.2": 52 | version "7.27.2" 53 | resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.27.2.tgz#46a0f6efab808d51d29ce96858dd10ce8732733d" 54 | integrity sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ== 55 | dependencies: 56 | "@babel/compat-data" "^7.27.2" 57 | "@babel/helper-validator-option" "^7.27.1" 58 | browserslist "^4.24.0" 59 | lru-cache "^5.1.1" 60 | semver "^6.3.1" 61 | 62 | "@babel/helper-globals@^7.28.0": 63 | version "7.28.0" 64 | resolved "https://registry.yarnpkg.com/@babel/helper-globals/-/helper-globals-7.28.0.tgz#b9430df2aa4e17bc28665eadeae8aa1d985e6674" 65 | integrity sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw== 66 | 67 | "@babel/helper-module-imports@^7.27.1": 68 | version "7.27.1" 69 | resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.27.1.tgz#7ef769a323e2655e126673bb6d2d6913bbead204" 70 | integrity sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w== 71 | dependencies: 72 | "@babel/traverse" "^7.27.1" 73 | "@babel/types" "^7.27.1" 74 | 75 | "@babel/helper-module-transforms@^7.28.3": 76 | version "7.28.3" 77 | resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.28.3.tgz#a2b37d3da3b2344fe085dab234426f2b9a2fa5f6" 78 | integrity sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw== 79 | dependencies: 80 | "@babel/helper-module-imports" "^7.27.1" 81 | "@babel/helper-validator-identifier" "^7.27.1" 82 | "@babel/traverse" "^7.28.3" 83 | 84 | "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.27.1", "@babel/helper-plugin-utils@^7.8.0": 85 | version "7.27.1" 86 | resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.27.1.tgz#ddb2f876534ff8013e6c2b299bf4d39b3c51d44c" 87 | integrity sha512-1gn1Up5YXka3YYAHGKpbideQ5Yjf1tDa9qYcgysz+cNCXukyLl6DjPXhD3VRwSb8c0J9tA4b2+rHEZtc6R0tlw== 88 | 89 | "@babel/helper-string-parser@^7.27.1": 90 | version "7.27.1" 91 | resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" 92 | integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== 93 | 94 | "@babel/helper-validator-identifier@^7.27.1": 95 | version "7.27.1" 96 | resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" 97 | integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== 98 | 99 | "@babel/helper-validator-option@^7.27.1": 100 | version "7.27.1" 101 | resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.27.1.tgz#fa52f5b1e7db1ab049445b421c4471303897702f" 102 | integrity sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg== 103 | 104 | "@babel/helpers@^7.28.4": 105 | version "7.28.4" 106 | resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.28.4.tgz#fe07274742e95bdf7cf1443593eeb8926ab63827" 107 | integrity sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w== 108 | dependencies: 109 | "@babel/template" "^7.27.2" 110 | "@babel/types" "^7.28.4" 111 | 112 | "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9", "@babel/parser@^7.27.2", "@babel/parser@^7.28.3", "@babel/parser@^7.28.4": 113 | version "7.28.4" 114 | resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.4.tgz#da25d4643532890932cc03f7705fe19637e03fa8" 115 | integrity sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg== 116 | dependencies: 117 | "@babel/types" "^7.28.4" 118 | 119 | "@babel/plugin-syntax-async-generators@^7.8.4": 120 | version "7.8.4" 121 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" 122 | integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== 123 | dependencies: 124 | "@babel/helper-plugin-utils" "^7.8.0" 125 | 126 | "@babel/plugin-syntax-bigint@^7.8.3": 127 | version "7.8.3" 128 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" 129 | integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== 130 | dependencies: 131 | "@babel/helper-plugin-utils" "^7.8.0" 132 | 133 | "@babel/plugin-syntax-class-properties@^7.12.13": 134 | version "7.12.13" 135 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" 136 | integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== 137 | dependencies: 138 | "@babel/helper-plugin-utils" "^7.12.13" 139 | 140 | "@babel/plugin-syntax-class-static-block@^7.14.5": 141 | version "7.14.5" 142 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" 143 | integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== 144 | dependencies: 145 | "@babel/helper-plugin-utils" "^7.14.5" 146 | 147 | "@babel/plugin-syntax-import-attributes@^7.24.7": 148 | version "7.27.1" 149 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz#34c017d54496f9b11b61474e7ea3dfd5563ffe07" 150 | integrity sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww== 151 | dependencies: 152 | "@babel/helper-plugin-utils" "^7.27.1" 153 | 154 | "@babel/plugin-syntax-import-meta@^7.10.4": 155 | version "7.10.4" 156 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" 157 | integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== 158 | dependencies: 159 | "@babel/helper-plugin-utils" "^7.10.4" 160 | 161 | "@babel/plugin-syntax-json-strings@^7.8.3": 162 | version "7.8.3" 163 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" 164 | integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== 165 | dependencies: 166 | "@babel/helper-plugin-utils" "^7.8.0" 167 | 168 | "@babel/plugin-syntax-jsx@^7.7.2": 169 | version "7.27.1" 170 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.27.1.tgz#2f9beb5eff30fa507c5532d107daac7b888fa34c" 171 | integrity sha512-y8YTNIeKoyhGd9O0Jiyzyyqk8gdjnumGTQPsz0xOZOQ2RmkVJeZ1vmmfIvFEKqucBG6axJGBZDE/7iI5suUI/w== 172 | dependencies: 173 | "@babel/helper-plugin-utils" "^7.27.1" 174 | 175 | "@babel/plugin-syntax-logical-assignment-operators@^7.10.4": 176 | version "7.10.4" 177 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" 178 | integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== 179 | dependencies: 180 | "@babel/helper-plugin-utils" "^7.10.4" 181 | 182 | "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": 183 | version "7.8.3" 184 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" 185 | integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== 186 | dependencies: 187 | "@babel/helper-plugin-utils" "^7.8.0" 188 | 189 | "@babel/plugin-syntax-numeric-separator@^7.10.4": 190 | version "7.10.4" 191 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" 192 | integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== 193 | dependencies: 194 | "@babel/helper-plugin-utils" "^7.10.4" 195 | 196 | "@babel/plugin-syntax-object-rest-spread@^7.8.3": 197 | version "7.8.3" 198 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" 199 | integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== 200 | dependencies: 201 | "@babel/helper-plugin-utils" "^7.8.0" 202 | 203 | "@babel/plugin-syntax-optional-catch-binding@^7.8.3": 204 | version "7.8.3" 205 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" 206 | integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== 207 | dependencies: 208 | "@babel/helper-plugin-utils" "^7.8.0" 209 | 210 | "@babel/plugin-syntax-optional-chaining@^7.8.3": 211 | version "7.8.3" 212 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" 213 | integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== 214 | dependencies: 215 | "@babel/helper-plugin-utils" "^7.8.0" 216 | 217 | "@babel/plugin-syntax-private-property-in-object@^7.14.5": 218 | version "7.14.5" 219 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" 220 | integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== 221 | dependencies: 222 | "@babel/helper-plugin-utils" "^7.14.5" 223 | 224 | "@babel/plugin-syntax-top-level-await@^7.14.5": 225 | version "7.14.5" 226 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" 227 | integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== 228 | dependencies: 229 | "@babel/helper-plugin-utils" "^7.14.5" 230 | 231 | "@babel/plugin-syntax-typescript@^7.7.2": 232 | version "7.27.1" 233 | resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.27.1.tgz#5147d29066a793450f220c63fa3a9431b7e6dd18" 234 | integrity sha512-xfYCBMxveHrRMnAWl1ZlPXOZjzkN82THFvLhQhFXFt81Z5HnN+EtUkZhv/zcKpmT3fzmWZB0ywiBrbC3vogbwQ== 235 | dependencies: 236 | "@babel/helper-plugin-utils" "^7.27.1" 237 | 238 | "@babel/template@^7.27.2", "@babel/template@^7.3.3": 239 | version "7.27.2" 240 | resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.27.2.tgz#fa78ceed3c4e7b63ebf6cb39e5852fca45f6809d" 241 | integrity sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw== 242 | dependencies: 243 | "@babel/code-frame" "^7.27.1" 244 | "@babel/parser" "^7.27.2" 245 | "@babel/types" "^7.27.1" 246 | 247 | "@babel/traverse@^7.27.1", "@babel/traverse@^7.28.3", "@babel/traverse@^7.28.4": 248 | version "7.28.4" 249 | resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.28.4.tgz#8d456101b96ab175d487249f60680221692b958b" 250 | integrity sha512-YEzuboP2qvQavAcjgQNVgsvHIDv6ZpwXvcvjmyySP2DIMuByS/6ioU5G9pYrWHM6T2YDfc7xga9iNzYOs12CFQ== 251 | dependencies: 252 | "@babel/code-frame" "^7.27.1" 253 | "@babel/generator" "^7.28.3" 254 | "@babel/helper-globals" "^7.28.0" 255 | "@babel/parser" "^7.28.4" 256 | "@babel/template" "^7.27.2" 257 | "@babel/types" "^7.28.4" 258 | debug "^4.3.1" 259 | 260 | "@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.27.1", "@babel/types@^7.28.2", "@babel/types@^7.28.4", "@babel/types@^7.3.3": 261 | version "7.28.4" 262 | resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.4.tgz#0a4e618f4c60a7cd6c11cb2d48060e4dbe38ac3a" 263 | integrity sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q== 264 | dependencies: 265 | "@babel/helper-string-parser" "^7.27.1" 266 | "@babel/helper-validator-identifier" "^7.27.1" 267 | 268 | "@bcoe/v8-coverage@^0.2.3": 269 | version "0.2.3" 270 | resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" 271 | integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== 272 | 273 | "@istanbuljs/load-nyc-config@^1.0.0": 274 | version "1.1.0" 275 | resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" 276 | integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== 277 | dependencies: 278 | camelcase "^5.3.1" 279 | find-up "^4.1.0" 280 | get-package-type "^0.1.0" 281 | js-yaml "^3.13.1" 282 | resolve-from "^5.0.0" 283 | 284 | "@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": 285 | version "0.1.3" 286 | resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" 287 | integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== 288 | 289 | "@jest/console@^29.7.0": 290 | version "29.7.0" 291 | resolved "https://registry.yarnpkg.com/@jest/console/-/console-29.7.0.tgz#cd4822dbdb84529265c5a2bdb529a3c9cc950ffc" 292 | integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg== 293 | dependencies: 294 | "@jest/types" "^29.6.3" 295 | "@types/node" "*" 296 | chalk "^4.0.0" 297 | jest-message-util "^29.7.0" 298 | jest-util "^29.7.0" 299 | slash "^3.0.0" 300 | 301 | "@jest/core@^29.7.0": 302 | version "29.7.0" 303 | resolved "https://registry.yarnpkg.com/@jest/core/-/core-29.7.0.tgz#b6cccc239f30ff36609658c5a5e2291757ce448f" 304 | integrity sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg== 305 | dependencies: 306 | "@jest/console" "^29.7.0" 307 | "@jest/reporters" "^29.7.0" 308 | "@jest/test-result" "^29.7.0" 309 | "@jest/transform" "^29.7.0" 310 | "@jest/types" "^29.6.3" 311 | "@types/node" "*" 312 | ansi-escapes "^4.2.1" 313 | chalk "^4.0.0" 314 | ci-info "^3.2.0" 315 | exit "^0.1.2" 316 | graceful-fs "^4.2.9" 317 | jest-changed-files "^29.7.0" 318 | jest-config "^29.7.0" 319 | jest-haste-map "^29.7.0" 320 | jest-message-util "^29.7.0" 321 | jest-regex-util "^29.6.3" 322 | jest-resolve "^29.7.0" 323 | jest-resolve-dependencies "^29.7.0" 324 | jest-runner "^29.7.0" 325 | jest-runtime "^29.7.0" 326 | jest-snapshot "^29.7.0" 327 | jest-util "^29.7.0" 328 | jest-validate "^29.7.0" 329 | jest-watcher "^29.7.0" 330 | micromatch "^4.0.4" 331 | pretty-format "^29.7.0" 332 | slash "^3.0.0" 333 | strip-ansi "^6.0.0" 334 | 335 | "@jest/environment@^29.7.0": 336 | version "29.7.0" 337 | resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-29.7.0.tgz#24d61f54ff1f786f3cd4073b4b94416383baf2a7" 338 | integrity sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw== 339 | dependencies: 340 | "@jest/fake-timers" "^29.7.0" 341 | "@jest/types" "^29.6.3" 342 | "@types/node" "*" 343 | jest-mock "^29.7.0" 344 | 345 | "@jest/expect-utils@^29.7.0": 346 | version "29.7.0" 347 | resolved "https://registry.yarnpkg.com/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6" 348 | integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== 349 | dependencies: 350 | jest-get-type "^29.6.3" 351 | 352 | "@jest/expect@^29.7.0": 353 | version "29.7.0" 354 | resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-29.7.0.tgz#76a3edb0cb753b70dfbfe23283510d3d45432bf2" 355 | integrity sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ== 356 | dependencies: 357 | expect "^29.7.0" 358 | jest-snapshot "^29.7.0" 359 | 360 | "@jest/fake-timers@^29.7.0": 361 | version "29.7.0" 362 | resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-29.7.0.tgz#fd91bf1fffb16d7d0d24a426ab1a47a49881a565" 363 | integrity sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ== 364 | dependencies: 365 | "@jest/types" "^29.6.3" 366 | "@sinonjs/fake-timers" "^10.0.2" 367 | "@types/node" "*" 368 | jest-message-util "^29.7.0" 369 | jest-mock "^29.7.0" 370 | jest-util "^29.7.0" 371 | 372 | "@jest/globals@^29.7.0": 373 | version "29.7.0" 374 | resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-29.7.0.tgz#8d9290f9ec47ff772607fa864ca1d5a2efae1d4d" 375 | integrity sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ== 376 | dependencies: 377 | "@jest/environment" "^29.7.0" 378 | "@jest/expect" "^29.7.0" 379 | "@jest/types" "^29.6.3" 380 | jest-mock "^29.7.0" 381 | 382 | "@jest/reporters@^29.7.0": 383 | version "29.7.0" 384 | resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-29.7.0.tgz#04b262ecb3b8faa83b0b3d321623972393e8f4c7" 385 | integrity sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg== 386 | dependencies: 387 | "@bcoe/v8-coverage" "^0.2.3" 388 | "@jest/console" "^29.7.0" 389 | "@jest/test-result" "^29.7.0" 390 | "@jest/transform" "^29.7.0" 391 | "@jest/types" "^29.6.3" 392 | "@jridgewell/trace-mapping" "^0.3.18" 393 | "@types/node" "*" 394 | chalk "^4.0.0" 395 | collect-v8-coverage "^1.0.0" 396 | exit "^0.1.2" 397 | glob "^7.1.3" 398 | graceful-fs "^4.2.9" 399 | istanbul-lib-coverage "^3.0.0" 400 | istanbul-lib-instrument "^6.0.0" 401 | istanbul-lib-report "^3.0.0" 402 | istanbul-lib-source-maps "^4.0.0" 403 | istanbul-reports "^3.1.3" 404 | jest-message-util "^29.7.0" 405 | jest-util "^29.7.0" 406 | jest-worker "^29.7.0" 407 | slash "^3.0.0" 408 | string-length "^4.0.1" 409 | strip-ansi "^6.0.0" 410 | v8-to-istanbul "^9.0.1" 411 | 412 | "@jest/schemas@^29.6.3": 413 | version "29.6.3" 414 | resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" 415 | integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== 416 | dependencies: 417 | "@sinclair/typebox" "^0.27.8" 418 | 419 | "@jest/source-map@^29.6.3": 420 | version "29.6.3" 421 | resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-29.6.3.tgz#d90ba772095cf37a34a5eb9413f1b562a08554c4" 422 | integrity sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw== 423 | dependencies: 424 | "@jridgewell/trace-mapping" "^0.3.18" 425 | callsites "^3.0.0" 426 | graceful-fs "^4.2.9" 427 | 428 | "@jest/test-result@^29.7.0": 429 | version "29.7.0" 430 | resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-29.7.0.tgz#8db9a80aa1a097bb2262572686734baed9b1657c" 431 | integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA== 432 | dependencies: 433 | "@jest/console" "^29.7.0" 434 | "@jest/types" "^29.6.3" 435 | "@types/istanbul-lib-coverage" "^2.0.0" 436 | collect-v8-coverage "^1.0.0" 437 | 438 | "@jest/test-sequencer@^29.7.0": 439 | version "29.7.0" 440 | resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz#6cef977ce1d39834a3aea887a1726628a6f072ce" 441 | integrity sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw== 442 | dependencies: 443 | "@jest/test-result" "^29.7.0" 444 | graceful-fs "^4.2.9" 445 | jest-haste-map "^29.7.0" 446 | slash "^3.0.0" 447 | 448 | "@jest/transform@^29.7.0": 449 | version "29.7.0" 450 | resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.7.0.tgz#df2dd9c346c7d7768b8a06639994640c642e284c" 451 | integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw== 452 | dependencies: 453 | "@babel/core" "^7.11.6" 454 | "@jest/types" "^29.6.3" 455 | "@jridgewell/trace-mapping" "^0.3.18" 456 | babel-plugin-istanbul "^6.1.1" 457 | chalk "^4.0.0" 458 | convert-source-map "^2.0.0" 459 | fast-json-stable-stringify "^2.1.0" 460 | graceful-fs "^4.2.9" 461 | jest-haste-map "^29.7.0" 462 | jest-regex-util "^29.6.3" 463 | jest-util "^29.7.0" 464 | micromatch "^4.0.4" 465 | pirates "^4.0.4" 466 | slash "^3.0.0" 467 | write-file-atomic "^4.0.2" 468 | 469 | "@jest/types@^29.6.3": 470 | version "29.6.3" 471 | resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" 472 | integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== 473 | dependencies: 474 | "@jest/schemas" "^29.6.3" 475 | "@types/istanbul-lib-coverage" "^2.0.0" 476 | "@types/istanbul-reports" "^3.0.0" 477 | "@types/node" "*" 478 | "@types/yargs" "^17.0.8" 479 | chalk "^4.0.0" 480 | 481 | "@jridgewell/gen-mapping@^0.3.12", "@jridgewell/gen-mapping@^0.3.5": 482 | version "0.3.13" 483 | resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz#6342a19f44347518c93e43b1ac69deb3c4656a1f" 484 | integrity sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA== 485 | dependencies: 486 | "@jridgewell/sourcemap-codec" "^1.5.0" 487 | "@jridgewell/trace-mapping" "^0.3.24" 488 | 489 | "@jridgewell/remapping@^2.3.5": 490 | version "2.3.5" 491 | resolved "https://registry.yarnpkg.com/@jridgewell/remapping/-/remapping-2.3.5.tgz#375c476d1972947851ba1e15ae8f123047445aa1" 492 | integrity sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ== 493 | dependencies: 494 | "@jridgewell/gen-mapping" "^0.3.5" 495 | "@jridgewell/trace-mapping" "^0.3.24" 496 | 497 | "@jridgewell/resolve-uri@^3.1.0": 498 | version "3.1.2" 499 | resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" 500 | integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== 501 | 502 | "@jridgewell/sourcemap-codec@^1.4.14", "@jridgewell/sourcemap-codec@^1.5.0": 503 | version "1.5.5" 504 | resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz#6912b00d2c631c0d15ce1a7ab57cd657f2a8f8ba" 505 | integrity sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og== 506 | 507 | "@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.28": 508 | version "0.3.31" 509 | resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz#db15d6781c931f3a251a3dac39501c98a6082fd0" 510 | integrity sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw== 511 | dependencies: 512 | "@jridgewell/resolve-uri" "^3.1.0" 513 | "@jridgewell/sourcemap-codec" "^1.4.14" 514 | 515 | "@sinclair/typebox@^0.27.8": 516 | version "0.27.8" 517 | resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" 518 | integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== 519 | 520 | "@sinonjs/commons@^3.0.0": 521 | version "3.0.1" 522 | resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd" 523 | integrity sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ== 524 | dependencies: 525 | type-detect "4.0.8" 526 | 527 | "@sinonjs/fake-timers@^10.0.2": 528 | version "10.3.0" 529 | resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz#55fdff1ecab9f354019129daf4df0dd4d923ea66" 530 | integrity sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA== 531 | dependencies: 532 | "@sinonjs/commons" "^3.0.0" 533 | 534 | "@types/babel__core@^7.1.14": 535 | version "7.20.5" 536 | resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" 537 | integrity sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA== 538 | dependencies: 539 | "@babel/parser" "^7.20.7" 540 | "@babel/types" "^7.20.7" 541 | "@types/babel__generator" "*" 542 | "@types/babel__template" "*" 543 | "@types/babel__traverse" "*" 544 | 545 | "@types/babel__generator@*": 546 | version "7.27.0" 547 | resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.27.0.tgz#b5819294c51179957afaec341442f9341e4108a9" 548 | integrity sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg== 549 | dependencies: 550 | "@babel/types" "^7.0.0" 551 | 552 | "@types/babel__template@*": 553 | version "7.4.4" 554 | resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.4.tgz#5672513701c1b2199bc6dad636a9d7491586766f" 555 | integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== 556 | dependencies: 557 | "@babel/parser" "^7.1.0" 558 | "@babel/types" "^7.0.0" 559 | 560 | "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": 561 | version "7.28.0" 562 | resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.28.0.tgz#07d713d6cce0d265c9849db0cbe62d3f61f36f74" 563 | integrity sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q== 564 | dependencies: 565 | "@babel/types" "^7.28.2" 566 | 567 | "@types/graceful-fs@^4.1.3": 568 | version "4.1.9" 569 | resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" 570 | integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== 571 | dependencies: 572 | "@types/node" "*" 573 | 574 | "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": 575 | version "2.0.6" 576 | resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" 577 | integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== 578 | 579 | "@types/istanbul-lib-report@*": 580 | version "3.0.3" 581 | resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" 582 | integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== 583 | dependencies: 584 | "@types/istanbul-lib-coverage" "*" 585 | 586 | "@types/istanbul-reports@^3.0.0": 587 | version "3.0.4" 588 | resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" 589 | integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== 590 | dependencies: 591 | "@types/istanbul-lib-report" "*" 592 | 593 | "@types/node@*": 594 | version "24.6.2" 595 | resolved "https://registry.yarnpkg.com/@types/node/-/node-24.6.2.tgz#59b99878b6fed17e698e7d09e51c729c5877736a" 596 | integrity sha512-d2L25Y4j+W3ZlNAeMKcy7yDsK425ibcAOO2t7aPTz6gNMH0z2GThtwENCDc0d/Pw9wgyRqE5Px1wkV7naz8ang== 597 | dependencies: 598 | undici-types "~7.13.0" 599 | 600 | "@types/stack-utils@^2.0.0": 601 | version "2.0.3" 602 | resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" 603 | integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== 604 | 605 | "@types/yargs-parser@*": 606 | version "21.0.3" 607 | resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" 608 | integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== 609 | 610 | "@types/yargs@^17.0.8": 611 | version "17.0.33" 612 | resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.33.tgz#8c32303da83eec050a84b3c7ae7b9f922d13e32d" 613 | integrity sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA== 614 | dependencies: 615 | "@types/yargs-parser" "*" 616 | 617 | ansi-escapes@^4.2.1: 618 | version "4.3.2" 619 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" 620 | integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== 621 | dependencies: 622 | type-fest "^0.21.3" 623 | 624 | ansi-regex@^5.0.1: 625 | version "5.0.1" 626 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" 627 | integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== 628 | 629 | ansi-styles@^4.0.0, ansi-styles@^4.1.0: 630 | version "4.3.0" 631 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" 632 | integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== 633 | dependencies: 634 | color-convert "^2.0.1" 635 | 636 | ansi-styles@^5.0.0: 637 | version "5.2.0" 638 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" 639 | integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== 640 | 641 | anymatch@^3.0.3: 642 | version "3.1.3" 643 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" 644 | integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== 645 | dependencies: 646 | normalize-path "^3.0.0" 647 | picomatch "^2.0.4" 648 | 649 | argparse@^1.0.7: 650 | version "1.0.10" 651 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" 652 | integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== 653 | dependencies: 654 | sprintf-js "~1.0.2" 655 | 656 | babel-jest@^29.7.0: 657 | version "29.7.0" 658 | resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" 659 | integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== 660 | dependencies: 661 | "@jest/transform" "^29.7.0" 662 | "@types/babel__core" "^7.1.14" 663 | babel-plugin-istanbul "^6.1.1" 664 | babel-preset-jest "^29.6.3" 665 | chalk "^4.0.0" 666 | graceful-fs "^4.2.9" 667 | slash "^3.0.0" 668 | 669 | babel-plugin-istanbul@^6.1.1: 670 | version "6.1.1" 671 | resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" 672 | integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== 673 | dependencies: 674 | "@babel/helper-plugin-utils" "^7.0.0" 675 | "@istanbuljs/load-nyc-config" "^1.0.0" 676 | "@istanbuljs/schema" "^0.1.2" 677 | istanbul-lib-instrument "^5.0.4" 678 | test-exclude "^6.0.0" 679 | 680 | babel-plugin-jest-hoist@^29.6.3: 681 | version "29.6.3" 682 | resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz#aadbe943464182a8922c3c927c3067ff40d24626" 683 | integrity sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg== 684 | dependencies: 685 | "@babel/template" "^7.3.3" 686 | "@babel/types" "^7.3.3" 687 | "@types/babel__core" "^7.1.14" 688 | "@types/babel__traverse" "^7.0.6" 689 | 690 | babel-preset-current-node-syntax@^1.0.0: 691 | version "1.2.0" 692 | resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz#20730d6cdc7dda5d89401cab10ac6a32067acde6" 693 | integrity sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg== 694 | dependencies: 695 | "@babel/plugin-syntax-async-generators" "^7.8.4" 696 | "@babel/plugin-syntax-bigint" "^7.8.3" 697 | "@babel/plugin-syntax-class-properties" "^7.12.13" 698 | "@babel/plugin-syntax-class-static-block" "^7.14.5" 699 | "@babel/plugin-syntax-import-attributes" "^7.24.7" 700 | "@babel/plugin-syntax-import-meta" "^7.10.4" 701 | "@babel/plugin-syntax-json-strings" "^7.8.3" 702 | "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" 703 | "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" 704 | "@babel/plugin-syntax-numeric-separator" "^7.10.4" 705 | "@babel/plugin-syntax-object-rest-spread" "^7.8.3" 706 | "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" 707 | "@babel/plugin-syntax-optional-chaining" "^7.8.3" 708 | "@babel/plugin-syntax-private-property-in-object" "^7.14.5" 709 | "@babel/plugin-syntax-top-level-await" "^7.14.5" 710 | 711 | babel-preset-jest@^29.6.3: 712 | version "29.6.3" 713 | resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz#fa05fa510e7d493896d7b0dd2033601c840f171c" 714 | integrity sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA== 715 | dependencies: 716 | babel-plugin-jest-hoist "^29.6.3" 717 | babel-preset-current-node-syntax "^1.0.0" 718 | 719 | balanced-match@^1.0.0: 720 | version "1.0.2" 721 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" 722 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== 723 | 724 | baseline-browser-mapping@^2.8.9: 725 | version "2.8.11" 726 | resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.11.tgz#70f8d63a5dbcfd82f055be51e2ebe2d477908704" 727 | integrity sha512-i+sRXGhz4+QW8aACZ3+r1GAKMt0wlFpeA8M5rOQd0HEYw9zhDrlx9Wc8uQ0IdXakjJRthzglEwfB/yqIjO6iDg== 728 | 729 | brace-expansion@^1.1.7: 730 | version "1.1.11" 731 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 732 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== 733 | dependencies: 734 | balanced-match "^1.0.0" 735 | concat-map "0.0.1" 736 | 737 | braces@^3.0.3: 738 | version "3.0.3" 739 | resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" 740 | integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== 741 | dependencies: 742 | fill-range "^7.1.1" 743 | 744 | browserslist@^4.24.0: 745 | version "4.26.3" 746 | resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.26.3.tgz#40fbfe2d1cd420281ce5b1caa8840049c79afb56" 747 | integrity sha512-lAUU+02RFBuCKQPj/P6NgjlbCnLBMp4UtgTx7vNHd3XSIJF87s9a5rA3aH2yw3GS9DqZAUbOtZdCCiZeVRqt0w== 748 | dependencies: 749 | baseline-browser-mapping "^2.8.9" 750 | caniuse-lite "^1.0.30001746" 751 | electron-to-chromium "^1.5.227" 752 | node-releases "^2.0.21" 753 | update-browserslist-db "^1.1.3" 754 | 755 | bser@2.1.1: 756 | version "2.1.1" 757 | resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" 758 | integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== 759 | dependencies: 760 | node-int64 "^0.4.0" 761 | 762 | buffer-from@^1.0.0: 763 | version "1.1.2" 764 | resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" 765 | integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== 766 | 767 | callsites@^3.0.0: 768 | version "3.1.0" 769 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" 770 | integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== 771 | 772 | camelcase@^5.3.1: 773 | version "5.3.1" 774 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" 775 | integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== 776 | 777 | camelcase@^6.2.0: 778 | version "6.3.0" 779 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" 780 | integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== 781 | 782 | caniuse-lite@^1.0.30001746: 783 | version "1.0.30001747" 784 | resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001747.tgz#2cfbbb7f1f046439ebaf34bba337ee3d3474c7e5" 785 | integrity sha512-mzFa2DGIhuc5490Nd/G31xN1pnBnYMadtkyTjefPI7wzypqgCEpeWu9bJr0OnDsyKrW75zA9ZAt7pbQFmwLsQg== 786 | 787 | chalk@^4.0.0: 788 | version "4.1.2" 789 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" 790 | integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== 791 | dependencies: 792 | ansi-styles "^4.1.0" 793 | supports-color "^7.1.0" 794 | 795 | char-regex@^1.0.2: 796 | version "1.0.2" 797 | resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" 798 | integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== 799 | 800 | ci-info@^3.2.0: 801 | version "3.9.0" 802 | resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" 803 | integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== 804 | 805 | cjs-module-lexer@^1.0.0: 806 | version "1.4.3" 807 | resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.4.3.tgz#0f79731eb8cfe1ec72acd4066efac9d61991b00d" 808 | integrity sha512-9z8TZaGM1pfswYeXrUpzPrkx8UnWYdhJclsiYMm6x/w5+nN+8Tf/LnAgfLGQCm59qAOxU8WwHEq2vNwF6i4j+Q== 809 | 810 | cliui@^8.0.1: 811 | version "8.0.1" 812 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" 813 | integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== 814 | dependencies: 815 | string-width "^4.2.0" 816 | strip-ansi "^6.0.1" 817 | wrap-ansi "^7.0.0" 818 | 819 | co@^4.6.0: 820 | version "4.6.0" 821 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 822 | integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= 823 | 824 | collect-v8-coverage@^1.0.0: 825 | version "1.0.2" 826 | resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" 827 | integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== 828 | 829 | color-convert@^2.0.1: 830 | version "2.0.1" 831 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" 832 | integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== 833 | dependencies: 834 | color-name "~1.1.4" 835 | 836 | color-name@~1.1.4: 837 | version "1.1.4" 838 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" 839 | integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== 840 | 841 | concat-map@0.0.1: 842 | version "0.0.1" 843 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 844 | integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= 845 | 846 | convert-source-map@^2.0.0: 847 | version "2.0.0" 848 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" 849 | integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== 850 | 851 | create-jest@^29.7.0: 852 | version "29.7.0" 853 | resolved "https://registry.yarnpkg.com/create-jest/-/create-jest-29.7.0.tgz#a355c5b3cb1e1af02ba177fe7afd7feee49a5320" 854 | integrity sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q== 855 | dependencies: 856 | "@jest/types" "^29.6.3" 857 | chalk "^4.0.0" 858 | exit "^0.1.2" 859 | graceful-fs "^4.2.9" 860 | jest-config "^29.7.0" 861 | jest-util "^29.7.0" 862 | prompts "^2.0.1" 863 | 864 | cross-spawn@^7.0.3: 865 | version "7.0.6" 866 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" 867 | integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA== 868 | dependencies: 869 | path-key "^3.1.0" 870 | shebang-command "^2.0.0" 871 | which "^2.0.1" 872 | 873 | debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: 874 | version "4.4.3" 875 | resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a" 876 | integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA== 877 | dependencies: 878 | ms "^2.1.3" 879 | 880 | dedent@^1.0.0: 881 | version "1.7.0" 882 | resolved "https://registry.yarnpkg.com/dedent/-/dedent-1.7.0.tgz#c1f9445335f0175a96587be245a282ff451446ca" 883 | integrity sha512-HGFtf8yhuhGhqO07SV79tRp+br4MnbdjeVxotpn1QBl30pcLLCQjX5b2295ll0fv8RKDKsmWYrl05usHM9CewQ== 884 | 885 | deepmerge@^4.2.2: 886 | version "4.3.1" 887 | resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" 888 | integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== 889 | 890 | detect-newline@^3.0.0: 891 | version "3.1.0" 892 | resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" 893 | integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== 894 | 895 | diff-sequences@^29.6.3: 896 | version "29.6.3" 897 | resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" 898 | integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== 899 | 900 | electron-to-chromium@^1.5.227: 901 | version "1.5.230" 902 | resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.230.tgz#06ddb4a6302a78b2a3e8dcf1dd2563bcfdd546c9" 903 | integrity sha512-A6A6Fd3+gMdaed9wX83CvHYJb4UuapPD5X5SLq72VZJzxHSY0/LUweGXRWmQlh2ln7KV7iw7jnwXK7dlPoOnHQ== 904 | 905 | emittery@^0.13.1: 906 | version "0.13.1" 907 | resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" 908 | integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== 909 | 910 | emoji-regex@^8.0.0: 911 | version "8.0.0" 912 | resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" 913 | integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== 914 | 915 | error-ex@^1.3.1: 916 | version "1.3.4" 917 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.4.tgz#b3a8d8bb6f92eecc1629e3e27d3c8607a8a32414" 918 | integrity sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ== 919 | dependencies: 920 | is-arrayish "^0.2.1" 921 | 922 | escalade@^3.1.1, escalade@^3.2.0: 923 | version "3.2.0" 924 | resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" 925 | integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== 926 | 927 | escape-string-regexp@^2.0.0: 928 | version "2.0.0" 929 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" 930 | integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== 931 | 932 | esprima@^4.0.0: 933 | version "4.0.1" 934 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" 935 | integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== 936 | 937 | execa@^5.0.0: 938 | version "5.1.1" 939 | resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" 940 | integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== 941 | dependencies: 942 | cross-spawn "^7.0.3" 943 | get-stream "^6.0.0" 944 | human-signals "^2.1.0" 945 | is-stream "^2.0.0" 946 | merge-stream "^2.0.0" 947 | npm-run-path "^4.0.1" 948 | onetime "^5.1.2" 949 | signal-exit "^3.0.3" 950 | strip-final-newline "^2.0.0" 951 | 952 | exit@^0.1.2: 953 | version "0.1.2" 954 | resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" 955 | integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= 956 | 957 | expect@^29.7.0: 958 | version "29.7.0" 959 | resolved "https://registry.yarnpkg.com/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" 960 | integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== 961 | dependencies: 962 | "@jest/expect-utils" "^29.7.0" 963 | jest-get-type "^29.6.3" 964 | jest-matcher-utils "^29.7.0" 965 | jest-message-util "^29.7.0" 966 | jest-util "^29.7.0" 967 | 968 | fast-json-stable-stringify@^2.1.0: 969 | version "2.1.0" 970 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" 971 | integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== 972 | 973 | fb-watchman@^2.0.0: 974 | version "2.0.1" 975 | resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85" 976 | integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== 977 | dependencies: 978 | bser "2.1.1" 979 | 980 | fill-range@^7.1.1: 981 | version "7.1.1" 982 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" 983 | integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== 984 | dependencies: 985 | to-regex-range "^5.0.1" 986 | 987 | find-up@^4.0.0, find-up@^4.1.0: 988 | version "4.1.0" 989 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" 990 | integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== 991 | dependencies: 992 | locate-path "^5.0.0" 993 | path-exists "^4.0.0" 994 | 995 | fs.realpath@^1.0.0: 996 | version "1.0.0" 997 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 998 | integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= 999 | 1000 | fsevents@^2.3.2: 1001 | version "2.3.3" 1002 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" 1003 | integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== 1004 | 1005 | function-bind@^1.1.2: 1006 | version "1.1.2" 1007 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" 1008 | integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== 1009 | 1010 | gensync@^1.0.0-beta.2: 1011 | version "1.0.0-beta.2" 1012 | resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" 1013 | integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== 1014 | 1015 | get-caller-file@^2.0.5: 1016 | version "2.0.5" 1017 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" 1018 | integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== 1019 | 1020 | get-package-type@^0.1.0: 1021 | version "0.1.0" 1022 | resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" 1023 | integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== 1024 | 1025 | get-stream@^6.0.0: 1026 | version "6.0.1" 1027 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" 1028 | integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== 1029 | 1030 | glob@^7.1.3: 1031 | version "7.2.0" 1032 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" 1033 | integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== 1034 | dependencies: 1035 | fs.realpath "^1.0.0" 1036 | inflight "^1.0.4" 1037 | inherits "2" 1038 | minimatch "^3.0.4" 1039 | once "^1.3.0" 1040 | path-is-absolute "^1.0.0" 1041 | 1042 | glob@^7.1.4: 1043 | version "7.2.3" 1044 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" 1045 | integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== 1046 | dependencies: 1047 | fs.realpath "^1.0.0" 1048 | inflight "^1.0.4" 1049 | inherits "2" 1050 | minimatch "^3.1.1" 1051 | once "^1.3.0" 1052 | path-is-absolute "^1.0.0" 1053 | 1054 | graceful-fs@^4.2.9: 1055 | version "4.2.11" 1056 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" 1057 | integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== 1058 | 1059 | has-flag@^4.0.0: 1060 | version "4.0.0" 1061 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" 1062 | integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== 1063 | 1064 | hasown@^2.0.2: 1065 | version "2.0.2" 1066 | resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" 1067 | integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== 1068 | dependencies: 1069 | function-bind "^1.1.2" 1070 | 1071 | html-escaper@^2.0.0: 1072 | version "2.0.2" 1073 | resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" 1074 | integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== 1075 | 1076 | human-signals@^2.1.0: 1077 | version "2.1.0" 1078 | resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" 1079 | integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== 1080 | 1081 | import-local@^3.0.2: 1082 | version "3.2.0" 1083 | resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.2.0.tgz#c3d5c745798c02a6f8b897726aba5100186ee260" 1084 | integrity sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA== 1085 | dependencies: 1086 | pkg-dir "^4.2.0" 1087 | resolve-cwd "^3.0.0" 1088 | 1089 | imurmurhash@^0.1.4: 1090 | version "0.1.4" 1091 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 1092 | integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= 1093 | 1094 | inflight@^1.0.4: 1095 | version "1.0.6" 1096 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1097 | integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= 1098 | dependencies: 1099 | once "^1.3.0" 1100 | wrappy "1" 1101 | 1102 | inherits@2: 1103 | version "2.0.4" 1104 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" 1105 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 1106 | 1107 | is-arrayish@^0.2.1: 1108 | version "0.2.1" 1109 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 1110 | integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= 1111 | 1112 | is-core-module@^2.16.0: 1113 | version "2.16.1" 1114 | resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.16.1.tgz#2a98801a849f43e2add644fbb6bc6229b19a4ef4" 1115 | integrity sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w== 1116 | dependencies: 1117 | hasown "^2.0.2" 1118 | 1119 | is-fullwidth-code-point@^3.0.0: 1120 | version "3.0.0" 1121 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" 1122 | integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== 1123 | 1124 | is-generator-fn@^2.0.0: 1125 | version "2.1.0" 1126 | resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" 1127 | integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== 1128 | 1129 | is-number@^7.0.0: 1130 | version "7.0.0" 1131 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" 1132 | integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== 1133 | 1134 | is-stream@^2.0.0: 1135 | version "2.0.1" 1136 | resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" 1137 | integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== 1138 | 1139 | isexe@^2.0.0: 1140 | version "2.0.0" 1141 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1142 | integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= 1143 | 1144 | istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: 1145 | version "3.2.2" 1146 | resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" 1147 | integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== 1148 | 1149 | istanbul-lib-instrument@^5.0.4: 1150 | version "5.2.1" 1151 | resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" 1152 | integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== 1153 | dependencies: 1154 | "@babel/core" "^7.12.3" 1155 | "@babel/parser" "^7.14.7" 1156 | "@istanbuljs/schema" "^0.1.2" 1157 | istanbul-lib-coverage "^3.2.0" 1158 | semver "^6.3.0" 1159 | 1160 | istanbul-lib-instrument@^6.0.0: 1161 | version "6.0.3" 1162 | resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz#fa15401df6c15874bcb2105f773325d78c666765" 1163 | integrity sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q== 1164 | dependencies: 1165 | "@babel/core" "^7.23.9" 1166 | "@babel/parser" "^7.23.9" 1167 | "@istanbuljs/schema" "^0.1.3" 1168 | istanbul-lib-coverage "^3.2.0" 1169 | semver "^7.5.4" 1170 | 1171 | istanbul-lib-report@^3.0.0: 1172 | version "3.0.1" 1173 | resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" 1174 | integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== 1175 | dependencies: 1176 | istanbul-lib-coverage "^3.0.0" 1177 | make-dir "^4.0.0" 1178 | supports-color "^7.1.0" 1179 | 1180 | istanbul-lib-source-maps@^4.0.0: 1181 | version "4.0.1" 1182 | resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" 1183 | integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== 1184 | dependencies: 1185 | debug "^4.1.1" 1186 | istanbul-lib-coverage "^3.0.0" 1187 | source-map "^0.6.1" 1188 | 1189 | istanbul-reports@^3.1.3: 1190 | version "3.2.0" 1191 | resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.2.0.tgz#cb4535162b5784aa623cee21a7252cf2c807ac93" 1192 | integrity sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA== 1193 | dependencies: 1194 | html-escaper "^2.0.0" 1195 | istanbul-lib-report "^3.0.0" 1196 | 1197 | jest-changed-files@^29.7.0: 1198 | version "29.7.0" 1199 | resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" 1200 | integrity sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w== 1201 | dependencies: 1202 | execa "^5.0.0" 1203 | jest-util "^29.7.0" 1204 | p-limit "^3.1.0" 1205 | 1206 | jest-circus@^29.7.0: 1207 | version "29.7.0" 1208 | resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-29.7.0.tgz#b6817a45fcc835d8b16d5962d0c026473ee3668a" 1209 | integrity sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw== 1210 | dependencies: 1211 | "@jest/environment" "^29.7.0" 1212 | "@jest/expect" "^29.7.0" 1213 | "@jest/test-result" "^29.7.0" 1214 | "@jest/types" "^29.6.3" 1215 | "@types/node" "*" 1216 | chalk "^4.0.0" 1217 | co "^4.6.0" 1218 | dedent "^1.0.0" 1219 | is-generator-fn "^2.0.0" 1220 | jest-each "^29.7.0" 1221 | jest-matcher-utils "^29.7.0" 1222 | jest-message-util "^29.7.0" 1223 | jest-runtime "^29.7.0" 1224 | jest-snapshot "^29.7.0" 1225 | jest-util "^29.7.0" 1226 | p-limit "^3.1.0" 1227 | pretty-format "^29.7.0" 1228 | pure-rand "^6.0.0" 1229 | slash "^3.0.0" 1230 | stack-utils "^2.0.3" 1231 | 1232 | jest-cli@^29.7.0: 1233 | version "29.7.0" 1234 | resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-29.7.0.tgz#5592c940798e0cae677eec169264f2d839a37995" 1235 | integrity sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg== 1236 | dependencies: 1237 | "@jest/core" "^29.7.0" 1238 | "@jest/test-result" "^29.7.0" 1239 | "@jest/types" "^29.6.3" 1240 | chalk "^4.0.0" 1241 | create-jest "^29.7.0" 1242 | exit "^0.1.2" 1243 | import-local "^3.0.2" 1244 | jest-config "^29.7.0" 1245 | jest-util "^29.7.0" 1246 | jest-validate "^29.7.0" 1247 | yargs "^17.3.1" 1248 | 1249 | jest-config@^29.7.0: 1250 | version "29.7.0" 1251 | resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-29.7.0.tgz#bcbda8806dbcc01b1e316a46bb74085a84b0245f" 1252 | integrity sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ== 1253 | dependencies: 1254 | "@babel/core" "^7.11.6" 1255 | "@jest/test-sequencer" "^29.7.0" 1256 | "@jest/types" "^29.6.3" 1257 | babel-jest "^29.7.0" 1258 | chalk "^4.0.0" 1259 | ci-info "^3.2.0" 1260 | deepmerge "^4.2.2" 1261 | glob "^7.1.3" 1262 | graceful-fs "^4.2.9" 1263 | jest-circus "^29.7.0" 1264 | jest-environment-node "^29.7.0" 1265 | jest-get-type "^29.6.3" 1266 | jest-regex-util "^29.6.3" 1267 | jest-resolve "^29.7.0" 1268 | jest-runner "^29.7.0" 1269 | jest-util "^29.7.0" 1270 | jest-validate "^29.7.0" 1271 | micromatch "^4.0.4" 1272 | parse-json "^5.2.0" 1273 | pretty-format "^29.7.0" 1274 | slash "^3.0.0" 1275 | strip-json-comments "^3.1.1" 1276 | 1277 | jest-diff@^29.7.0: 1278 | version "29.7.0" 1279 | resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" 1280 | integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== 1281 | dependencies: 1282 | chalk "^4.0.0" 1283 | diff-sequences "^29.6.3" 1284 | jest-get-type "^29.6.3" 1285 | pretty-format "^29.7.0" 1286 | 1287 | jest-docblock@^29.7.0: 1288 | version "29.7.0" 1289 | resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-29.7.0.tgz#8fddb6adc3cdc955c93e2a87f61cfd350d5d119a" 1290 | integrity sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g== 1291 | dependencies: 1292 | detect-newline "^3.0.0" 1293 | 1294 | jest-each@^29.7.0: 1295 | version "29.7.0" 1296 | resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-29.7.0.tgz#162a9b3f2328bdd991beaabffbb74745e56577d1" 1297 | integrity sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ== 1298 | dependencies: 1299 | "@jest/types" "^29.6.3" 1300 | chalk "^4.0.0" 1301 | jest-get-type "^29.6.3" 1302 | jest-util "^29.7.0" 1303 | pretty-format "^29.7.0" 1304 | 1305 | jest-environment-node@^29.7.0: 1306 | version "29.7.0" 1307 | resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" 1308 | integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw== 1309 | dependencies: 1310 | "@jest/environment" "^29.7.0" 1311 | "@jest/fake-timers" "^29.7.0" 1312 | "@jest/types" "^29.6.3" 1313 | "@types/node" "*" 1314 | jest-mock "^29.7.0" 1315 | jest-util "^29.7.0" 1316 | 1317 | jest-get-type@^29.6.3: 1318 | version "29.6.3" 1319 | resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" 1320 | integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== 1321 | 1322 | jest-haste-map@^29.7.0: 1323 | version "29.7.0" 1324 | resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.7.0.tgz#3c2396524482f5a0506376e6c858c3bbcc17b104" 1325 | integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA== 1326 | dependencies: 1327 | "@jest/types" "^29.6.3" 1328 | "@types/graceful-fs" "^4.1.3" 1329 | "@types/node" "*" 1330 | anymatch "^3.0.3" 1331 | fb-watchman "^2.0.0" 1332 | graceful-fs "^4.2.9" 1333 | jest-regex-util "^29.6.3" 1334 | jest-util "^29.7.0" 1335 | jest-worker "^29.7.0" 1336 | micromatch "^4.0.4" 1337 | walker "^1.0.8" 1338 | optionalDependencies: 1339 | fsevents "^2.3.2" 1340 | 1341 | jest-leak-detector@^29.7.0: 1342 | version "29.7.0" 1343 | resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728" 1344 | integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw== 1345 | dependencies: 1346 | jest-get-type "^29.6.3" 1347 | pretty-format "^29.7.0" 1348 | 1349 | jest-matcher-utils@^29.7.0: 1350 | version "29.7.0" 1351 | resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12" 1352 | integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== 1353 | dependencies: 1354 | chalk "^4.0.0" 1355 | jest-diff "^29.7.0" 1356 | jest-get-type "^29.6.3" 1357 | pretty-format "^29.7.0" 1358 | 1359 | jest-message-util@^29.7.0: 1360 | version "29.7.0" 1361 | resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3" 1362 | integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== 1363 | dependencies: 1364 | "@babel/code-frame" "^7.12.13" 1365 | "@jest/types" "^29.6.3" 1366 | "@types/stack-utils" "^2.0.0" 1367 | chalk "^4.0.0" 1368 | graceful-fs "^4.2.9" 1369 | micromatch "^4.0.4" 1370 | pretty-format "^29.7.0" 1371 | slash "^3.0.0" 1372 | stack-utils "^2.0.3" 1373 | 1374 | jest-mock@^29.7.0: 1375 | version "29.7.0" 1376 | resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-29.7.0.tgz#4e836cf60e99c6fcfabe9f99d017f3fdd50a6347" 1377 | integrity sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw== 1378 | dependencies: 1379 | "@jest/types" "^29.6.3" 1380 | "@types/node" "*" 1381 | jest-util "^29.7.0" 1382 | 1383 | jest-pnp-resolver@^1.2.2: 1384 | version "1.2.3" 1385 | resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" 1386 | integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== 1387 | 1388 | jest-regex-util@^29.6.3: 1389 | version "29.6.3" 1390 | resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.6.3.tgz#4a556d9c776af68e1c5f48194f4d0327d24e8a52" 1391 | integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg== 1392 | 1393 | jest-resolve-dependencies@^29.7.0: 1394 | version "29.7.0" 1395 | resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz#1b04f2c095f37fc776ff40803dc92921b1e88428" 1396 | integrity sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA== 1397 | dependencies: 1398 | jest-regex-util "^29.6.3" 1399 | jest-snapshot "^29.7.0" 1400 | 1401 | jest-resolve@^29.7.0: 1402 | version "29.7.0" 1403 | resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-29.7.0.tgz#64d6a8992dd26f635ab0c01e5eef4399c6bcbc30" 1404 | integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== 1405 | dependencies: 1406 | chalk "^4.0.0" 1407 | graceful-fs "^4.2.9" 1408 | jest-haste-map "^29.7.0" 1409 | jest-pnp-resolver "^1.2.2" 1410 | jest-util "^29.7.0" 1411 | jest-validate "^29.7.0" 1412 | resolve "^1.20.0" 1413 | resolve.exports "^2.0.0" 1414 | slash "^3.0.0" 1415 | 1416 | jest-runner@^29.7.0: 1417 | version "29.7.0" 1418 | resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-29.7.0.tgz#809af072d408a53dcfd2e849a4c976d3132f718e" 1419 | integrity sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ== 1420 | dependencies: 1421 | "@jest/console" "^29.7.0" 1422 | "@jest/environment" "^29.7.0" 1423 | "@jest/test-result" "^29.7.0" 1424 | "@jest/transform" "^29.7.0" 1425 | "@jest/types" "^29.6.3" 1426 | "@types/node" "*" 1427 | chalk "^4.0.0" 1428 | emittery "^0.13.1" 1429 | graceful-fs "^4.2.9" 1430 | jest-docblock "^29.7.0" 1431 | jest-environment-node "^29.7.0" 1432 | jest-haste-map "^29.7.0" 1433 | jest-leak-detector "^29.7.0" 1434 | jest-message-util "^29.7.0" 1435 | jest-resolve "^29.7.0" 1436 | jest-runtime "^29.7.0" 1437 | jest-util "^29.7.0" 1438 | jest-watcher "^29.7.0" 1439 | jest-worker "^29.7.0" 1440 | p-limit "^3.1.0" 1441 | source-map-support "0.5.13" 1442 | 1443 | jest-runtime@^29.7.0: 1444 | version "29.7.0" 1445 | resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-29.7.0.tgz#efecb3141cf7d3767a3a0cc8f7c9990587d3d817" 1446 | integrity sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ== 1447 | dependencies: 1448 | "@jest/environment" "^29.7.0" 1449 | "@jest/fake-timers" "^29.7.0" 1450 | "@jest/globals" "^29.7.0" 1451 | "@jest/source-map" "^29.6.3" 1452 | "@jest/test-result" "^29.7.0" 1453 | "@jest/transform" "^29.7.0" 1454 | "@jest/types" "^29.6.3" 1455 | "@types/node" "*" 1456 | chalk "^4.0.0" 1457 | cjs-module-lexer "^1.0.0" 1458 | collect-v8-coverage "^1.0.0" 1459 | glob "^7.1.3" 1460 | graceful-fs "^4.2.9" 1461 | jest-haste-map "^29.7.0" 1462 | jest-message-util "^29.7.0" 1463 | jest-mock "^29.7.0" 1464 | jest-regex-util "^29.6.3" 1465 | jest-resolve "^29.7.0" 1466 | jest-snapshot "^29.7.0" 1467 | jest-util "^29.7.0" 1468 | slash "^3.0.0" 1469 | strip-bom "^4.0.0" 1470 | 1471 | jest-snapshot@^29.7.0: 1472 | version "29.7.0" 1473 | resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5" 1474 | integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== 1475 | dependencies: 1476 | "@babel/core" "^7.11.6" 1477 | "@babel/generator" "^7.7.2" 1478 | "@babel/plugin-syntax-jsx" "^7.7.2" 1479 | "@babel/plugin-syntax-typescript" "^7.7.2" 1480 | "@babel/types" "^7.3.3" 1481 | "@jest/expect-utils" "^29.7.0" 1482 | "@jest/transform" "^29.7.0" 1483 | "@jest/types" "^29.6.3" 1484 | babel-preset-current-node-syntax "^1.0.0" 1485 | chalk "^4.0.0" 1486 | expect "^29.7.0" 1487 | graceful-fs "^4.2.9" 1488 | jest-diff "^29.7.0" 1489 | jest-get-type "^29.6.3" 1490 | jest-matcher-utils "^29.7.0" 1491 | jest-message-util "^29.7.0" 1492 | jest-util "^29.7.0" 1493 | natural-compare "^1.4.0" 1494 | pretty-format "^29.7.0" 1495 | semver "^7.5.3" 1496 | 1497 | jest-util@^29.7.0: 1498 | version "29.7.0" 1499 | resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" 1500 | integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== 1501 | dependencies: 1502 | "@jest/types" "^29.6.3" 1503 | "@types/node" "*" 1504 | chalk "^4.0.0" 1505 | ci-info "^3.2.0" 1506 | graceful-fs "^4.2.9" 1507 | picomatch "^2.2.3" 1508 | 1509 | jest-validate@^29.7.0: 1510 | version "29.7.0" 1511 | resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-29.7.0.tgz#7bf705511c64da591d46b15fce41400d52147d9c" 1512 | integrity sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw== 1513 | dependencies: 1514 | "@jest/types" "^29.6.3" 1515 | camelcase "^6.2.0" 1516 | chalk "^4.0.0" 1517 | jest-get-type "^29.6.3" 1518 | leven "^3.1.0" 1519 | pretty-format "^29.7.0" 1520 | 1521 | jest-watcher@^29.7.0: 1522 | version "29.7.0" 1523 | resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-29.7.0.tgz#7810d30d619c3a62093223ce6bb359ca1b28a2f2" 1524 | integrity sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g== 1525 | dependencies: 1526 | "@jest/test-result" "^29.7.0" 1527 | "@jest/types" "^29.6.3" 1528 | "@types/node" "*" 1529 | ansi-escapes "^4.2.1" 1530 | chalk "^4.0.0" 1531 | emittery "^0.13.1" 1532 | jest-util "^29.7.0" 1533 | string-length "^4.0.1" 1534 | 1535 | jest-worker@^29.7.0: 1536 | version "29.7.0" 1537 | resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" 1538 | integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== 1539 | dependencies: 1540 | "@types/node" "*" 1541 | jest-util "^29.7.0" 1542 | merge-stream "^2.0.0" 1543 | supports-color "^8.0.0" 1544 | 1545 | jest@^29.7.0: 1546 | version "29.7.0" 1547 | resolved "https://registry.yarnpkg.com/jest/-/jest-29.7.0.tgz#994676fc24177f088f1c5e3737f5697204ff2613" 1548 | integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw== 1549 | dependencies: 1550 | "@jest/core" "^29.7.0" 1551 | "@jest/types" "^29.6.3" 1552 | import-local "^3.0.2" 1553 | jest-cli "^29.7.0" 1554 | 1555 | js-tokens@^4.0.0: 1556 | version "4.0.0" 1557 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" 1558 | integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== 1559 | 1560 | js-yaml@^3.13.1: 1561 | version "3.14.1" 1562 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" 1563 | integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== 1564 | dependencies: 1565 | argparse "^1.0.7" 1566 | esprima "^4.0.0" 1567 | 1568 | jsesc@^3.0.2: 1569 | version "3.1.0" 1570 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.1.0.tgz#74d335a234f67ed19907fdadfac7ccf9d409825d" 1571 | integrity sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA== 1572 | 1573 | json-parse-even-better-errors@^2.3.0: 1574 | version "2.3.1" 1575 | resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" 1576 | integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== 1577 | 1578 | json5@^2.2.3: 1579 | version "2.2.3" 1580 | resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" 1581 | integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== 1582 | 1583 | kleur@^3.0.3: 1584 | version "3.0.3" 1585 | resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" 1586 | integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== 1587 | 1588 | leven@^3.1.0: 1589 | version "3.1.0" 1590 | resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" 1591 | integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== 1592 | 1593 | lines-and-columns@^1.1.6: 1594 | version "1.2.4" 1595 | resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" 1596 | integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== 1597 | 1598 | locate-path@^5.0.0: 1599 | version "5.0.0" 1600 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" 1601 | integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== 1602 | dependencies: 1603 | p-locate "^4.1.0" 1604 | 1605 | lru-cache@^5.1.1: 1606 | version "5.1.1" 1607 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" 1608 | integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== 1609 | dependencies: 1610 | yallist "^3.0.2" 1611 | 1612 | make-dir@^4.0.0: 1613 | version "4.0.0" 1614 | resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" 1615 | integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== 1616 | dependencies: 1617 | semver "^7.5.3" 1618 | 1619 | makeerror@1.0.12: 1620 | version "1.0.12" 1621 | resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" 1622 | integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== 1623 | dependencies: 1624 | tmpl "1.0.5" 1625 | 1626 | merge-stream@^2.0.0: 1627 | version "2.0.0" 1628 | resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" 1629 | integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== 1630 | 1631 | micromatch@^4.0.4: 1632 | version "4.0.8" 1633 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" 1634 | integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== 1635 | dependencies: 1636 | braces "^3.0.3" 1637 | picomatch "^2.3.1" 1638 | 1639 | mimic-fn@^2.1.0: 1640 | version "2.1.0" 1641 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" 1642 | integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== 1643 | 1644 | minimatch@^3.0.4: 1645 | version "3.0.4" 1646 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 1647 | integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== 1648 | dependencies: 1649 | brace-expansion "^1.1.7" 1650 | 1651 | minimatch@^3.1.1: 1652 | version "3.1.2" 1653 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" 1654 | integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== 1655 | dependencies: 1656 | brace-expansion "^1.1.7" 1657 | 1658 | ms@^2.1.3: 1659 | version "2.1.3" 1660 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" 1661 | integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== 1662 | 1663 | natural-compare@^1.4.0: 1664 | version "1.4.0" 1665 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 1666 | integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= 1667 | 1668 | node-int64@^0.4.0: 1669 | version "0.4.0" 1670 | resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" 1671 | integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs= 1672 | 1673 | node-releases@^2.0.21: 1674 | version "2.0.21" 1675 | resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.21.tgz#f59b018bc0048044be2d4c4c04e4c8b18160894c" 1676 | integrity sha512-5b0pgg78U3hwXkCM8Z9b2FJdPZlr9Psr9V2gQPESdGHqbntyFJKFW4r5TeWGFzafGY3hzs1JC62VEQMbl1JFkw== 1677 | 1678 | normalize-path@^3.0.0: 1679 | version "3.0.0" 1680 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" 1681 | integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== 1682 | 1683 | npm-run-path@^4.0.1: 1684 | version "4.0.1" 1685 | resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" 1686 | integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== 1687 | dependencies: 1688 | path-key "^3.0.0" 1689 | 1690 | object-path@^0.11.4: 1691 | version "0.11.8" 1692 | resolved "https://registry.yarnpkg.com/object-path/-/object-path-0.11.8.tgz#ed002c02bbdd0070b78a27455e8ae01fc14d4742" 1693 | integrity sha512-YJjNZrlXJFM42wTBn6zgOJVar9KFJvzx6sTWDte8sWZF//cnjl0BxHNpfZx+ZffXX63A9q0b1zsFiBX4g4X5KA== 1694 | 1695 | once@^1.3.0: 1696 | version "1.4.0" 1697 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1698 | integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= 1699 | dependencies: 1700 | wrappy "1" 1701 | 1702 | onetime@^5.1.2: 1703 | version "5.1.2" 1704 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" 1705 | integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== 1706 | dependencies: 1707 | mimic-fn "^2.1.0" 1708 | 1709 | p-limit@^2.2.0: 1710 | version "2.3.0" 1711 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" 1712 | integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== 1713 | dependencies: 1714 | p-try "^2.0.0" 1715 | 1716 | p-limit@^3.1.0: 1717 | version "3.1.0" 1718 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" 1719 | integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== 1720 | dependencies: 1721 | yocto-queue "^0.1.0" 1722 | 1723 | p-locate@^4.1.0: 1724 | version "4.1.0" 1725 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" 1726 | integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== 1727 | dependencies: 1728 | p-limit "^2.2.0" 1729 | 1730 | p-try@^2.0.0: 1731 | version "2.2.0" 1732 | resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" 1733 | integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== 1734 | 1735 | parse-json@^5.2.0: 1736 | version "5.2.0" 1737 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" 1738 | integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== 1739 | dependencies: 1740 | "@babel/code-frame" "^7.0.0" 1741 | error-ex "^1.3.1" 1742 | json-parse-even-better-errors "^2.3.0" 1743 | lines-and-columns "^1.1.6" 1744 | 1745 | path-exists@^4.0.0: 1746 | version "4.0.0" 1747 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" 1748 | integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== 1749 | 1750 | path-is-absolute@^1.0.0: 1751 | version "1.0.1" 1752 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1753 | integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= 1754 | 1755 | path-key@^3.0.0, path-key@^3.1.0: 1756 | version "3.1.1" 1757 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" 1758 | integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== 1759 | 1760 | path-parse@^1.0.7: 1761 | version "1.0.7" 1762 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" 1763 | integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== 1764 | 1765 | picocolors@^1.1.1: 1766 | version "1.1.1" 1767 | resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b" 1768 | integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA== 1769 | 1770 | picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: 1771 | version "2.3.1" 1772 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" 1773 | integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== 1774 | 1775 | pirates@^4.0.4: 1776 | version "4.0.7" 1777 | resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.7.tgz#643b4a18c4257c8a65104b73f3049ce9a0a15e22" 1778 | integrity sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA== 1779 | 1780 | pkg-dir@^4.2.0: 1781 | version "4.2.0" 1782 | resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" 1783 | integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== 1784 | dependencies: 1785 | find-up "^4.0.0" 1786 | 1787 | prettier@^1.14.2: 1788 | version "1.19.1" 1789 | resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" 1790 | integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== 1791 | 1792 | pretty-format@^29.7.0: 1793 | version "29.7.0" 1794 | resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" 1795 | integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== 1796 | dependencies: 1797 | "@jest/schemas" "^29.6.3" 1798 | ansi-styles "^5.0.0" 1799 | react-is "^18.0.0" 1800 | 1801 | prompts@^2.0.1: 1802 | version "2.4.2" 1803 | resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" 1804 | integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== 1805 | dependencies: 1806 | kleur "^3.0.3" 1807 | sisteransi "^1.0.5" 1808 | 1809 | pure-rand@^6.0.0: 1810 | version "6.1.0" 1811 | resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" 1812 | integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== 1813 | 1814 | react-is@^18.0.0: 1815 | version "18.3.1" 1816 | resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e" 1817 | integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== 1818 | 1819 | require-directory@^2.1.1: 1820 | version "2.1.1" 1821 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 1822 | integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= 1823 | 1824 | resolve-cwd@^3.0.0: 1825 | version "3.0.0" 1826 | resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" 1827 | integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== 1828 | dependencies: 1829 | resolve-from "^5.0.0" 1830 | 1831 | resolve-from@^5.0.0: 1832 | version "5.0.0" 1833 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" 1834 | integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== 1835 | 1836 | resolve.exports@^2.0.0: 1837 | version "2.0.3" 1838 | resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.3.tgz#41955e6f1b4013b7586f873749a635dea07ebe3f" 1839 | integrity sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A== 1840 | 1841 | resolve@^1.20.0: 1842 | version "1.22.10" 1843 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" 1844 | integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== 1845 | dependencies: 1846 | is-core-module "^2.16.0" 1847 | path-parse "^1.0.7" 1848 | supports-preserve-symlinks-flag "^1.0.0" 1849 | 1850 | semver@^6.3.0, semver@^6.3.1: 1851 | version "6.3.1" 1852 | resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" 1853 | integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== 1854 | 1855 | semver@^7.5.3, semver@^7.5.4: 1856 | version "7.7.2" 1857 | resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.2.tgz#67d99fdcd35cec21e6f8b87a7fd515a33f982b58" 1858 | integrity sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA== 1859 | 1860 | shebang-command@^2.0.0: 1861 | version "2.0.0" 1862 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" 1863 | integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== 1864 | dependencies: 1865 | shebang-regex "^3.0.0" 1866 | 1867 | shebang-regex@^3.0.0: 1868 | version "3.0.0" 1869 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" 1870 | integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== 1871 | 1872 | signal-exit@^3.0.3, signal-exit@^3.0.7: 1873 | version "3.0.7" 1874 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" 1875 | integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== 1876 | 1877 | sisteransi@^1.0.5: 1878 | version "1.0.5" 1879 | resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" 1880 | integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== 1881 | 1882 | slash@^3.0.0: 1883 | version "3.0.0" 1884 | resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" 1885 | integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== 1886 | 1887 | source-map-support@0.5.13: 1888 | version "0.5.13" 1889 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" 1890 | integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== 1891 | dependencies: 1892 | buffer-from "^1.0.0" 1893 | source-map "^0.6.0" 1894 | 1895 | source-map@^0.6.0, source-map@^0.6.1: 1896 | version "0.6.1" 1897 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 1898 | integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== 1899 | 1900 | sprintf-js@~1.0.2: 1901 | version "1.0.3" 1902 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 1903 | integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= 1904 | 1905 | stack-utils@^2.0.3: 1906 | version "2.0.6" 1907 | resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" 1908 | integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== 1909 | dependencies: 1910 | escape-string-regexp "^2.0.0" 1911 | 1912 | string-length@^4.0.1: 1913 | version "4.0.2" 1914 | resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" 1915 | integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== 1916 | dependencies: 1917 | char-regex "^1.0.2" 1918 | strip-ansi "^6.0.0" 1919 | 1920 | string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: 1921 | version "4.2.3" 1922 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" 1923 | integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== 1924 | dependencies: 1925 | emoji-regex "^8.0.0" 1926 | is-fullwidth-code-point "^3.0.0" 1927 | strip-ansi "^6.0.1" 1928 | 1929 | strip-ansi@^6.0.0, strip-ansi@^6.0.1: 1930 | version "6.0.1" 1931 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" 1932 | integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== 1933 | dependencies: 1934 | ansi-regex "^5.0.1" 1935 | 1936 | strip-bom@^4.0.0: 1937 | version "4.0.0" 1938 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" 1939 | integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== 1940 | 1941 | strip-final-newline@^2.0.0: 1942 | version "2.0.0" 1943 | resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" 1944 | integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== 1945 | 1946 | strip-json-comments@^3.1.1: 1947 | version "3.1.1" 1948 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" 1949 | integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== 1950 | 1951 | supports-color@^7.1.0: 1952 | version "7.2.0" 1953 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" 1954 | integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== 1955 | dependencies: 1956 | has-flag "^4.0.0" 1957 | 1958 | supports-color@^8.0.0: 1959 | version "8.1.1" 1960 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" 1961 | integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== 1962 | dependencies: 1963 | has-flag "^4.0.0" 1964 | 1965 | supports-preserve-symlinks-flag@^1.0.0: 1966 | version "1.0.0" 1967 | resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" 1968 | integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== 1969 | 1970 | test-exclude@^6.0.0: 1971 | version "6.0.0" 1972 | resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" 1973 | integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== 1974 | dependencies: 1975 | "@istanbuljs/schema" "^0.1.2" 1976 | glob "^7.1.4" 1977 | minimatch "^3.0.4" 1978 | 1979 | tmpl@1.0.5: 1980 | version "1.0.5" 1981 | resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" 1982 | integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== 1983 | 1984 | to-regex-range@^5.0.1: 1985 | version "5.0.1" 1986 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" 1987 | integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== 1988 | dependencies: 1989 | is-number "^7.0.0" 1990 | 1991 | type-detect@4.0.8: 1992 | version "4.0.8" 1993 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" 1994 | integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== 1995 | 1996 | type-fest@^0.21.3: 1997 | version "0.21.3" 1998 | resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" 1999 | integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== 2000 | 2001 | undici-types@~7.13.0: 2002 | version "7.13.0" 2003 | resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.13.0.tgz#a20ba7c0a2be0c97bd55c308069d29d167466bff" 2004 | integrity sha512-Ov2Rr9Sx+fRgagJ5AX0qvItZG/JKKoBRAVITs1zk7IqZGTJUwgUr7qoYBpWwakpWilTZFM98rG/AFRocu10iIQ== 2005 | 2006 | update-browserslist-db@^1.1.3: 2007 | version "1.1.3" 2008 | resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz#348377dd245216f9e7060ff50b15a1b740b75420" 2009 | integrity sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw== 2010 | dependencies: 2011 | escalade "^3.2.0" 2012 | picocolors "^1.1.1" 2013 | 2014 | v8-to-istanbul@^9.0.1: 2015 | version "9.3.0" 2016 | resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz#b9572abfa62bd556c16d75fdebc1a411d5ff3175" 2017 | integrity sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA== 2018 | dependencies: 2019 | "@jridgewell/trace-mapping" "^0.3.12" 2020 | "@types/istanbul-lib-coverage" "^2.0.1" 2021 | convert-source-map "^2.0.0" 2022 | 2023 | walker@^1.0.8: 2024 | version "1.0.8" 2025 | resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" 2026 | integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== 2027 | dependencies: 2028 | makeerror "1.0.12" 2029 | 2030 | which@^2.0.1: 2031 | version "2.0.2" 2032 | resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" 2033 | integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== 2034 | dependencies: 2035 | isexe "^2.0.0" 2036 | 2037 | wrap-ansi@^7.0.0: 2038 | version "7.0.0" 2039 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" 2040 | integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== 2041 | dependencies: 2042 | ansi-styles "^4.0.0" 2043 | string-width "^4.1.0" 2044 | strip-ansi "^6.0.0" 2045 | 2046 | wrappy@1: 2047 | version "1.0.2" 2048 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 2049 | integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= 2050 | 2051 | write-file-atomic@^4.0.2: 2052 | version "4.0.2" 2053 | resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" 2054 | integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== 2055 | dependencies: 2056 | imurmurhash "^0.1.4" 2057 | signal-exit "^3.0.7" 2058 | 2059 | y18n@^5.0.5: 2060 | version "5.0.8" 2061 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" 2062 | integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== 2063 | 2064 | yallist@^3.0.2: 2065 | version "3.1.1" 2066 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" 2067 | integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== 2068 | 2069 | yargs-parser@^21.1.1: 2070 | version "21.1.1" 2071 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" 2072 | integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== 2073 | 2074 | yargs@^17.3.1: 2075 | version "17.7.2" 2076 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" 2077 | integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== 2078 | dependencies: 2079 | cliui "^8.0.1" 2080 | escalade "^3.1.1" 2081 | get-caller-file "^2.0.5" 2082 | require-directory "^2.1.1" 2083 | string-width "^4.2.3" 2084 | y18n "^5.0.5" 2085 | yargs-parser "^21.1.1" 2086 | 2087 | yocto-queue@^0.1.0: 2088 | version "0.1.0" 2089 | resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" 2090 | integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== 2091 | --------------------------------------------------------------------------------