├── .changeset ├── README.md └── config.json ├── .dockerignore ├── .github └── workflows │ ├── integration-test.yml │ └── toast.yml ├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── README.md ├── docs └── index.mdx ├── imgs └── toast-header.png ├── package-lock.json ├── package.json ├── src ├── loader.mjs ├── module-aliases.mjs ├── page-renderer-pre.mjs └── render.mjs └── toast-cli.mjs /.changeset/README.md: -------------------------------------------------------------------------------- 1 | # Changesets 2 | 3 | Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works 4 | with multi-package repos, or single-package repos to help you version and publish your code. You can 5 | find the full documentation for it [in our repository](https://github.com/changesets/changesets) 6 | 7 | We have a quick list of common questions to get you started engaging with this project in 8 | [our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) 9 | -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://unpkg.com/@changesets/config@2.1.1/schema.json", 3 | "changelog": "@changesets/cli/changelog", 4 | "commit": false, 5 | "fixed": [], 6 | "linked": [], 7 | "access": "public", 8 | "baseBranch": "main", 9 | "updateInternalDependencies": "patch", 10 | "ignore": [] 11 | } 12 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | target -------------------------------------------------------------------------------- /.github/workflows/integration-test.yml: -------------------------------------------------------------------------------- 1 | on: 2 | pull_request: 3 | push: 4 | branches: 5 | - main 6 | 7 | name: Integration Test 8 | 9 | jobs: 10 | integration: 11 | name: test against toast.dev 12 | strategy: 13 | fail-fast: false 14 | matrix: 15 | os: [ubuntu-latest, macos-latest] # windows-latest 16 | include: 17 | - os: ubuntu-latest 18 | platform: linux 19 | target: toast 20 | - os: macos-latest 21 | platform: macos 22 | target: toast 23 | # - os: windows-latest 24 | # platform: windows 25 | # target: toast.exe 26 | 27 | runs-on: ${{ matrix.os }} 28 | steps: 29 | - uses: actions/checkout@v2 30 | with: 31 | path: toast 32 | - uses: actions/setup-node@v3 33 | with: 34 | node-version: "16" 35 | check-latest: true 36 | - name: Install fd 37 | run: | 38 | cargo install fd-find 39 | - name: starters — create-toast 40 | run: | 41 | mkdir starters 42 | cd starters 43 | npx create-toast default default 44 | npx create-toast minimal minimal 45 | - name: starters — Install dependencies 46 | run: | 47 | for D in `fd . 'starters/' -t d -d 1` 48 | do 49 | cd $D; 50 | node -e 'const fs = require("fs"); const json = require("./package.json"); json.dependencies.toast = "file:../../toast/toast"; fs.writeFileSync("./package.json", JSON.stringify(json, null, 2));'; 51 | npm install; 52 | cd -; 53 | done 54 | shell: bash 55 | - name: build starters 56 | run: | 57 | for D in `fd . 'starters/' -t d -d 1` 58 | do 59 | cd $D; 60 | npm run build; 61 | cd -; 62 | done 63 | shell: bash 64 | env: 65 | BINARY_NAME: ${{ matrix.target }} 66 | -------------------------------------------------------------------------------- /.github/workflows/toast.yml: -------------------------------------------------------------------------------- 1 | on: 2 | push: 3 | branches: 4 | - main 5 | 6 | name: Toast Release Pipeline 7 | 8 | jobs: 9 | do-npm-release: 10 | name: npm publish 11 | runs-on: ubuntu-latest 12 | outputs: 13 | new-packages: ${{ steps.changesets.outputs.publishedPackages }} 14 | did-release: ${{ steps.changesets.outputs.published }} 15 | steps: 16 | - name: Checkout sources 17 | uses: actions/checkout@v3 18 | - uses: actions/setup-node@v3 19 | with: 20 | node-version: "16.x" 21 | registry-url: "https://registry.npmjs.org" 22 | - name: Install deps 23 | run: npm ci 24 | - name: Create Release Pull Request or Publish to npm 25 | id: changesets 26 | uses: changesets/action@v1 27 | with: 28 | # This expects you to have a script called release which does a build for your packages and calls changeset publish 29 | publish: npm run release 30 | env: 31 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 32 | NPM_TOKEN: ${{ secrets.NPM_TOKEN }} 33 | NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} 34 | trigger-www-build: 35 | needs: [do-npm-release] 36 | name: Update www.toast.dev docs 37 | runs-on: ubuntu-latest 38 | steps: 39 | - name: trigger www netlify build 40 | run: | 41 | curl -X POST -d {} https://api.netlify.com/build_hooks/5f94b31bccb688f78b0a2576 42 | trigger-npm-publish-notification: 43 | needs: [do-npm-release] 44 | name: Notify Discord of Publish 45 | runs-on: ubuntu-latest 46 | env: 47 | NEW_PACKAGES: ${{ needs.do-npm-release.outputs.new-packages }} 48 | URL: ${{secrets.NPM_PUBLISH_NOTIFICATION_URL}} 49 | steps: 50 | - name: curl 51 | if: needs.do-npm-release.outputs.did-release == 'true' 52 | run: | 53 | curl -XPOST $URL -H "Content-Type: application/json" -d "{\"content\": \"Toast Packages were released to NPM: $NEW_PACKAGES \"}" 54 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/target 2 | node_modules 3 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .changeset 2 | .github 3 | docs 4 | imgs 5 | node_modules 6 | .dockerignore 7 | CONTRIBUTING.md -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # toast 2 | 3 | ## 0.5.4 4 | 5 | ### Patch Changes 6 | 7 | - d9757b8: The toast.js file is not required for a site to build. the site could have just a src/pages or whatnot, so we allow toast.js to not exist while retaining any errors generated by sourceData in a way that sourceData errors will prevent a build, but a missing toast.js will not. 8 | 9 | ## 0.5.3 10 | 11 | ### Patch Changes 12 | 13 | - 934cd6e: include deps and fix cli 14 | 15 | ## 0.5.2 16 | 17 | ### Patch Changes 18 | 19 | - d5d7475: do 0.5 release for real 20 | 21 | ## 0.5.1 22 | 23 | ### Patch Changes 24 | 25 | - d408ad6: Do 0.5 release 26 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Thanks for contributing to Toast! 4 | 5 | You can find the maintainers and other contributors [in Discord][discord] as well as on the GitHub repo. 6 | 7 | ## Project setup 8 | 9 | The Toast project is a combination of Rust and JavaScript. We use both [Cargo Workspaces](https://doc.rust-lang.org/cargo/reference/workspaces.html) and [Yarn Workspaces](https://classic.yarnpkg.com/en/docs/workspaces/). 10 | 11 | 1. Fork the toast repo on GitHub 12 | 1. `git clone` your fork 13 | 1. Create a branch for your PR with `git checkout -b your-branch-name` 14 | 1. Run `yarn` to bootstrap the yarn workspaces 15 | 1. Run `cargo build` to build the Rust workspaces 16 | 17 | ### Project Layout 18 | 19 | There are a few files to be aware of. 20 | 21 | - The `toast` directory is the Rust code for the Toast binaries. 22 | - `svgrs` is unfinished tooling for SVG optimization and conversion to JSX. 23 | - `toast-node-wrapper` is the package that turns into `bread` or `toast` on NPM 24 | - `Cargo.*` files are Rust related, while `yarn.lock` is yarn/node related 25 | 26 | ### Node setup 27 | 28 | - You probably want [nvm](https://github.com/nvm-sh/nvm) 29 | - Run `nvm i v14` if you don't have the latest v14 of node installed 30 | 31 | ### Rust setup 32 | 33 | If you are new to Rust, you can learn the language by [going through Rustlings with these videos](https://egghead.io/playlists/learning-rust-by-solving-the-rustlings-exercises-a722). 34 | 35 | - You'll want to install [rustup](https://rustup.rs/) 36 | - after rustup is installed, you'll need a nightly toolchain to work with Toast so run `rustup toolchain install nightly` 37 | - You can test your install with the following commands, which should both work 38 | 39 | ```bash 40 | rustc --version 41 | cargo --version 42 | ``` 43 | 44 | ## What counts as a contribution? 45 | 46 | There are plenty of [open issues][issues] that may fit your skills and expertise. We also highly value documentation changes, user feedback on issues, and more. Code commits are not the only way to contribute. You may also wish to check out the [www.toast.dev issues](https://github.com/toastdotdev/toast/issues). 47 | 48 | [issues]: https://github.com/toastdotdev/toast/issues 49 | [www-issues]: https://github.com/toastdotdev/www.toast.dev/issues 50 | [rust]: https://www.rust-lang.org/learn/get-started 51 | [discord]: https://discord.gg/m2RdVRA 52 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![toast header](./imgs/toast-header.png)][docs] 2 | 3 | 🤝 [Interested in contributing?][contributing] 4 | 5 | 6 | [docs]: https://toast.dev 7 | [contributing]: CONTRIBUTING.md 8 | -------------------------------------------------------------------------------- /docs/index.mdx: -------------------------------------------------------------------------------- 1 | # {props.package.name} Docs 2 | 3 | Index page for the docs, needs some layout changes. 4 | -------------------------------------------------------------------------------- /imgs/toast-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toastdotdev/toast/4bbd0d0514ef54127899b7b6d868c72c065180ac/imgs/toast-header.png -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "toast", 3 | "version": "0.5.2", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "toast", 9 | "version": "0.5.2", 10 | "license": "ISC", 11 | "dependencies": { 12 | "@changesets/cli": "^2.24.4", 13 | "@toastdotdev/lib": "0.0.1", 14 | "cac": "6.7.12", 15 | "module-alias": "^2.2.2", 16 | "preact": "10.10.6", 17 | "preact-render-to-string": "^5.2.2", 18 | "react-helmet": "^6.1.0" 19 | }, 20 | "bin": { 21 | "toast": "toast-cli.mjs" 22 | } 23 | }, 24 | "node_modules/@babel/code-frame": { 25 | "version": "7.10.4", 26 | "license": "MIT", 27 | "dependencies": { 28 | "@babel/highlight": "^7.10.4" 29 | } 30 | }, 31 | "node_modules/@babel/helper-validator-identifier": { 32 | "version": "7.10.4", 33 | "license": "MIT" 34 | }, 35 | "node_modules/@babel/highlight": { 36 | "version": "7.10.4", 37 | "license": "MIT", 38 | "dependencies": { 39 | "@babel/helper-validator-identifier": "^7.10.4", 40 | "chalk": "^2.0.0", 41 | "js-tokens": "^4.0.0" 42 | } 43 | }, 44 | "node_modules/@babel/runtime": { 45 | "version": "7.18.9", 46 | "license": "MIT", 47 | "dependencies": { 48 | "regenerator-runtime": "^0.13.4" 49 | }, 50 | "engines": { 51 | "node": ">=6.9.0" 52 | } 53 | }, 54 | "node_modules/@changesets/apply-release-plan": { 55 | "version": "6.1.0", 56 | "license": "MIT", 57 | "dependencies": { 58 | "@babel/runtime": "^7.10.4", 59 | "@changesets/config": "^2.1.1", 60 | "@changesets/get-version-range-type": "^0.3.2", 61 | "@changesets/git": "^1.4.1", 62 | "@changesets/types": "^5.1.0", 63 | "@manypkg/get-packages": "^1.1.3", 64 | "detect-indent": "^6.0.0", 65 | "fs-extra": "^7.0.1", 66 | "lodash.startcase": "^4.4.0", 67 | "outdent": "^0.5.0", 68 | "prettier": "^2.7.1", 69 | "resolve-from": "^5.0.0", 70 | "semver": "^5.4.1" 71 | } 72 | }, 73 | "node_modules/@changesets/assemble-release-plan": { 74 | "version": "5.2.1", 75 | "license": "MIT", 76 | "dependencies": { 77 | "@babel/runtime": "^7.10.4", 78 | "@changesets/errors": "^0.1.4", 79 | "@changesets/get-dependents-graph": "^1.3.3", 80 | "@changesets/types": "^5.1.0", 81 | "@manypkg/get-packages": "^1.1.3", 82 | "semver": "^5.4.1" 83 | } 84 | }, 85 | "node_modules/@changesets/changelog-git": { 86 | "version": "0.1.12", 87 | "license": "MIT", 88 | "dependencies": { 89 | "@changesets/types": "^5.1.0" 90 | } 91 | }, 92 | "node_modules/@changesets/cli": { 93 | "version": "2.24.4", 94 | "license": "MIT", 95 | "dependencies": { 96 | "@babel/runtime": "^7.10.4", 97 | "@changesets/apply-release-plan": "^6.1.0", 98 | "@changesets/assemble-release-plan": "^5.2.1", 99 | "@changesets/changelog-git": "^0.1.12", 100 | "@changesets/config": "^2.1.1", 101 | "@changesets/errors": "^0.1.4", 102 | "@changesets/get-dependents-graph": "^1.3.3", 103 | "@changesets/get-release-plan": "^3.0.14", 104 | "@changesets/git": "^1.4.1", 105 | "@changesets/logger": "^0.0.5", 106 | "@changesets/pre": "^1.0.12", 107 | "@changesets/read": "^0.5.7", 108 | "@changesets/types": "^5.1.0", 109 | "@changesets/write": "^0.2.0", 110 | "@manypkg/get-packages": "^1.1.3", 111 | "@types/is-ci": "^3.0.0", 112 | "@types/semver": "^6.0.0", 113 | "ansi-colors": "^4.1.3", 114 | "chalk": "^2.1.0", 115 | "enquirer": "^2.3.0", 116 | "external-editor": "^3.1.0", 117 | "fs-extra": "^7.0.1", 118 | "human-id": "^1.0.2", 119 | "is-ci": "^3.0.1", 120 | "meow": "^6.0.0", 121 | "outdent": "^0.5.0", 122 | "p-limit": "^2.2.0", 123 | "preferred-pm": "^3.0.0", 124 | "resolve-from": "^5.0.0", 125 | "semver": "^5.4.1", 126 | "spawndamnit": "^2.0.0", 127 | "term-size": "^2.1.0", 128 | "tty-table": "^4.1.5" 129 | }, 130 | "bin": { 131 | "changeset": "bin.js" 132 | } 133 | }, 134 | "node_modules/@changesets/config": { 135 | "version": "2.1.1", 136 | "license": "MIT", 137 | "dependencies": { 138 | "@changesets/errors": "^0.1.4", 139 | "@changesets/get-dependents-graph": "^1.3.3", 140 | "@changesets/logger": "^0.0.5", 141 | "@changesets/types": "^5.1.0", 142 | "@manypkg/get-packages": "^1.1.3", 143 | "fs-extra": "^7.0.1", 144 | "micromatch": "^4.0.2" 145 | } 146 | }, 147 | "node_modules/@changesets/errors": { 148 | "version": "0.1.4", 149 | "license": "MIT", 150 | "dependencies": { 151 | "extendable-error": "^0.1.5" 152 | } 153 | }, 154 | "node_modules/@changesets/get-dependents-graph": { 155 | "version": "1.3.3", 156 | "license": "MIT", 157 | "dependencies": { 158 | "@changesets/types": "^5.1.0", 159 | "@manypkg/get-packages": "^1.1.3", 160 | "chalk": "^2.1.0", 161 | "fs-extra": "^7.0.1", 162 | "semver": "^5.4.1" 163 | } 164 | }, 165 | "node_modules/@changesets/get-release-plan": { 166 | "version": "3.0.14", 167 | "license": "MIT", 168 | "dependencies": { 169 | "@babel/runtime": "^7.10.4", 170 | "@changesets/assemble-release-plan": "^5.2.1", 171 | "@changesets/config": "^2.1.1", 172 | "@changesets/pre": "^1.0.12", 173 | "@changesets/read": "^0.5.7", 174 | "@changesets/types": "^5.1.0", 175 | "@manypkg/get-packages": "^1.1.3" 176 | } 177 | }, 178 | "node_modules/@changesets/get-version-range-type": { 179 | "version": "0.3.2", 180 | "license": "MIT" 181 | }, 182 | "node_modules/@changesets/git": { 183 | "version": "1.4.1", 184 | "license": "MIT", 185 | "dependencies": { 186 | "@babel/runtime": "^7.10.4", 187 | "@changesets/errors": "^0.1.4", 188 | "@changesets/types": "^5.1.0", 189 | "@manypkg/get-packages": "^1.1.3", 190 | "is-subdir": "^1.1.1", 191 | "spawndamnit": "^2.0.0" 192 | } 193 | }, 194 | "node_modules/@changesets/logger": { 195 | "version": "0.0.5", 196 | "license": "MIT", 197 | "dependencies": { 198 | "chalk": "^2.1.0" 199 | } 200 | }, 201 | "node_modules/@changesets/parse": { 202 | "version": "0.3.14", 203 | "license": "MIT", 204 | "dependencies": { 205 | "@changesets/types": "^5.1.0", 206 | "js-yaml": "^3.13.1" 207 | } 208 | }, 209 | "node_modules/@changesets/pre": { 210 | "version": "1.0.12", 211 | "license": "MIT", 212 | "dependencies": { 213 | "@babel/runtime": "^7.10.4", 214 | "@changesets/errors": "^0.1.4", 215 | "@changesets/types": "^5.1.0", 216 | "@manypkg/get-packages": "^1.1.3", 217 | "fs-extra": "^7.0.1" 218 | } 219 | }, 220 | "node_modules/@changesets/read": { 221 | "version": "0.5.7", 222 | "license": "MIT", 223 | "dependencies": { 224 | "@babel/runtime": "^7.10.4", 225 | "@changesets/git": "^1.4.1", 226 | "@changesets/logger": "^0.0.5", 227 | "@changesets/parse": "^0.3.14", 228 | "@changesets/types": "^5.1.0", 229 | "chalk": "^2.1.0", 230 | "fs-extra": "^7.0.1", 231 | "p-filter": "^2.1.0" 232 | } 233 | }, 234 | "node_modules/@changesets/types": { 235 | "version": "5.1.0", 236 | "license": "MIT" 237 | }, 238 | "node_modules/@changesets/write": { 239 | "version": "0.2.0", 240 | "license": "MIT", 241 | "dependencies": { 242 | "@babel/runtime": "^7.10.4", 243 | "@changesets/types": "^5.1.0", 244 | "fs-extra": "^7.0.1", 245 | "human-id": "^1.0.2", 246 | "prettier": "^2.7.1" 247 | } 248 | }, 249 | "node_modules/@manypkg/find-root": { 250 | "version": "1.1.0", 251 | "license": "MIT", 252 | "dependencies": { 253 | "@babel/runtime": "^7.5.5", 254 | "@types/node": "^12.7.1", 255 | "find-up": "^4.1.0", 256 | "fs-extra": "^8.1.0" 257 | } 258 | }, 259 | "node_modules/@manypkg/find-root/node_modules/fs-extra": { 260 | "version": "8.1.0", 261 | "license": "MIT", 262 | "dependencies": { 263 | "graceful-fs": "^4.2.0", 264 | "jsonfile": "^4.0.0", 265 | "universalify": "^0.1.0" 266 | }, 267 | "engines": { 268 | "node": ">=6 <7 || >=8" 269 | } 270 | }, 271 | "node_modules/@manypkg/get-packages": { 272 | "version": "1.1.3", 273 | "license": "MIT", 274 | "dependencies": { 275 | "@babel/runtime": "^7.5.5", 276 | "@changesets/types": "^4.0.1", 277 | "@manypkg/find-root": "^1.1.0", 278 | "fs-extra": "^8.1.0", 279 | "globby": "^11.0.0", 280 | "read-yaml-file": "^1.1.0" 281 | } 282 | }, 283 | "node_modules/@manypkg/get-packages/node_modules/@changesets/types": { 284 | "version": "4.1.0", 285 | "license": "MIT" 286 | }, 287 | "node_modules/@manypkg/get-packages/node_modules/fs-extra": { 288 | "version": "8.1.0", 289 | "license": "MIT", 290 | "dependencies": { 291 | "graceful-fs": "^4.2.0", 292 | "jsonfile": "^4.0.0", 293 | "universalify": "^0.1.0" 294 | }, 295 | "engines": { 296 | "node": ">=6 <7 || >=8" 297 | } 298 | }, 299 | "node_modules/@nodelib/fs.scandir": { 300 | "version": "2.1.5", 301 | "license": "MIT", 302 | "dependencies": { 303 | "@nodelib/fs.stat": "2.0.5", 304 | "run-parallel": "^1.1.9" 305 | }, 306 | "engines": { 307 | "node": ">= 8" 308 | } 309 | }, 310 | "node_modules/@nodelib/fs.stat": { 311 | "version": "2.0.5", 312 | "license": "MIT", 313 | "engines": { 314 | "node": ">= 8" 315 | } 316 | }, 317 | "node_modules/@nodelib/fs.walk": { 318 | "version": "1.2.8", 319 | "license": "MIT", 320 | "dependencies": { 321 | "@nodelib/fs.scandir": "2.1.5", 322 | "fastq": "^1.6.0" 323 | }, 324 | "engines": { 325 | "node": ">= 8" 326 | } 327 | }, 328 | "node_modules/@toastdotdev/lib": { 329 | "version": "0.0.1", 330 | "license": "MIT", 331 | "engines": { 332 | "node": ">= 10" 333 | }, 334 | "optionalDependencies": { 335 | "@toastdotdev/lib-darwin-arm64": "0.0.1", 336 | "@toastdotdev/lib-darwin-x64": "0.0.1", 337 | "@toastdotdev/lib-linux-x64-gnu": "0.0.1", 338 | "@toastdotdev/lib-win32-x64-msvc": "0.0.1" 339 | } 340 | }, 341 | "node_modules/@toastdotdev/lib-darwin-arm64": { 342 | "version": "0.0.1", 343 | "cpu": [ 344 | "arm64" 345 | ], 346 | "license": "MIT", 347 | "optional": true, 348 | "os": [ 349 | "darwin" 350 | ], 351 | "engines": { 352 | "node": ">= 10" 353 | } 354 | }, 355 | "node_modules/@types/color-name": { 356 | "version": "1.1.1", 357 | "license": "MIT" 358 | }, 359 | "node_modules/@types/is-ci": { 360 | "version": "3.0.0", 361 | "license": "MIT", 362 | "dependencies": { 363 | "ci-info": "^3.1.0" 364 | } 365 | }, 366 | "node_modules/@types/minimist": { 367 | "version": "1.2.2", 368 | "license": "MIT" 369 | }, 370 | "node_modules/@types/node": { 371 | "version": "12.20.55", 372 | "license": "MIT" 373 | }, 374 | "node_modules/@types/normalize-package-data": { 375 | "version": "2.4.1", 376 | "license": "MIT" 377 | }, 378 | "node_modules/@types/semver": { 379 | "version": "6.2.3", 380 | "license": "MIT" 381 | }, 382 | "node_modules/ansi-colors": { 383 | "version": "4.1.3", 384 | "license": "MIT", 385 | "engines": { 386 | "node": ">=6" 387 | } 388 | }, 389 | "node_modules/ansi-regex": { 390 | "version": "5.0.1", 391 | "license": "MIT", 392 | "engines": { 393 | "node": ">=8" 394 | } 395 | }, 396 | "node_modules/ansi-styles": { 397 | "version": "3.2.1", 398 | "license": "MIT", 399 | "dependencies": { 400 | "color-convert": "^1.9.0" 401 | }, 402 | "engines": { 403 | "node": ">=4" 404 | } 405 | }, 406 | "node_modules/argparse": { 407 | "version": "1.0.10", 408 | "license": "MIT", 409 | "dependencies": { 410 | "sprintf-js": "~1.0.2" 411 | } 412 | }, 413 | "node_modules/array-union": { 414 | "version": "2.1.0", 415 | "license": "MIT", 416 | "engines": { 417 | "node": ">=8" 418 | } 419 | }, 420 | "node_modules/array.prototype.flat": { 421 | "version": "1.3.0", 422 | "license": "MIT", 423 | "dependencies": { 424 | "call-bind": "^1.0.2", 425 | "define-properties": "^1.1.3", 426 | "es-abstract": "^1.19.2", 427 | "es-shim-unscopables": "^1.0.0" 428 | }, 429 | "engines": { 430 | "node": ">= 0.4" 431 | }, 432 | "funding": { 433 | "url": "https://github.com/sponsors/ljharb" 434 | } 435 | }, 436 | "node_modules/arrify": { 437 | "version": "1.0.1", 438 | "license": "MIT", 439 | "engines": { 440 | "node": ">=0.10.0" 441 | } 442 | }, 443 | "node_modules/better-path-resolve": { 444 | "version": "1.0.0", 445 | "license": "MIT", 446 | "dependencies": { 447 | "is-windows": "^1.0.0" 448 | }, 449 | "engines": { 450 | "node": ">=4" 451 | } 452 | }, 453 | "node_modules/braces": { 454 | "version": "3.0.2", 455 | "license": "MIT", 456 | "dependencies": { 457 | "fill-range": "^7.0.1" 458 | }, 459 | "engines": { 460 | "node": ">=8" 461 | } 462 | }, 463 | "node_modules/breakword": { 464 | "version": "1.0.5", 465 | "license": "gpl-2.0", 466 | "dependencies": { 467 | "wcwidth": "^1.0.1" 468 | } 469 | }, 470 | "node_modules/cac": { 471 | "version": "6.7.12", 472 | "license": "MIT", 473 | "engines": { 474 | "node": ">=8" 475 | } 476 | }, 477 | "node_modules/call-bind": { 478 | "version": "1.0.2", 479 | "license": "MIT", 480 | "dependencies": { 481 | "function-bind": "^1.1.1", 482 | "get-intrinsic": "^1.0.2" 483 | }, 484 | "funding": { 485 | "url": "https://github.com/sponsors/ljharb" 486 | } 487 | }, 488 | "node_modules/camelcase": { 489 | "version": "5.3.1", 490 | "license": "MIT", 491 | "engines": { 492 | "node": ">=6" 493 | } 494 | }, 495 | "node_modules/camelcase-keys": { 496 | "version": "6.2.2", 497 | "license": "MIT", 498 | "dependencies": { 499 | "camelcase": "^5.3.1", 500 | "map-obj": "^4.0.0", 501 | "quick-lru": "^4.0.1" 502 | }, 503 | "engines": { 504 | "node": ">=8" 505 | }, 506 | "funding": { 507 | "url": "https://github.com/sponsors/sindresorhus" 508 | } 509 | }, 510 | "node_modules/chalk": { 511 | "version": "2.4.2", 512 | "license": "MIT", 513 | "dependencies": { 514 | "ansi-styles": "^3.2.1", 515 | "escape-string-regexp": "^1.0.5", 516 | "supports-color": "^5.3.0" 517 | }, 518 | "engines": { 519 | "node": ">=4" 520 | } 521 | }, 522 | "node_modules/chardet": { 523 | "version": "0.7.0", 524 | "license": "MIT" 525 | }, 526 | "node_modules/ci-info": { 527 | "version": "3.3.2", 528 | "license": "MIT" 529 | }, 530 | "node_modules/cliui": { 531 | "version": "7.0.4", 532 | "license": "ISC", 533 | "dependencies": { 534 | "string-width": "^4.2.0", 535 | "strip-ansi": "^6.0.0", 536 | "wrap-ansi": "^7.0.0" 537 | } 538 | }, 539 | "node_modules/clone": { 540 | "version": "1.0.4", 541 | "license": "MIT", 542 | "engines": { 543 | "node": ">=0.8" 544 | } 545 | }, 546 | "node_modules/color-convert": { 547 | "version": "1.9.3", 548 | "license": "MIT", 549 | "dependencies": { 550 | "color-name": "1.1.3" 551 | } 552 | }, 553 | "node_modules/color-name": { 554 | "version": "1.1.3", 555 | "license": "MIT" 556 | }, 557 | "node_modules/csv": { 558 | "version": "5.5.3", 559 | "license": "MIT", 560 | "dependencies": { 561 | "csv-generate": "^3.4.3", 562 | "csv-parse": "^4.16.3", 563 | "csv-stringify": "^5.6.5", 564 | "stream-transform": "^2.1.3" 565 | }, 566 | "engines": { 567 | "node": ">= 0.1.90" 568 | } 569 | }, 570 | "node_modules/csv-generate": { 571 | "version": "3.4.3", 572 | "license": "MIT" 573 | }, 574 | "node_modules/csv-parse": { 575 | "version": "4.16.3", 576 | "license": "MIT" 577 | }, 578 | "node_modules/csv-stringify": { 579 | "version": "5.6.5", 580 | "license": "MIT" 581 | }, 582 | "node_modules/decamelize": { 583 | "version": "1.2.0", 584 | "license": "MIT", 585 | "engines": { 586 | "node": ">=0.10.0" 587 | } 588 | }, 589 | "node_modules/decamelize-keys": { 590 | "version": "1.1.0", 591 | "license": "MIT", 592 | "dependencies": { 593 | "decamelize": "^1.1.0", 594 | "map-obj": "^1.0.0" 595 | }, 596 | "engines": { 597 | "node": ">=0.10.0" 598 | } 599 | }, 600 | "node_modules/decamelize-keys/node_modules/map-obj": { 601 | "version": "1.0.1", 602 | "license": "MIT", 603 | "engines": { 604 | "node": ">=0.10.0" 605 | } 606 | }, 607 | "node_modules/defaults": { 608 | "version": "1.0.3", 609 | "license": "MIT", 610 | "dependencies": { 611 | "clone": "^1.0.2" 612 | } 613 | }, 614 | "node_modules/define-properties": { 615 | "version": "1.1.4", 616 | "license": "MIT", 617 | "dependencies": { 618 | "has-property-descriptors": "^1.0.0", 619 | "object-keys": "^1.1.1" 620 | }, 621 | "engines": { 622 | "node": ">= 0.4" 623 | }, 624 | "funding": { 625 | "url": "https://github.com/sponsors/ljharb" 626 | } 627 | }, 628 | "node_modules/detect-indent": { 629 | "version": "6.1.0", 630 | "license": "MIT", 631 | "engines": { 632 | "node": ">=8" 633 | } 634 | }, 635 | "node_modules/dir-glob": { 636 | "version": "3.0.1", 637 | "license": "MIT", 638 | "dependencies": { 639 | "path-type": "^4.0.0" 640 | }, 641 | "engines": { 642 | "node": ">=8" 643 | } 644 | }, 645 | "node_modules/emoji-regex": { 646 | "version": "8.0.0", 647 | "license": "MIT" 648 | }, 649 | "node_modules/enquirer": { 650 | "version": "2.3.6", 651 | "license": "MIT", 652 | "dependencies": { 653 | "ansi-colors": "^4.1.1" 654 | }, 655 | "engines": { 656 | "node": ">=8.6" 657 | } 658 | }, 659 | "node_modules/error-ex": { 660 | "version": "1.3.2", 661 | "license": "MIT", 662 | "dependencies": { 663 | "is-arrayish": "^0.2.1" 664 | } 665 | }, 666 | "node_modules/es-abstract": { 667 | "version": "1.20.2", 668 | "license": "MIT", 669 | "dependencies": { 670 | "call-bind": "^1.0.2", 671 | "es-to-primitive": "^1.2.1", 672 | "function-bind": "^1.1.1", 673 | "function.prototype.name": "^1.1.5", 674 | "get-intrinsic": "^1.1.2", 675 | "get-symbol-description": "^1.0.0", 676 | "has": "^1.0.3", 677 | "has-property-descriptors": "^1.0.0", 678 | "has-symbols": "^1.0.3", 679 | "internal-slot": "^1.0.3", 680 | "is-callable": "^1.2.4", 681 | "is-negative-zero": "^2.0.2", 682 | "is-regex": "^1.1.4", 683 | "is-shared-array-buffer": "^1.0.2", 684 | "is-string": "^1.0.7", 685 | "is-weakref": "^1.0.2", 686 | "object-inspect": "^1.12.2", 687 | "object-keys": "^1.1.1", 688 | "object.assign": "^4.1.4", 689 | "regexp.prototype.flags": "^1.4.3", 690 | "string.prototype.trimend": "^1.0.5", 691 | "string.prototype.trimstart": "^1.0.5", 692 | "unbox-primitive": "^1.0.2" 693 | }, 694 | "engines": { 695 | "node": ">= 0.4" 696 | }, 697 | "funding": { 698 | "url": "https://github.com/sponsors/ljharb" 699 | } 700 | }, 701 | "node_modules/es-shim-unscopables": { 702 | "version": "1.0.0", 703 | "license": "MIT", 704 | "dependencies": { 705 | "has": "^1.0.3" 706 | } 707 | }, 708 | "node_modules/es-to-primitive": { 709 | "version": "1.2.1", 710 | "license": "MIT", 711 | "dependencies": { 712 | "is-callable": "^1.1.4", 713 | "is-date-object": "^1.0.1", 714 | "is-symbol": "^1.0.2" 715 | }, 716 | "engines": { 717 | "node": ">= 0.4" 718 | }, 719 | "funding": { 720 | "url": "https://github.com/sponsors/ljharb" 721 | } 722 | }, 723 | "node_modules/escalade": { 724 | "version": "3.1.1", 725 | "license": "MIT", 726 | "engines": { 727 | "node": ">=6" 728 | } 729 | }, 730 | "node_modules/escape-string-regexp": { 731 | "version": "1.0.5", 732 | "license": "MIT", 733 | "engines": { 734 | "node": ">=0.8.0" 735 | } 736 | }, 737 | "node_modules/esprima": { 738 | "version": "4.0.1", 739 | "license": "BSD-2-Clause", 740 | "bin": { 741 | "esparse": "bin/esparse.js", 742 | "esvalidate": "bin/esvalidate.js" 743 | }, 744 | "engines": { 745 | "node": ">=4" 746 | } 747 | }, 748 | "node_modules/extendable-error": { 749 | "version": "0.1.7", 750 | "license": "MIT" 751 | }, 752 | "node_modules/external-editor": { 753 | "version": "3.1.0", 754 | "license": "MIT", 755 | "dependencies": { 756 | "chardet": "^0.7.0", 757 | "iconv-lite": "^0.4.24", 758 | "tmp": "^0.0.33" 759 | }, 760 | "engines": { 761 | "node": ">=4" 762 | } 763 | }, 764 | "node_modules/fast-glob": { 765 | "version": "3.2.11", 766 | "license": "MIT", 767 | "dependencies": { 768 | "@nodelib/fs.stat": "^2.0.2", 769 | "@nodelib/fs.walk": "^1.2.3", 770 | "glob-parent": "^5.1.2", 771 | "merge2": "^1.3.0", 772 | "micromatch": "^4.0.4" 773 | }, 774 | "engines": { 775 | "node": ">=8.6.0" 776 | } 777 | }, 778 | "node_modules/fastq": { 779 | "version": "1.13.0", 780 | "license": "ISC", 781 | "dependencies": { 782 | "reusify": "^1.0.4" 783 | } 784 | }, 785 | "node_modules/fill-range": { 786 | "version": "7.0.1", 787 | "license": "MIT", 788 | "dependencies": { 789 | "to-regex-range": "^5.0.1" 790 | }, 791 | "engines": { 792 | "node": ">=8" 793 | } 794 | }, 795 | "node_modules/find-up": { 796 | "version": "4.1.0", 797 | "license": "MIT", 798 | "dependencies": { 799 | "locate-path": "^5.0.0", 800 | "path-exists": "^4.0.0" 801 | }, 802 | "engines": { 803 | "node": ">=8" 804 | } 805 | }, 806 | "node_modules/find-yarn-workspace-root2": { 807 | "version": "1.2.16", 808 | "license": "Apache-2.0", 809 | "dependencies": { 810 | "micromatch": "^4.0.2", 811 | "pkg-dir": "^4.2.0" 812 | } 813 | }, 814 | "node_modules/fs-extra": { 815 | "version": "7.0.1", 816 | "license": "MIT", 817 | "dependencies": { 818 | "graceful-fs": "^4.1.2", 819 | "jsonfile": "^4.0.0", 820 | "universalify": "^0.1.0" 821 | }, 822 | "engines": { 823 | "node": ">=6 <7 || >=8" 824 | } 825 | }, 826 | "node_modules/function-bind": { 827 | "version": "1.1.1", 828 | "license": "MIT" 829 | }, 830 | "node_modules/function.prototype.name": { 831 | "version": "1.1.5", 832 | "license": "MIT", 833 | "dependencies": { 834 | "call-bind": "^1.0.2", 835 | "define-properties": "^1.1.3", 836 | "es-abstract": "^1.19.0", 837 | "functions-have-names": "^1.2.2" 838 | }, 839 | "engines": { 840 | "node": ">= 0.4" 841 | }, 842 | "funding": { 843 | "url": "https://github.com/sponsors/ljharb" 844 | } 845 | }, 846 | "node_modules/functions-have-names": { 847 | "version": "1.2.3", 848 | "license": "MIT", 849 | "funding": { 850 | "url": "https://github.com/sponsors/ljharb" 851 | } 852 | }, 853 | "node_modules/get-caller-file": { 854 | "version": "2.0.5", 855 | "license": "ISC", 856 | "engines": { 857 | "node": "6.* || 8.* || >= 10.*" 858 | } 859 | }, 860 | "node_modules/get-intrinsic": { 861 | "version": "1.1.2", 862 | "license": "MIT", 863 | "dependencies": { 864 | "function-bind": "^1.1.1", 865 | "has": "^1.0.3", 866 | "has-symbols": "^1.0.3" 867 | }, 868 | "funding": { 869 | "url": "https://github.com/sponsors/ljharb" 870 | } 871 | }, 872 | "node_modules/get-symbol-description": { 873 | "version": "1.0.0", 874 | "license": "MIT", 875 | "dependencies": { 876 | "call-bind": "^1.0.2", 877 | "get-intrinsic": "^1.1.1" 878 | }, 879 | "engines": { 880 | "node": ">= 0.4" 881 | }, 882 | "funding": { 883 | "url": "https://github.com/sponsors/ljharb" 884 | } 885 | }, 886 | "node_modules/glob-parent": { 887 | "version": "5.1.2", 888 | "license": "ISC", 889 | "dependencies": { 890 | "is-glob": "^4.0.1" 891 | }, 892 | "engines": { 893 | "node": ">= 6" 894 | } 895 | }, 896 | "node_modules/globby": { 897 | "version": "11.1.0", 898 | "license": "MIT", 899 | "dependencies": { 900 | "array-union": "^2.1.0", 901 | "dir-glob": "^3.0.1", 902 | "fast-glob": "^3.2.9", 903 | "ignore": "^5.2.0", 904 | "merge2": "^1.4.1", 905 | "slash": "^3.0.0" 906 | }, 907 | "engines": { 908 | "node": ">=10" 909 | }, 910 | "funding": { 911 | "url": "https://github.com/sponsors/sindresorhus" 912 | } 913 | }, 914 | "node_modules/graceful-fs": { 915 | "version": "4.2.4", 916 | "license": "ISC" 917 | }, 918 | "node_modules/grapheme-splitter": { 919 | "version": "1.0.4", 920 | "license": "MIT" 921 | }, 922 | "node_modules/hard-rejection": { 923 | "version": "2.1.0", 924 | "license": "MIT", 925 | "engines": { 926 | "node": ">=6" 927 | } 928 | }, 929 | "node_modules/has": { 930 | "version": "1.0.3", 931 | "license": "MIT", 932 | "dependencies": { 933 | "function-bind": "^1.1.1" 934 | }, 935 | "engines": { 936 | "node": ">= 0.4.0" 937 | } 938 | }, 939 | "node_modules/has-bigints": { 940 | "version": "1.0.2", 941 | "license": "MIT", 942 | "funding": { 943 | "url": "https://github.com/sponsors/ljharb" 944 | } 945 | }, 946 | "node_modules/has-flag": { 947 | "version": "3.0.0", 948 | "license": "MIT", 949 | "engines": { 950 | "node": ">=4" 951 | } 952 | }, 953 | "node_modules/has-property-descriptors": { 954 | "version": "1.0.0", 955 | "license": "MIT", 956 | "dependencies": { 957 | "get-intrinsic": "^1.1.1" 958 | }, 959 | "funding": { 960 | "url": "https://github.com/sponsors/ljharb" 961 | } 962 | }, 963 | "node_modules/has-symbols": { 964 | "version": "1.0.3", 965 | "license": "MIT", 966 | "engines": { 967 | "node": ">= 0.4" 968 | }, 969 | "funding": { 970 | "url": "https://github.com/sponsors/ljharb" 971 | } 972 | }, 973 | "node_modules/has-tostringtag": { 974 | "version": "1.0.0", 975 | "license": "MIT", 976 | "dependencies": { 977 | "has-symbols": "^1.0.2" 978 | }, 979 | "engines": { 980 | "node": ">= 0.4" 981 | }, 982 | "funding": { 983 | "url": "https://github.com/sponsors/ljharb" 984 | } 985 | }, 986 | "node_modules/hosted-git-info": { 987 | "version": "2.8.9", 988 | "license": "ISC" 989 | }, 990 | "node_modules/human-id": { 991 | "version": "1.0.2", 992 | "license": "MIT" 993 | }, 994 | "node_modules/iconv-lite": { 995 | "version": "0.4.24", 996 | "license": "MIT", 997 | "dependencies": { 998 | "safer-buffer": ">= 2.1.2 < 3" 999 | }, 1000 | "engines": { 1001 | "node": ">=0.10.0" 1002 | } 1003 | }, 1004 | "node_modules/ignore": { 1005 | "version": "5.2.0", 1006 | "license": "MIT", 1007 | "engines": { 1008 | "node": ">= 4" 1009 | } 1010 | }, 1011 | "node_modules/indent-string": { 1012 | "version": "4.0.0", 1013 | "license": "MIT", 1014 | "engines": { 1015 | "node": ">=8" 1016 | } 1017 | }, 1018 | "node_modules/internal-slot": { 1019 | "version": "1.0.3", 1020 | "license": "MIT", 1021 | "dependencies": { 1022 | "get-intrinsic": "^1.1.0", 1023 | "has": "^1.0.3", 1024 | "side-channel": "^1.0.4" 1025 | }, 1026 | "engines": { 1027 | "node": ">= 0.4" 1028 | } 1029 | }, 1030 | "node_modules/is-arrayish": { 1031 | "version": "0.2.1", 1032 | "license": "MIT" 1033 | }, 1034 | "node_modules/is-bigint": { 1035 | "version": "1.0.4", 1036 | "license": "MIT", 1037 | "dependencies": { 1038 | "has-bigints": "^1.0.1" 1039 | }, 1040 | "funding": { 1041 | "url": "https://github.com/sponsors/ljharb" 1042 | } 1043 | }, 1044 | "node_modules/is-boolean-object": { 1045 | "version": "1.1.2", 1046 | "license": "MIT", 1047 | "dependencies": { 1048 | "call-bind": "^1.0.2", 1049 | "has-tostringtag": "^1.0.0" 1050 | }, 1051 | "engines": { 1052 | "node": ">= 0.4" 1053 | }, 1054 | "funding": { 1055 | "url": "https://github.com/sponsors/ljharb" 1056 | } 1057 | }, 1058 | "node_modules/is-callable": { 1059 | "version": "1.2.4", 1060 | "license": "MIT", 1061 | "engines": { 1062 | "node": ">= 0.4" 1063 | }, 1064 | "funding": { 1065 | "url": "https://github.com/sponsors/ljharb" 1066 | } 1067 | }, 1068 | "node_modules/is-ci": { 1069 | "version": "3.0.1", 1070 | "license": "MIT", 1071 | "dependencies": { 1072 | "ci-info": "^3.2.0" 1073 | }, 1074 | "bin": { 1075 | "is-ci": "bin.js" 1076 | } 1077 | }, 1078 | "node_modules/is-core-module": { 1079 | "version": "2.10.0", 1080 | "license": "MIT", 1081 | "dependencies": { 1082 | "has": "^1.0.3" 1083 | }, 1084 | "funding": { 1085 | "url": "https://github.com/sponsors/ljharb" 1086 | } 1087 | }, 1088 | "node_modules/is-date-object": { 1089 | "version": "1.0.2", 1090 | "license": "MIT", 1091 | "engines": { 1092 | "node": ">= 0.4" 1093 | }, 1094 | "funding": { 1095 | "url": "https://github.com/sponsors/ljharb" 1096 | } 1097 | }, 1098 | "node_modules/is-extglob": { 1099 | "version": "2.1.1", 1100 | "license": "MIT", 1101 | "engines": { 1102 | "node": ">=0.10.0" 1103 | } 1104 | }, 1105 | "node_modules/is-fullwidth-code-point": { 1106 | "version": "3.0.0", 1107 | "license": "MIT", 1108 | "engines": { 1109 | "node": ">=8" 1110 | } 1111 | }, 1112 | "node_modules/is-glob": { 1113 | "version": "4.0.3", 1114 | "license": "MIT", 1115 | "dependencies": { 1116 | "is-extglob": "^2.1.1" 1117 | }, 1118 | "engines": { 1119 | "node": ">=0.10.0" 1120 | } 1121 | }, 1122 | "node_modules/is-negative-zero": { 1123 | "version": "2.0.2", 1124 | "license": "MIT", 1125 | "engines": { 1126 | "node": ">= 0.4" 1127 | }, 1128 | "funding": { 1129 | "url": "https://github.com/sponsors/ljharb" 1130 | } 1131 | }, 1132 | "node_modules/is-number": { 1133 | "version": "7.0.0", 1134 | "license": "MIT", 1135 | "engines": { 1136 | "node": ">=0.12.0" 1137 | } 1138 | }, 1139 | "node_modules/is-number-object": { 1140 | "version": "1.0.7", 1141 | "license": "MIT", 1142 | "dependencies": { 1143 | "has-tostringtag": "^1.0.0" 1144 | }, 1145 | "engines": { 1146 | "node": ">= 0.4" 1147 | }, 1148 | "funding": { 1149 | "url": "https://github.com/sponsors/ljharb" 1150 | } 1151 | }, 1152 | "node_modules/is-plain-obj": { 1153 | "version": "1.1.0", 1154 | "license": "MIT", 1155 | "engines": { 1156 | "node": ">=0.10.0" 1157 | } 1158 | }, 1159 | "node_modules/is-regex": { 1160 | "version": "1.1.4", 1161 | "license": "MIT", 1162 | "dependencies": { 1163 | "call-bind": "^1.0.2", 1164 | "has-tostringtag": "^1.0.0" 1165 | }, 1166 | "engines": { 1167 | "node": ">= 0.4" 1168 | }, 1169 | "funding": { 1170 | "url": "https://github.com/sponsors/ljharb" 1171 | } 1172 | }, 1173 | "node_modules/is-shared-array-buffer": { 1174 | "version": "1.0.2", 1175 | "license": "MIT", 1176 | "dependencies": { 1177 | "call-bind": "^1.0.2" 1178 | }, 1179 | "funding": { 1180 | "url": "https://github.com/sponsors/ljharb" 1181 | } 1182 | }, 1183 | "node_modules/is-string": { 1184 | "version": "1.0.7", 1185 | "license": "MIT", 1186 | "dependencies": { 1187 | "has-tostringtag": "^1.0.0" 1188 | }, 1189 | "engines": { 1190 | "node": ">= 0.4" 1191 | }, 1192 | "funding": { 1193 | "url": "https://github.com/sponsors/ljharb" 1194 | } 1195 | }, 1196 | "node_modules/is-subdir": { 1197 | "version": "1.2.0", 1198 | "license": "MIT", 1199 | "dependencies": { 1200 | "better-path-resolve": "1.0.0" 1201 | }, 1202 | "engines": { 1203 | "node": ">=4" 1204 | } 1205 | }, 1206 | "node_modules/is-symbol": { 1207 | "version": "1.0.3", 1208 | "license": "MIT", 1209 | "dependencies": { 1210 | "has-symbols": "^1.0.1" 1211 | }, 1212 | "engines": { 1213 | "node": ">= 0.4" 1214 | }, 1215 | "funding": { 1216 | "url": "https://github.com/sponsors/ljharb" 1217 | } 1218 | }, 1219 | "node_modules/is-weakref": { 1220 | "version": "1.0.2", 1221 | "license": "MIT", 1222 | "dependencies": { 1223 | "call-bind": "^1.0.2" 1224 | }, 1225 | "funding": { 1226 | "url": "https://github.com/sponsors/ljharb" 1227 | } 1228 | }, 1229 | "node_modules/is-windows": { 1230 | "version": "1.0.2", 1231 | "license": "MIT", 1232 | "engines": { 1233 | "node": ">=0.10.0" 1234 | } 1235 | }, 1236 | "node_modules/isexe": { 1237 | "version": "2.0.0", 1238 | "license": "ISC" 1239 | }, 1240 | "node_modules/js-tokens": { 1241 | "version": "4.0.0", 1242 | "license": "MIT" 1243 | }, 1244 | "node_modules/js-yaml": { 1245 | "version": "3.14.0", 1246 | "license": "MIT", 1247 | "dependencies": { 1248 | "argparse": "^1.0.7", 1249 | "esprima": "^4.0.0" 1250 | }, 1251 | "bin": { 1252 | "js-yaml": "bin/js-yaml.js" 1253 | } 1254 | }, 1255 | "node_modules/json-parse-even-better-errors": { 1256 | "version": "2.3.0", 1257 | "license": "MIT" 1258 | }, 1259 | "node_modules/jsonfile": { 1260 | "version": "4.0.0", 1261 | "license": "MIT", 1262 | "optionalDependencies": { 1263 | "graceful-fs": "^4.1.6" 1264 | } 1265 | }, 1266 | "node_modules/kind-of": { 1267 | "version": "6.0.3", 1268 | "license": "MIT", 1269 | "engines": { 1270 | "node": ">=0.10.0" 1271 | } 1272 | }, 1273 | "node_modules/kleur": { 1274 | "version": "4.1.5", 1275 | "license": "MIT", 1276 | "engines": { 1277 | "node": ">=6" 1278 | } 1279 | }, 1280 | "node_modules/lines-and-columns": { 1281 | "version": "1.1.6", 1282 | "license": "MIT" 1283 | }, 1284 | "node_modules/load-yaml-file": { 1285 | "version": "0.2.0", 1286 | "license": "MIT", 1287 | "dependencies": { 1288 | "graceful-fs": "^4.1.5", 1289 | "js-yaml": "^3.13.0", 1290 | "pify": "^4.0.1", 1291 | "strip-bom": "^3.0.0" 1292 | }, 1293 | "engines": { 1294 | "node": ">=6" 1295 | } 1296 | }, 1297 | "node_modules/locate-path": { 1298 | "version": "5.0.0", 1299 | "license": "MIT", 1300 | "dependencies": { 1301 | "p-locate": "^4.1.0" 1302 | }, 1303 | "engines": { 1304 | "node": ">=8" 1305 | } 1306 | }, 1307 | "node_modules/lodash.startcase": { 1308 | "version": "4.4.0", 1309 | "license": "MIT" 1310 | }, 1311 | "node_modules/loose-envify": { 1312 | "version": "1.4.0", 1313 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", 1314 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", 1315 | "dependencies": { 1316 | "js-tokens": "^3.0.0 || ^4.0.0" 1317 | }, 1318 | "bin": { 1319 | "loose-envify": "cli.js" 1320 | } 1321 | }, 1322 | "node_modules/lru-cache": { 1323 | "version": "4.1.5", 1324 | "license": "ISC", 1325 | "dependencies": { 1326 | "pseudomap": "^1.0.2", 1327 | "yallist": "^2.1.2" 1328 | } 1329 | }, 1330 | "node_modules/map-obj": { 1331 | "version": "4.3.0", 1332 | "license": "MIT", 1333 | "engines": { 1334 | "node": ">=8" 1335 | }, 1336 | "funding": { 1337 | "url": "https://github.com/sponsors/sindresorhus" 1338 | } 1339 | }, 1340 | "node_modules/meow": { 1341 | "version": "6.1.1", 1342 | "license": "MIT", 1343 | "dependencies": { 1344 | "@types/minimist": "^1.2.0", 1345 | "camelcase-keys": "^6.2.2", 1346 | "decamelize-keys": "^1.1.0", 1347 | "hard-rejection": "^2.1.0", 1348 | "minimist-options": "^4.0.2", 1349 | "normalize-package-data": "^2.5.0", 1350 | "read-pkg-up": "^7.0.1", 1351 | "redent": "^3.0.0", 1352 | "trim-newlines": "^3.0.0", 1353 | "type-fest": "^0.13.1", 1354 | "yargs-parser": "^18.1.3" 1355 | }, 1356 | "engines": { 1357 | "node": ">=8" 1358 | }, 1359 | "funding": { 1360 | "url": "https://github.com/sponsors/sindresorhus" 1361 | } 1362 | }, 1363 | "node_modules/merge2": { 1364 | "version": "1.4.1", 1365 | "license": "MIT", 1366 | "engines": { 1367 | "node": ">= 8" 1368 | } 1369 | }, 1370 | "node_modules/micromatch": { 1371 | "version": "4.0.5", 1372 | "license": "MIT", 1373 | "dependencies": { 1374 | "braces": "^3.0.2", 1375 | "picomatch": "^2.3.1" 1376 | }, 1377 | "engines": { 1378 | "node": ">=8.6" 1379 | } 1380 | }, 1381 | "node_modules/min-indent": { 1382 | "version": "1.0.1", 1383 | "license": "MIT", 1384 | "engines": { 1385 | "node": ">=4" 1386 | } 1387 | }, 1388 | "node_modules/minimist-options": { 1389 | "version": "4.1.0", 1390 | "license": "MIT", 1391 | "dependencies": { 1392 | "arrify": "^1.0.1", 1393 | "is-plain-obj": "^1.1.0", 1394 | "kind-of": "^6.0.3" 1395 | }, 1396 | "engines": { 1397 | "node": ">= 6" 1398 | } 1399 | }, 1400 | "node_modules/mixme": { 1401 | "version": "0.5.4", 1402 | "license": "MIT", 1403 | "engines": { 1404 | "node": ">= 8.0.0" 1405 | } 1406 | }, 1407 | "node_modules/module-alias": { 1408 | "version": "2.2.2", 1409 | "license": "MIT" 1410 | }, 1411 | "node_modules/normalize-package-data": { 1412 | "version": "2.5.0", 1413 | "license": "BSD-2-Clause", 1414 | "dependencies": { 1415 | "hosted-git-info": "^2.1.4", 1416 | "resolve": "^1.10.0", 1417 | "semver": "2 || 3 || 4 || 5", 1418 | "validate-npm-package-license": "^3.0.1" 1419 | } 1420 | }, 1421 | "node_modules/object-assign": { 1422 | "version": "4.1.1", 1423 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 1424 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", 1425 | "engines": { 1426 | "node": ">=0.10.0" 1427 | } 1428 | }, 1429 | "node_modules/object-inspect": { 1430 | "version": "1.12.2", 1431 | "license": "MIT", 1432 | "funding": { 1433 | "url": "https://github.com/sponsors/ljharb" 1434 | } 1435 | }, 1436 | "node_modules/object-keys": { 1437 | "version": "1.1.1", 1438 | "license": "MIT", 1439 | "engines": { 1440 | "node": ">= 0.4" 1441 | } 1442 | }, 1443 | "node_modules/object.assign": { 1444 | "version": "4.1.4", 1445 | "license": "MIT", 1446 | "dependencies": { 1447 | "call-bind": "^1.0.2", 1448 | "define-properties": "^1.1.4", 1449 | "has-symbols": "^1.0.3", 1450 | "object-keys": "^1.1.1" 1451 | }, 1452 | "engines": { 1453 | "node": ">= 0.4" 1454 | }, 1455 | "funding": { 1456 | "url": "https://github.com/sponsors/ljharb" 1457 | } 1458 | }, 1459 | "node_modules/os-tmpdir": { 1460 | "version": "1.0.2", 1461 | "license": "MIT", 1462 | "engines": { 1463 | "node": ">=0.10.0" 1464 | } 1465 | }, 1466 | "node_modules/outdent": { 1467 | "version": "0.5.0", 1468 | "license": "MIT" 1469 | }, 1470 | "node_modules/p-filter": { 1471 | "version": "2.1.0", 1472 | "license": "MIT", 1473 | "dependencies": { 1474 | "p-map": "^2.0.0" 1475 | }, 1476 | "engines": { 1477 | "node": ">=8" 1478 | } 1479 | }, 1480 | "node_modules/p-limit": { 1481 | "version": "2.3.0", 1482 | "license": "MIT", 1483 | "dependencies": { 1484 | "p-try": "^2.0.0" 1485 | }, 1486 | "engines": { 1487 | "node": ">=6" 1488 | }, 1489 | "funding": { 1490 | "url": "https://github.com/sponsors/sindresorhus" 1491 | } 1492 | }, 1493 | "node_modules/p-locate": { 1494 | "version": "4.1.0", 1495 | "license": "MIT", 1496 | "dependencies": { 1497 | "p-limit": "^2.2.0" 1498 | }, 1499 | "engines": { 1500 | "node": ">=8" 1501 | } 1502 | }, 1503 | "node_modules/p-map": { 1504 | "version": "2.1.0", 1505 | "license": "MIT", 1506 | "engines": { 1507 | "node": ">=6" 1508 | } 1509 | }, 1510 | "node_modules/p-try": { 1511 | "version": "2.2.0", 1512 | "license": "MIT", 1513 | "engines": { 1514 | "node": ">=6" 1515 | } 1516 | }, 1517 | "node_modules/parse-json": { 1518 | "version": "5.1.0", 1519 | "license": "MIT", 1520 | "dependencies": { 1521 | "@babel/code-frame": "^7.0.0", 1522 | "error-ex": "^1.3.1", 1523 | "json-parse-even-better-errors": "^2.3.0", 1524 | "lines-and-columns": "^1.1.6" 1525 | }, 1526 | "engines": { 1527 | "node": ">=8" 1528 | }, 1529 | "funding": { 1530 | "url": "https://github.com/sponsors/sindresorhus" 1531 | } 1532 | }, 1533 | "node_modules/path-exists": { 1534 | "version": "4.0.0", 1535 | "license": "MIT", 1536 | "engines": { 1537 | "node": ">=8" 1538 | } 1539 | }, 1540 | "node_modules/path-parse": { 1541 | "version": "1.0.7", 1542 | "license": "MIT" 1543 | }, 1544 | "node_modules/path-type": { 1545 | "version": "4.0.0", 1546 | "license": "MIT", 1547 | "engines": { 1548 | "node": ">=8" 1549 | } 1550 | }, 1551 | "node_modules/picomatch": { 1552 | "version": "2.3.1", 1553 | "license": "MIT", 1554 | "engines": { 1555 | "node": ">=8.6" 1556 | }, 1557 | "funding": { 1558 | "url": "https://github.com/sponsors/jonschlinkert" 1559 | } 1560 | }, 1561 | "node_modules/pify": { 1562 | "version": "4.0.1", 1563 | "license": "MIT", 1564 | "engines": { 1565 | "node": ">=6" 1566 | } 1567 | }, 1568 | "node_modules/pkg-dir": { 1569 | "version": "4.2.0", 1570 | "license": "MIT", 1571 | "dependencies": { 1572 | "find-up": "^4.0.0" 1573 | }, 1574 | "engines": { 1575 | "node": ">=8" 1576 | } 1577 | }, 1578 | "node_modules/preact": { 1579 | "version": "10.10.6", 1580 | "resolved": "https://registry.npmjs.org/preact/-/preact-10.10.6.tgz", 1581 | "integrity": "sha512-w0mCL5vICUAZrh1DuHEdOWBjxdO62lvcO++jbzr8UhhYcTbFkpegLH9XX+7MadjTl/y0feoqwQ/zAnzkc/EGog==", 1582 | "funding": { 1583 | "type": "opencollective", 1584 | "url": "https://opencollective.com/preact" 1585 | } 1586 | }, 1587 | "node_modules/preact-render-to-string": { 1588 | "version": "5.2.2", 1589 | "resolved": "https://registry.npmjs.org/preact-render-to-string/-/preact-render-to-string-5.2.2.tgz", 1590 | "integrity": "sha512-ZBPfzWmHjasQIzysj72VYJ6oa2bphpxNvzLRdRj/XGFKyeTBJIDmoiKJlBGfxzU4TYL2CjpAWmcFIXcV+HQEBg==", 1591 | "dependencies": { 1592 | "pretty-format": "^3.8.0" 1593 | }, 1594 | "peerDependencies": { 1595 | "preact": ">=10" 1596 | } 1597 | }, 1598 | "node_modules/preferred-pm": { 1599 | "version": "3.0.3", 1600 | "license": "MIT", 1601 | "dependencies": { 1602 | "find-up": "^5.0.0", 1603 | "find-yarn-workspace-root2": "1.2.16", 1604 | "path-exists": "^4.0.0", 1605 | "which-pm": "2.0.0" 1606 | }, 1607 | "engines": { 1608 | "node": ">=10" 1609 | } 1610 | }, 1611 | "node_modules/preferred-pm/node_modules/find-up": { 1612 | "version": "5.0.0", 1613 | "license": "MIT", 1614 | "dependencies": { 1615 | "locate-path": "^6.0.0", 1616 | "path-exists": "^4.0.0" 1617 | }, 1618 | "engines": { 1619 | "node": ">=10" 1620 | }, 1621 | "funding": { 1622 | "url": "https://github.com/sponsors/sindresorhus" 1623 | } 1624 | }, 1625 | "node_modules/preferred-pm/node_modules/locate-path": { 1626 | "version": "6.0.0", 1627 | "license": "MIT", 1628 | "dependencies": { 1629 | "p-locate": "^5.0.0" 1630 | }, 1631 | "engines": { 1632 | "node": ">=10" 1633 | }, 1634 | "funding": { 1635 | "url": "https://github.com/sponsors/sindresorhus" 1636 | } 1637 | }, 1638 | "node_modules/preferred-pm/node_modules/p-limit": { 1639 | "version": "3.1.0", 1640 | "license": "MIT", 1641 | "dependencies": { 1642 | "yocto-queue": "^0.1.0" 1643 | }, 1644 | "engines": { 1645 | "node": ">=10" 1646 | }, 1647 | "funding": { 1648 | "url": "https://github.com/sponsors/sindresorhus" 1649 | } 1650 | }, 1651 | "node_modules/preferred-pm/node_modules/p-locate": { 1652 | "version": "5.0.0", 1653 | "license": "MIT", 1654 | "dependencies": { 1655 | "p-limit": "^3.0.2" 1656 | }, 1657 | "engines": { 1658 | "node": ">=10" 1659 | }, 1660 | "funding": { 1661 | "url": "https://github.com/sponsors/sindresorhus" 1662 | } 1663 | }, 1664 | "node_modules/prettier": { 1665 | "version": "2.7.1", 1666 | "license": "MIT", 1667 | "bin": { 1668 | "prettier": "bin-prettier.js" 1669 | }, 1670 | "engines": { 1671 | "node": ">=10.13.0" 1672 | }, 1673 | "funding": { 1674 | "url": "https://github.com/prettier/prettier?sponsor=1" 1675 | } 1676 | }, 1677 | "node_modules/pretty-format": { 1678 | "version": "3.8.0", 1679 | "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-3.8.0.tgz", 1680 | "integrity": "sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==" 1681 | }, 1682 | "node_modules/prop-types": { 1683 | "version": "15.8.1", 1684 | "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", 1685 | "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", 1686 | "dependencies": { 1687 | "loose-envify": "^1.4.0", 1688 | "object-assign": "^4.1.1", 1689 | "react-is": "^16.13.1" 1690 | } 1691 | }, 1692 | "node_modules/pseudomap": { 1693 | "version": "1.0.2", 1694 | "license": "ISC" 1695 | }, 1696 | "node_modules/queue-microtask": { 1697 | "version": "1.2.3", 1698 | "funding": [ 1699 | { 1700 | "type": "github", 1701 | "url": "https://github.com/sponsors/feross" 1702 | }, 1703 | { 1704 | "type": "patreon", 1705 | "url": "https://www.patreon.com/feross" 1706 | }, 1707 | { 1708 | "type": "consulting", 1709 | "url": "https://feross.org/support" 1710 | } 1711 | ], 1712 | "license": "MIT" 1713 | }, 1714 | "node_modules/quick-lru": { 1715 | "version": "4.0.1", 1716 | "license": "MIT", 1717 | "engines": { 1718 | "node": ">=8" 1719 | } 1720 | }, 1721 | "node_modules/react": { 1722 | "version": "18.2.0", 1723 | "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", 1724 | "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", 1725 | "peer": true, 1726 | "dependencies": { 1727 | "loose-envify": "^1.1.0" 1728 | }, 1729 | "engines": { 1730 | "node": ">=0.10.0" 1731 | } 1732 | }, 1733 | "node_modules/react-fast-compare": { 1734 | "version": "3.2.0", 1735 | "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz", 1736 | "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" 1737 | }, 1738 | "node_modules/react-helmet": { 1739 | "version": "6.1.0", 1740 | "resolved": "https://registry.npmjs.org/react-helmet/-/react-helmet-6.1.0.tgz", 1741 | "integrity": "sha512-4uMzEY9nlDlgxr61NL3XbKRy1hEkXmKNXhjbAIOVw5vcFrsdYbH2FEwcNyWvWinl103nXgzYNlns9ca+8kFiWw==", 1742 | "dependencies": { 1743 | "object-assign": "^4.1.1", 1744 | "prop-types": "^15.7.2", 1745 | "react-fast-compare": "^3.1.1", 1746 | "react-side-effect": "^2.1.0" 1747 | }, 1748 | "peerDependencies": { 1749 | "react": ">=16.3.0" 1750 | } 1751 | }, 1752 | "node_modules/react-is": { 1753 | "version": "16.13.1", 1754 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", 1755 | "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" 1756 | }, 1757 | "node_modules/react-side-effect": { 1758 | "version": "2.1.2", 1759 | "resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.2.tgz", 1760 | "integrity": "sha512-PVjOcvVOyIILrYoyGEpDN3vmYNLdy1CajSFNt4TDsVQC5KpTijDvWVoR+/7Rz2xT978D8/ZtFceXxzsPwZEDvw==", 1761 | "peerDependencies": { 1762 | "react": "^16.3.0 || ^17.0.0 || ^18.0.0" 1763 | } 1764 | }, 1765 | "node_modules/read-pkg": { 1766 | "version": "5.2.0", 1767 | "license": "MIT", 1768 | "dependencies": { 1769 | "@types/normalize-package-data": "^2.4.0", 1770 | "normalize-package-data": "^2.5.0", 1771 | "parse-json": "^5.0.0", 1772 | "type-fest": "^0.6.0" 1773 | }, 1774 | "engines": { 1775 | "node": ">=8" 1776 | } 1777 | }, 1778 | "node_modules/read-pkg-up": { 1779 | "version": "7.0.1", 1780 | "license": "MIT", 1781 | "dependencies": { 1782 | "find-up": "^4.1.0", 1783 | "read-pkg": "^5.2.0", 1784 | "type-fest": "^0.8.1" 1785 | }, 1786 | "engines": { 1787 | "node": ">=8" 1788 | }, 1789 | "funding": { 1790 | "url": "https://github.com/sponsors/sindresorhus" 1791 | } 1792 | }, 1793 | "node_modules/read-pkg-up/node_modules/type-fest": { 1794 | "version": "0.8.1", 1795 | "license": "(MIT OR CC0-1.0)", 1796 | "engines": { 1797 | "node": ">=8" 1798 | } 1799 | }, 1800 | "node_modules/read-pkg/node_modules/type-fest": { 1801 | "version": "0.6.0", 1802 | "license": "(MIT OR CC0-1.0)", 1803 | "engines": { 1804 | "node": ">=8" 1805 | } 1806 | }, 1807 | "node_modules/read-yaml-file": { 1808 | "version": "1.1.0", 1809 | "license": "MIT", 1810 | "dependencies": { 1811 | "graceful-fs": "^4.1.5", 1812 | "js-yaml": "^3.6.1", 1813 | "pify": "^4.0.1", 1814 | "strip-bom": "^3.0.0" 1815 | }, 1816 | "engines": { 1817 | "node": ">=6" 1818 | } 1819 | }, 1820 | "node_modules/redent": { 1821 | "version": "3.0.0", 1822 | "license": "MIT", 1823 | "dependencies": { 1824 | "indent-string": "^4.0.0", 1825 | "strip-indent": "^3.0.0" 1826 | }, 1827 | "engines": { 1828 | "node": ">=8" 1829 | } 1830 | }, 1831 | "node_modules/regenerator-runtime": { 1832 | "version": "0.13.7", 1833 | "license": "MIT" 1834 | }, 1835 | "node_modules/regexp.prototype.flags": { 1836 | "version": "1.4.3", 1837 | "license": "MIT", 1838 | "dependencies": { 1839 | "call-bind": "^1.0.2", 1840 | "define-properties": "^1.1.3", 1841 | "functions-have-names": "^1.2.2" 1842 | }, 1843 | "engines": { 1844 | "node": ">= 0.4" 1845 | }, 1846 | "funding": { 1847 | "url": "https://github.com/sponsors/ljharb" 1848 | } 1849 | }, 1850 | "node_modules/require-directory": { 1851 | "version": "2.1.1", 1852 | "license": "MIT", 1853 | "engines": { 1854 | "node": ">=0.10.0" 1855 | } 1856 | }, 1857 | "node_modules/require-main-filename": { 1858 | "version": "2.0.0", 1859 | "license": "ISC" 1860 | }, 1861 | "node_modules/resolve": { 1862 | "version": "1.22.1", 1863 | "license": "MIT", 1864 | "dependencies": { 1865 | "is-core-module": "^2.9.0", 1866 | "path-parse": "^1.0.7", 1867 | "supports-preserve-symlinks-flag": "^1.0.0" 1868 | }, 1869 | "bin": { 1870 | "resolve": "bin/resolve" 1871 | }, 1872 | "funding": { 1873 | "url": "https://github.com/sponsors/ljharb" 1874 | } 1875 | }, 1876 | "node_modules/resolve-from": { 1877 | "version": "5.0.0", 1878 | "license": "MIT", 1879 | "engines": { 1880 | "node": ">=8" 1881 | } 1882 | }, 1883 | "node_modules/reusify": { 1884 | "version": "1.0.4", 1885 | "license": "MIT", 1886 | "engines": { 1887 | "iojs": ">=1.0.0", 1888 | "node": ">=0.10.0" 1889 | } 1890 | }, 1891 | "node_modules/run-parallel": { 1892 | "version": "1.2.0", 1893 | "funding": [ 1894 | { 1895 | "type": "github", 1896 | "url": "https://github.com/sponsors/feross" 1897 | }, 1898 | { 1899 | "type": "patreon", 1900 | "url": "https://www.patreon.com/feross" 1901 | }, 1902 | { 1903 | "type": "consulting", 1904 | "url": "https://feross.org/support" 1905 | } 1906 | ], 1907 | "license": "MIT", 1908 | "dependencies": { 1909 | "queue-microtask": "^1.2.2" 1910 | } 1911 | }, 1912 | "node_modules/safer-buffer": { 1913 | "version": "2.1.2", 1914 | "license": "MIT" 1915 | }, 1916 | "node_modules/semver": { 1917 | "version": "5.7.1", 1918 | "license": "ISC", 1919 | "bin": { 1920 | "semver": "bin/semver" 1921 | } 1922 | }, 1923 | "node_modules/set-blocking": { 1924 | "version": "2.0.0", 1925 | "license": "ISC" 1926 | }, 1927 | "node_modules/shebang-command": { 1928 | "version": "1.2.0", 1929 | "license": "MIT", 1930 | "dependencies": { 1931 | "shebang-regex": "^1.0.0" 1932 | }, 1933 | "engines": { 1934 | "node": ">=0.10.0" 1935 | } 1936 | }, 1937 | "node_modules/shebang-regex": { 1938 | "version": "1.0.0", 1939 | "license": "MIT", 1940 | "engines": { 1941 | "node": ">=0.10.0" 1942 | } 1943 | }, 1944 | "node_modules/side-channel": { 1945 | "version": "1.0.4", 1946 | "license": "MIT", 1947 | "dependencies": { 1948 | "call-bind": "^1.0.0", 1949 | "get-intrinsic": "^1.0.2", 1950 | "object-inspect": "^1.9.0" 1951 | }, 1952 | "funding": { 1953 | "url": "https://github.com/sponsors/ljharb" 1954 | } 1955 | }, 1956 | "node_modules/signal-exit": { 1957 | "version": "3.0.3", 1958 | "license": "ISC" 1959 | }, 1960 | "node_modules/slash": { 1961 | "version": "3.0.0", 1962 | "license": "MIT", 1963 | "engines": { 1964 | "node": ">=8" 1965 | } 1966 | }, 1967 | "node_modules/smartwrap": { 1968 | "version": "2.0.2", 1969 | "license": "MIT", 1970 | "dependencies": { 1971 | "array.prototype.flat": "^1.2.3", 1972 | "breakword": "^1.0.5", 1973 | "grapheme-splitter": "^1.0.4", 1974 | "strip-ansi": "^6.0.0", 1975 | "wcwidth": "^1.0.1", 1976 | "yargs": "^15.1.0" 1977 | }, 1978 | "bin": { 1979 | "smartwrap": "src/terminal-adapter.js" 1980 | }, 1981 | "engines": { 1982 | "node": ">=6" 1983 | } 1984 | }, 1985 | "node_modules/smartwrap/node_modules/ansi-styles": { 1986 | "version": "4.3.0", 1987 | "license": "MIT", 1988 | "dependencies": { 1989 | "color-convert": "^2.0.1" 1990 | }, 1991 | "engines": { 1992 | "node": ">=8" 1993 | }, 1994 | "funding": { 1995 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 1996 | } 1997 | }, 1998 | "node_modules/smartwrap/node_modules/cliui": { 1999 | "version": "6.0.0", 2000 | "license": "ISC", 2001 | "dependencies": { 2002 | "string-width": "^4.2.0", 2003 | "strip-ansi": "^6.0.0", 2004 | "wrap-ansi": "^6.2.0" 2005 | } 2006 | }, 2007 | "node_modules/smartwrap/node_modules/color-convert": { 2008 | "version": "2.0.1", 2009 | "license": "MIT", 2010 | "dependencies": { 2011 | "color-name": "~1.1.4" 2012 | }, 2013 | "engines": { 2014 | "node": ">=7.0.0" 2015 | } 2016 | }, 2017 | "node_modules/smartwrap/node_modules/color-name": { 2018 | "version": "1.1.4", 2019 | "license": "MIT" 2020 | }, 2021 | "node_modules/smartwrap/node_modules/wrap-ansi": { 2022 | "version": "6.2.0", 2023 | "license": "MIT", 2024 | "dependencies": { 2025 | "ansi-styles": "^4.0.0", 2026 | "string-width": "^4.1.0", 2027 | "strip-ansi": "^6.0.0" 2028 | }, 2029 | "engines": { 2030 | "node": ">=8" 2031 | } 2032 | }, 2033 | "node_modules/smartwrap/node_modules/y18n": { 2034 | "version": "4.0.3", 2035 | "license": "ISC" 2036 | }, 2037 | "node_modules/smartwrap/node_modules/yargs": { 2038 | "version": "15.4.1", 2039 | "license": "MIT", 2040 | "dependencies": { 2041 | "cliui": "^6.0.0", 2042 | "decamelize": "^1.2.0", 2043 | "find-up": "^4.1.0", 2044 | "get-caller-file": "^2.0.1", 2045 | "require-directory": "^2.1.1", 2046 | "require-main-filename": "^2.0.0", 2047 | "set-blocking": "^2.0.0", 2048 | "string-width": "^4.2.0", 2049 | "which-module": "^2.0.0", 2050 | "y18n": "^4.0.0", 2051 | "yargs-parser": "^18.1.2" 2052 | }, 2053 | "engines": { 2054 | "node": ">=8" 2055 | } 2056 | }, 2057 | "node_modules/spawndamnit": { 2058 | "version": "2.0.0", 2059 | "license": "MIT", 2060 | "dependencies": { 2061 | "cross-spawn": "^5.1.0", 2062 | "signal-exit": "^3.0.2" 2063 | } 2064 | }, 2065 | "node_modules/spawndamnit/node_modules/cross-spawn": { 2066 | "version": "5.1.0", 2067 | "license": "MIT", 2068 | "dependencies": { 2069 | "lru-cache": "^4.0.1", 2070 | "shebang-command": "^1.2.0", 2071 | "which": "^1.2.9" 2072 | } 2073 | }, 2074 | "node_modules/spdx-correct": { 2075 | "version": "3.1.1", 2076 | "license": "Apache-2.0", 2077 | "dependencies": { 2078 | "spdx-expression-parse": "^3.0.0", 2079 | "spdx-license-ids": "^3.0.0" 2080 | } 2081 | }, 2082 | "node_modules/spdx-exceptions": { 2083 | "version": "2.3.0", 2084 | "license": "CC-BY-3.0" 2085 | }, 2086 | "node_modules/spdx-expression-parse": { 2087 | "version": "3.0.1", 2088 | "license": "MIT", 2089 | "dependencies": { 2090 | "spdx-exceptions": "^2.1.0", 2091 | "spdx-license-ids": "^3.0.0" 2092 | } 2093 | }, 2094 | "node_modules/spdx-license-ids": { 2095 | "version": "3.0.12", 2096 | "license": "CC0-1.0" 2097 | }, 2098 | "node_modules/sprintf-js": { 2099 | "version": "1.0.3", 2100 | "license": "BSD-3-Clause" 2101 | }, 2102 | "node_modules/stream-transform": { 2103 | "version": "2.1.3", 2104 | "license": "MIT", 2105 | "dependencies": { 2106 | "mixme": "^0.5.1" 2107 | } 2108 | }, 2109 | "node_modules/string-width": { 2110 | "version": "4.2.3", 2111 | "license": "MIT", 2112 | "dependencies": { 2113 | "emoji-regex": "^8.0.0", 2114 | "is-fullwidth-code-point": "^3.0.0", 2115 | "strip-ansi": "^6.0.1" 2116 | }, 2117 | "engines": { 2118 | "node": ">=8" 2119 | } 2120 | }, 2121 | "node_modules/string.prototype.trimend": { 2122 | "version": "1.0.5", 2123 | "license": "MIT", 2124 | "dependencies": { 2125 | "call-bind": "^1.0.2", 2126 | "define-properties": "^1.1.4", 2127 | "es-abstract": "^1.19.5" 2128 | }, 2129 | "funding": { 2130 | "url": "https://github.com/sponsors/ljharb" 2131 | } 2132 | }, 2133 | "node_modules/string.prototype.trimstart": { 2134 | "version": "1.0.5", 2135 | "license": "MIT", 2136 | "dependencies": { 2137 | "call-bind": "^1.0.2", 2138 | "define-properties": "^1.1.4", 2139 | "es-abstract": "^1.19.5" 2140 | }, 2141 | "funding": { 2142 | "url": "https://github.com/sponsors/ljharb" 2143 | } 2144 | }, 2145 | "node_modules/strip-ansi": { 2146 | "version": "6.0.1", 2147 | "license": "MIT", 2148 | "dependencies": { 2149 | "ansi-regex": "^5.0.1" 2150 | }, 2151 | "engines": { 2152 | "node": ">=8" 2153 | } 2154 | }, 2155 | "node_modules/strip-bom": { 2156 | "version": "3.0.0", 2157 | "license": "MIT", 2158 | "engines": { 2159 | "node": ">=4" 2160 | } 2161 | }, 2162 | "node_modules/strip-indent": { 2163 | "version": "3.0.0", 2164 | "license": "MIT", 2165 | "dependencies": { 2166 | "min-indent": "^1.0.0" 2167 | }, 2168 | "engines": { 2169 | "node": ">=8" 2170 | } 2171 | }, 2172 | "node_modules/supports-color": { 2173 | "version": "5.5.0", 2174 | "license": "MIT", 2175 | "dependencies": { 2176 | "has-flag": "^3.0.0" 2177 | }, 2178 | "engines": { 2179 | "node": ">=4" 2180 | } 2181 | }, 2182 | "node_modules/supports-preserve-symlinks-flag": { 2183 | "version": "1.0.0", 2184 | "license": "MIT", 2185 | "engines": { 2186 | "node": ">= 0.4" 2187 | }, 2188 | "funding": { 2189 | "url": "https://github.com/sponsors/ljharb" 2190 | } 2191 | }, 2192 | "node_modules/term-size": { 2193 | "version": "2.2.1", 2194 | "license": "MIT", 2195 | "engines": { 2196 | "node": ">=8" 2197 | }, 2198 | "funding": { 2199 | "url": "https://github.com/sponsors/sindresorhus" 2200 | } 2201 | }, 2202 | "node_modules/tmp": { 2203 | "version": "0.0.33", 2204 | "license": "MIT", 2205 | "dependencies": { 2206 | "os-tmpdir": "~1.0.2" 2207 | }, 2208 | "engines": { 2209 | "node": ">=0.6.0" 2210 | } 2211 | }, 2212 | "node_modules/to-regex-range": { 2213 | "version": "5.0.1", 2214 | "license": "MIT", 2215 | "dependencies": { 2216 | "is-number": "^7.0.0" 2217 | }, 2218 | "engines": { 2219 | "node": ">=8.0" 2220 | } 2221 | }, 2222 | "node_modules/trim-newlines": { 2223 | "version": "3.0.1", 2224 | "license": "MIT", 2225 | "engines": { 2226 | "node": ">=8" 2227 | } 2228 | }, 2229 | "node_modules/tty-table": { 2230 | "version": "4.1.6", 2231 | "license": "MIT", 2232 | "dependencies": { 2233 | "chalk": "^4.1.2", 2234 | "csv": "^5.5.0", 2235 | "kleur": "^4.1.4", 2236 | "smartwrap": "^2.0.2", 2237 | "strip-ansi": "^6.0.0", 2238 | "wcwidth": "^1.0.1", 2239 | "yargs": "^17.1.1" 2240 | }, 2241 | "bin": { 2242 | "tty-table": "adapters/terminal-adapter.js" 2243 | }, 2244 | "engines": { 2245 | "node": ">=8.0.0" 2246 | } 2247 | }, 2248 | "node_modules/tty-table/node_modules/ansi-styles": { 2249 | "version": "4.2.1", 2250 | "license": "MIT", 2251 | "dependencies": { 2252 | "@types/color-name": "^1.1.1", 2253 | "color-convert": "^2.0.1" 2254 | }, 2255 | "engines": { 2256 | "node": ">=8" 2257 | }, 2258 | "funding": { 2259 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 2260 | } 2261 | }, 2262 | "node_modules/tty-table/node_modules/chalk": { 2263 | "version": "4.1.2", 2264 | "license": "MIT", 2265 | "dependencies": { 2266 | "ansi-styles": "^4.1.0", 2267 | "supports-color": "^7.1.0" 2268 | }, 2269 | "engines": { 2270 | "node": ">=10" 2271 | }, 2272 | "funding": { 2273 | "url": "https://github.com/chalk/chalk?sponsor=1" 2274 | } 2275 | }, 2276 | "node_modules/tty-table/node_modules/color-convert": { 2277 | "version": "2.0.1", 2278 | "license": "MIT", 2279 | "dependencies": { 2280 | "color-name": "~1.1.4" 2281 | }, 2282 | "engines": { 2283 | "node": ">=7.0.0" 2284 | } 2285 | }, 2286 | "node_modules/tty-table/node_modules/color-name": { 2287 | "version": "1.1.4", 2288 | "license": "MIT" 2289 | }, 2290 | "node_modules/tty-table/node_modules/has-flag": { 2291 | "version": "4.0.0", 2292 | "license": "MIT", 2293 | "engines": { 2294 | "node": ">=8" 2295 | } 2296 | }, 2297 | "node_modules/tty-table/node_modules/supports-color": { 2298 | "version": "7.2.0", 2299 | "license": "MIT", 2300 | "dependencies": { 2301 | "has-flag": "^4.0.0" 2302 | }, 2303 | "engines": { 2304 | "node": ">=8" 2305 | } 2306 | }, 2307 | "node_modules/type-fest": { 2308 | "version": "0.13.1", 2309 | "license": "(MIT OR CC0-1.0)", 2310 | "engines": { 2311 | "node": ">=10" 2312 | }, 2313 | "funding": { 2314 | "url": "https://github.com/sponsors/sindresorhus" 2315 | } 2316 | }, 2317 | "node_modules/unbox-primitive": { 2318 | "version": "1.0.2", 2319 | "license": "MIT", 2320 | "dependencies": { 2321 | "call-bind": "^1.0.2", 2322 | "has-bigints": "^1.0.2", 2323 | "has-symbols": "^1.0.3", 2324 | "which-boxed-primitive": "^1.0.2" 2325 | }, 2326 | "funding": { 2327 | "url": "https://github.com/sponsors/ljharb" 2328 | } 2329 | }, 2330 | "node_modules/universalify": { 2331 | "version": "0.1.2", 2332 | "license": "MIT", 2333 | "engines": { 2334 | "node": ">= 4.0.0" 2335 | } 2336 | }, 2337 | "node_modules/validate-npm-package-license": { 2338 | "version": "3.0.4", 2339 | "license": "Apache-2.0", 2340 | "dependencies": { 2341 | "spdx-correct": "^3.0.0", 2342 | "spdx-expression-parse": "^3.0.0" 2343 | } 2344 | }, 2345 | "node_modules/wcwidth": { 2346 | "version": "1.0.1", 2347 | "license": "MIT", 2348 | "dependencies": { 2349 | "defaults": "^1.0.3" 2350 | } 2351 | }, 2352 | "node_modules/which": { 2353 | "version": "1.3.1", 2354 | "license": "ISC", 2355 | "dependencies": { 2356 | "isexe": "^2.0.0" 2357 | }, 2358 | "bin": { 2359 | "which": "bin/which" 2360 | } 2361 | }, 2362 | "node_modules/which-boxed-primitive": { 2363 | "version": "1.0.2", 2364 | "license": "MIT", 2365 | "dependencies": { 2366 | "is-bigint": "^1.0.1", 2367 | "is-boolean-object": "^1.1.0", 2368 | "is-number-object": "^1.0.4", 2369 | "is-string": "^1.0.5", 2370 | "is-symbol": "^1.0.3" 2371 | }, 2372 | "funding": { 2373 | "url": "https://github.com/sponsors/ljharb" 2374 | } 2375 | }, 2376 | "node_modules/which-module": { 2377 | "version": "2.0.0", 2378 | "license": "ISC" 2379 | }, 2380 | "node_modules/which-pm": { 2381 | "version": "2.0.0", 2382 | "license": "MIT", 2383 | "dependencies": { 2384 | "load-yaml-file": "^0.2.0", 2385 | "path-exists": "^4.0.0" 2386 | }, 2387 | "engines": { 2388 | "node": ">=8.15" 2389 | } 2390 | }, 2391 | "node_modules/wrap-ansi": { 2392 | "version": "7.0.0", 2393 | "license": "MIT", 2394 | "dependencies": { 2395 | "ansi-styles": "^4.0.0", 2396 | "string-width": "^4.1.0", 2397 | "strip-ansi": "^6.0.0" 2398 | }, 2399 | "engines": { 2400 | "node": ">=10" 2401 | }, 2402 | "funding": { 2403 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 2404 | } 2405 | }, 2406 | "node_modules/wrap-ansi/node_modules/ansi-styles": { 2407 | "version": "4.3.0", 2408 | "license": "MIT", 2409 | "dependencies": { 2410 | "color-convert": "^2.0.1" 2411 | }, 2412 | "engines": { 2413 | "node": ">=8" 2414 | }, 2415 | "funding": { 2416 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 2417 | } 2418 | }, 2419 | "node_modules/wrap-ansi/node_modules/color-convert": { 2420 | "version": "2.0.1", 2421 | "license": "MIT", 2422 | "dependencies": { 2423 | "color-name": "~1.1.4" 2424 | }, 2425 | "engines": { 2426 | "node": ">=7.0.0" 2427 | } 2428 | }, 2429 | "node_modules/wrap-ansi/node_modules/color-name": { 2430 | "version": "1.1.4", 2431 | "license": "MIT" 2432 | }, 2433 | "node_modules/y18n": { 2434 | "version": "5.0.8", 2435 | "license": "ISC", 2436 | "engines": { 2437 | "node": ">=10" 2438 | } 2439 | }, 2440 | "node_modules/yallist": { 2441 | "version": "2.1.2", 2442 | "license": "ISC" 2443 | }, 2444 | "node_modules/yargs": { 2445 | "version": "17.5.1", 2446 | "license": "MIT", 2447 | "dependencies": { 2448 | "cliui": "^7.0.2", 2449 | "escalade": "^3.1.1", 2450 | "get-caller-file": "^2.0.5", 2451 | "require-directory": "^2.1.1", 2452 | "string-width": "^4.2.3", 2453 | "y18n": "^5.0.5", 2454 | "yargs-parser": "^21.0.0" 2455 | }, 2456 | "engines": { 2457 | "node": ">=12" 2458 | } 2459 | }, 2460 | "node_modules/yargs-parser": { 2461 | "version": "18.1.3", 2462 | "license": "ISC", 2463 | "dependencies": { 2464 | "camelcase": "^5.0.0", 2465 | "decamelize": "^1.2.0" 2466 | }, 2467 | "engines": { 2468 | "node": ">=6" 2469 | } 2470 | }, 2471 | "node_modules/yargs/node_modules/yargs-parser": { 2472 | "version": "21.1.1", 2473 | "license": "ISC", 2474 | "engines": { 2475 | "node": ">=12" 2476 | } 2477 | }, 2478 | "node_modules/yocto-queue": { 2479 | "version": "0.1.0", 2480 | "license": "MIT", 2481 | "engines": { 2482 | "node": ">=10" 2483 | }, 2484 | "funding": { 2485 | "url": "https://github.com/sponsors/sindresorhus" 2486 | } 2487 | } 2488 | }, 2489 | "dependencies": { 2490 | "@babel/code-frame": { 2491 | "version": "7.10.4", 2492 | "requires": { 2493 | "@babel/highlight": "^7.10.4" 2494 | } 2495 | }, 2496 | "@babel/helper-validator-identifier": { 2497 | "version": "7.10.4" 2498 | }, 2499 | "@babel/highlight": { 2500 | "version": "7.10.4", 2501 | "requires": { 2502 | "@babel/helper-validator-identifier": "^7.10.4", 2503 | "chalk": "^2.0.0", 2504 | "js-tokens": "^4.0.0" 2505 | } 2506 | }, 2507 | "@babel/runtime": { 2508 | "version": "7.18.9", 2509 | "requires": { 2510 | "regenerator-runtime": "^0.13.4" 2511 | } 2512 | }, 2513 | "@changesets/apply-release-plan": { 2514 | "version": "6.1.0", 2515 | "requires": { 2516 | "@babel/runtime": "^7.10.4", 2517 | "@changesets/config": "^2.1.1", 2518 | "@changesets/get-version-range-type": "^0.3.2", 2519 | "@changesets/git": "^1.4.1", 2520 | "@changesets/types": "^5.1.0", 2521 | "@manypkg/get-packages": "^1.1.3", 2522 | "detect-indent": "^6.0.0", 2523 | "fs-extra": "^7.0.1", 2524 | "lodash.startcase": "^4.4.0", 2525 | "outdent": "^0.5.0", 2526 | "prettier": "^2.7.1", 2527 | "resolve-from": "^5.0.0", 2528 | "semver": "^5.4.1" 2529 | } 2530 | }, 2531 | "@changesets/assemble-release-plan": { 2532 | "version": "5.2.1", 2533 | "requires": { 2534 | "@babel/runtime": "^7.10.4", 2535 | "@changesets/errors": "^0.1.4", 2536 | "@changesets/get-dependents-graph": "^1.3.3", 2537 | "@changesets/types": "^5.1.0", 2538 | "@manypkg/get-packages": "^1.1.3", 2539 | "semver": "^5.4.1" 2540 | } 2541 | }, 2542 | "@changesets/changelog-git": { 2543 | "version": "0.1.12", 2544 | "requires": { 2545 | "@changesets/types": "^5.1.0" 2546 | } 2547 | }, 2548 | "@changesets/cli": { 2549 | "version": "2.24.4", 2550 | "requires": { 2551 | "@babel/runtime": "^7.10.4", 2552 | "@changesets/apply-release-plan": "^6.1.0", 2553 | "@changesets/assemble-release-plan": "^5.2.1", 2554 | "@changesets/changelog-git": "^0.1.12", 2555 | "@changesets/config": "^2.1.1", 2556 | "@changesets/errors": "^0.1.4", 2557 | "@changesets/get-dependents-graph": "^1.3.3", 2558 | "@changesets/get-release-plan": "^3.0.14", 2559 | "@changesets/git": "^1.4.1", 2560 | "@changesets/logger": "^0.0.5", 2561 | "@changesets/pre": "^1.0.12", 2562 | "@changesets/read": "^0.5.7", 2563 | "@changesets/types": "^5.1.0", 2564 | "@changesets/write": "^0.2.0", 2565 | "@manypkg/get-packages": "^1.1.3", 2566 | "@types/is-ci": "^3.0.0", 2567 | "@types/semver": "^6.0.0", 2568 | "ansi-colors": "^4.1.3", 2569 | "chalk": "^2.1.0", 2570 | "enquirer": "^2.3.0", 2571 | "external-editor": "^3.1.0", 2572 | "fs-extra": "^7.0.1", 2573 | "human-id": "^1.0.2", 2574 | "is-ci": "^3.0.1", 2575 | "meow": "^6.0.0", 2576 | "outdent": "^0.5.0", 2577 | "p-limit": "^2.2.0", 2578 | "preferred-pm": "^3.0.0", 2579 | "resolve-from": "^5.0.0", 2580 | "semver": "^5.4.1", 2581 | "spawndamnit": "^2.0.0", 2582 | "term-size": "^2.1.0", 2583 | "tty-table": "^4.1.5" 2584 | } 2585 | }, 2586 | "@changesets/config": { 2587 | "version": "2.1.1", 2588 | "requires": { 2589 | "@changesets/errors": "^0.1.4", 2590 | "@changesets/get-dependents-graph": "^1.3.3", 2591 | "@changesets/logger": "^0.0.5", 2592 | "@changesets/types": "^5.1.0", 2593 | "@manypkg/get-packages": "^1.1.3", 2594 | "fs-extra": "^7.0.1", 2595 | "micromatch": "^4.0.2" 2596 | } 2597 | }, 2598 | "@changesets/errors": { 2599 | "version": "0.1.4", 2600 | "requires": { 2601 | "extendable-error": "^0.1.5" 2602 | } 2603 | }, 2604 | "@changesets/get-dependents-graph": { 2605 | "version": "1.3.3", 2606 | "requires": { 2607 | "@changesets/types": "^5.1.0", 2608 | "@manypkg/get-packages": "^1.1.3", 2609 | "chalk": "^2.1.0", 2610 | "fs-extra": "^7.0.1", 2611 | "semver": "^5.4.1" 2612 | } 2613 | }, 2614 | "@changesets/get-release-plan": { 2615 | "version": "3.0.14", 2616 | "requires": { 2617 | "@babel/runtime": "^7.10.4", 2618 | "@changesets/assemble-release-plan": "^5.2.1", 2619 | "@changesets/config": "^2.1.1", 2620 | "@changesets/pre": "^1.0.12", 2621 | "@changesets/read": "^0.5.7", 2622 | "@changesets/types": "^5.1.0", 2623 | "@manypkg/get-packages": "^1.1.3" 2624 | } 2625 | }, 2626 | "@changesets/get-version-range-type": { 2627 | "version": "0.3.2" 2628 | }, 2629 | "@changesets/git": { 2630 | "version": "1.4.1", 2631 | "requires": { 2632 | "@babel/runtime": "^7.10.4", 2633 | "@changesets/errors": "^0.1.4", 2634 | "@changesets/types": "^5.1.0", 2635 | "@manypkg/get-packages": "^1.1.3", 2636 | "is-subdir": "^1.1.1", 2637 | "spawndamnit": "^2.0.0" 2638 | } 2639 | }, 2640 | "@changesets/logger": { 2641 | "version": "0.0.5", 2642 | "requires": { 2643 | "chalk": "^2.1.0" 2644 | } 2645 | }, 2646 | "@changesets/parse": { 2647 | "version": "0.3.14", 2648 | "requires": { 2649 | "@changesets/types": "^5.1.0", 2650 | "js-yaml": "^3.13.1" 2651 | } 2652 | }, 2653 | "@changesets/pre": { 2654 | "version": "1.0.12", 2655 | "requires": { 2656 | "@babel/runtime": "^7.10.4", 2657 | "@changesets/errors": "^0.1.4", 2658 | "@changesets/types": "^5.1.0", 2659 | "@manypkg/get-packages": "^1.1.3", 2660 | "fs-extra": "^7.0.1" 2661 | } 2662 | }, 2663 | "@changesets/read": { 2664 | "version": "0.5.7", 2665 | "requires": { 2666 | "@babel/runtime": "^7.10.4", 2667 | "@changesets/git": "^1.4.1", 2668 | "@changesets/logger": "^0.0.5", 2669 | "@changesets/parse": "^0.3.14", 2670 | "@changesets/types": "^5.1.0", 2671 | "chalk": "^2.1.0", 2672 | "fs-extra": "^7.0.1", 2673 | "p-filter": "^2.1.0" 2674 | } 2675 | }, 2676 | "@changesets/types": { 2677 | "version": "5.1.0" 2678 | }, 2679 | "@changesets/write": { 2680 | "version": "0.2.0", 2681 | "requires": { 2682 | "@babel/runtime": "^7.10.4", 2683 | "@changesets/types": "^5.1.0", 2684 | "fs-extra": "^7.0.1", 2685 | "human-id": "^1.0.2", 2686 | "prettier": "^2.7.1" 2687 | } 2688 | }, 2689 | "@manypkg/find-root": { 2690 | "version": "1.1.0", 2691 | "requires": { 2692 | "@babel/runtime": "^7.5.5", 2693 | "@types/node": "^12.7.1", 2694 | "find-up": "^4.1.0", 2695 | "fs-extra": "^8.1.0" 2696 | }, 2697 | "dependencies": { 2698 | "fs-extra": { 2699 | "version": "8.1.0", 2700 | "requires": { 2701 | "graceful-fs": "^4.2.0", 2702 | "jsonfile": "^4.0.0", 2703 | "universalify": "^0.1.0" 2704 | } 2705 | } 2706 | } 2707 | }, 2708 | "@manypkg/get-packages": { 2709 | "version": "1.1.3", 2710 | "requires": { 2711 | "@babel/runtime": "^7.5.5", 2712 | "@changesets/types": "^4.0.1", 2713 | "@manypkg/find-root": "^1.1.0", 2714 | "fs-extra": "^8.1.0", 2715 | "globby": "^11.0.0", 2716 | "read-yaml-file": "^1.1.0" 2717 | }, 2718 | "dependencies": { 2719 | "@changesets/types": { 2720 | "version": "4.1.0" 2721 | }, 2722 | "fs-extra": { 2723 | "version": "8.1.0", 2724 | "requires": { 2725 | "graceful-fs": "^4.2.0", 2726 | "jsonfile": "^4.0.0", 2727 | "universalify": "^0.1.0" 2728 | } 2729 | } 2730 | } 2731 | }, 2732 | "@nodelib/fs.scandir": { 2733 | "version": "2.1.5", 2734 | "requires": { 2735 | "@nodelib/fs.stat": "2.0.5", 2736 | "run-parallel": "^1.1.9" 2737 | } 2738 | }, 2739 | "@nodelib/fs.stat": { 2740 | "version": "2.0.5" 2741 | }, 2742 | "@nodelib/fs.walk": { 2743 | "version": "1.2.8", 2744 | "requires": { 2745 | "@nodelib/fs.scandir": "2.1.5", 2746 | "fastq": "^1.6.0" 2747 | } 2748 | }, 2749 | "@toastdotdev/lib": { 2750 | "version": "0.0.1", 2751 | "requires": { 2752 | "@toastdotdev/lib-darwin-arm64": "0.0.1", 2753 | "@toastdotdev/lib-darwin-x64": "0.0.1", 2754 | "@toastdotdev/lib-linux-x64-gnu": "0.0.1", 2755 | "@toastdotdev/lib-win32-x64-msvc": "0.0.1" 2756 | } 2757 | }, 2758 | "@toastdotdev/lib-darwin-arm64": { 2759 | "version": "0.0.1", 2760 | "optional": true 2761 | }, 2762 | "@types/color-name": { 2763 | "version": "1.1.1" 2764 | }, 2765 | "@types/is-ci": { 2766 | "version": "3.0.0", 2767 | "requires": { 2768 | "ci-info": "^3.1.0" 2769 | } 2770 | }, 2771 | "@types/minimist": { 2772 | "version": "1.2.2" 2773 | }, 2774 | "@types/node": { 2775 | "version": "12.20.55" 2776 | }, 2777 | "@types/normalize-package-data": { 2778 | "version": "2.4.1" 2779 | }, 2780 | "@types/semver": { 2781 | "version": "6.2.3" 2782 | }, 2783 | "ansi-colors": { 2784 | "version": "4.1.3" 2785 | }, 2786 | "ansi-regex": { 2787 | "version": "5.0.1" 2788 | }, 2789 | "ansi-styles": { 2790 | "version": "3.2.1", 2791 | "requires": { 2792 | "color-convert": "^1.9.0" 2793 | } 2794 | }, 2795 | "argparse": { 2796 | "version": "1.0.10", 2797 | "requires": { 2798 | "sprintf-js": "~1.0.2" 2799 | } 2800 | }, 2801 | "array-union": { 2802 | "version": "2.1.0" 2803 | }, 2804 | "array.prototype.flat": { 2805 | "version": "1.3.0", 2806 | "requires": { 2807 | "call-bind": "^1.0.2", 2808 | "define-properties": "^1.1.3", 2809 | "es-abstract": "^1.19.2", 2810 | "es-shim-unscopables": "^1.0.0" 2811 | } 2812 | }, 2813 | "arrify": { 2814 | "version": "1.0.1" 2815 | }, 2816 | "better-path-resolve": { 2817 | "version": "1.0.0", 2818 | "requires": { 2819 | "is-windows": "^1.0.0" 2820 | } 2821 | }, 2822 | "braces": { 2823 | "version": "3.0.2", 2824 | "requires": { 2825 | "fill-range": "^7.0.1" 2826 | } 2827 | }, 2828 | "breakword": { 2829 | "version": "1.0.5", 2830 | "requires": { 2831 | "wcwidth": "^1.0.1" 2832 | } 2833 | }, 2834 | "cac": { 2835 | "version": "6.7.12" 2836 | }, 2837 | "call-bind": { 2838 | "version": "1.0.2", 2839 | "requires": { 2840 | "function-bind": "^1.1.1", 2841 | "get-intrinsic": "^1.0.2" 2842 | } 2843 | }, 2844 | "camelcase": { 2845 | "version": "5.3.1" 2846 | }, 2847 | "camelcase-keys": { 2848 | "version": "6.2.2", 2849 | "requires": { 2850 | "camelcase": "^5.3.1", 2851 | "map-obj": "^4.0.0", 2852 | "quick-lru": "^4.0.1" 2853 | } 2854 | }, 2855 | "chalk": { 2856 | "version": "2.4.2", 2857 | "requires": { 2858 | "ansi-styles": "^3.2.1", 2859 | "escape-string-regexp": "^1.0.5", 2860 | "supports-color": "^5.3.0" 2861 | } 2862 | }, 2863 | "chardet": { 2864 | "version": "0.7.0" 2865 | }, 2866 | "ci-info": { 2867 | "version": "3.3.2" 2868 | }, 2869 | "cliui": { 2870 | "version": "7.0.4", 2871 | "requires": { 2872 | "string-width": "^4.2.0", 2873 | "strip-ansi": "^6.0.0", 2874 | "wrap-ansi": "^7.0.0" 2875 | } 2876 | }, 2877 | "clone": { 2878 | "version": "1.0.4" 2879 | }, 2880 | "color-convert": { 2881 | "version": "1.9.3", 2882 | "requires": { 2883 | "color-name": "1.1.3" 2884 | } 2885 | }, 2886 | "color-name": { 2887 | "version": "1.1.3" 2888 | }, 2889 | "csv": { 2890 | "version": "5.5.3", 2891 | "requires": { 2892 | "csv-generate": "^3.4.3", 2893 | "csv-parse": "^4.16.3", 2894 | "csv-stringify": "^5.6.5", 2895 | "stream-transform": "^2.1.3" 2896 | } 2897 | }, 2898 | "csv-generate": { 2899 | "version": "3.4.3" 2900 | }, 2901 | "csv-parse": { 2902 | "version": "4.16.3" 2903 | }, 2904 | "csv-stringify": { 2905 | "version": "5.6.5" 2906 | }, 2907 | "decamelize": { 2908 | "version": "1.2.0" 2909 | }, 2910 | "decamelize-keys": { 2911 | "version": "1.1.0", 2912 | "requires": { 2913 | "decamelize": "^1.1.0", 2914 | "map-obj": "^1.0.0" 2915 | }, 2916 | "dependencies": { 2917 | "map-obj": { 2918 | "version": "1.0.1" 2919 | } 2920 | } 2921 | }, 2922 | "defaults": { 2923 | "version": "1.0.3", 2924 | "requires": { 2925 | "clone": "^1.0.2" 2926 | } 2927 | }, 2928 | "define-properties": { 2929 | "version": "1.1.4", 2930 | "requires": { 2931 | "has-property-descriptors": "^1.0.0", 2932 | "object-keys": "^1.1.1" 2933 | } 2934 | }, 2935 | "detect-indent": { 2936 | "version": "6.1.0" 2937 | }, 2938 | "dir-glob": { 2939 | "version": "3.0.1", 2940 | "requires": { 2941 | "path-type": "^4.0.0" 2942 | } 2943 | }, 2944 | "emoji-regex": { 2945 | "version": "8.0.0" 2946 | }, 2947 | "enquirer": { 2948 | "version": "2.3.6", 2949 | "requires": { 2950 | "ansi-colors": "^4.1.1" 2951 | } 2952 | }, 2953 | "error-ex": { 2954 | "version": "1.3.2", 2955 | "requires": { 2956 | "is-arrayish": "^0.2.1" 2957 | } 2958 | }, 2959 | "es-abstract": { 2960 | "version": "1.20.2", 2961 | "requires": { 2962 | "call-bind": "^1.0.2", 2963 | "es-to-primitive": "^1.2.1", 2964 | "function-bind": "^1.1.1", 2965 | "function.prototype.name": "^1.1.5", 2966 | "get-intrinsic": "^1.1.2", 2967 | "get-symbol-description": "^1.0.0", 2968 | "has": "^1.0.3", 2969 | "has-property-descriptors": "^1.0.0", 2970 | "has-symbols": "^1.0.3", 2971 | "internal-slot": "^1.0.3", 2972 | "is-callable": "^1.2.4", 2973 | "is-negative-zero": "^2.0.2", 2974 | "is-regex": "^1.1.4", 2975 | "is-shared-array-buffer": "^1.0.2", 2976 | "is-string": "^1.0.7", 2977 | "is-weakref": "^1.0.2", 2978 | "object-inspect": "^1.12.2", 2979 | "object-keys": "^1.1.1", 2980 | "object.assign": "^4.1.4", 2981 | "regexp.prototype.flags": "^1.4.3", 2982 | "string.prototype.trimend": "^1.0.5", 2983 | "string.prototype.trimstart": "^1.0.5", 2984 | "unbox-primitive": "^1.0.2" 2985 | } 2986 | }, 2987 | "es-shim-unscopables": { 2988 | "version": "1.0.0", 2989 | "requires": { 2990 | "has": "^1.0.3" 2991 | } 2992 | }, 2993 | "es-to-primitive": { 2994 | "version": "1.2.1", 2995 | "requires": { 2996 | "is-callable": "^1.1.4", 2997 | "is-date-object": "^1.0.1", 2998 | "is-symbol": "^1.0.2" 2999 | } 3000 | }, 3001 | "escalade": { 3002 | "version": "3.1.1" 3003 | }, 3004 | "escape-string-regexp": { 3005 | "version": "1.0.5" 3006 | }, 3007 | "esprima": { 3008 | "version": "4.0.1" 3009 | }, 3010 | "extendable-error": { 3011 | "version": "0.1.7" 3012 | }, 3013 | "external-editor": { 3014 | "version": "3.1.0", 3015 | "requires": { 3016 | "chardet": "^0.7.0", 3017 | "iconv-lite": "^0.4.24", 3018 | "tmp": "^0.0.33" 3019 | } 3020 | }, 3021 | "fast-glob": { 3022 | "version": "3.2.11", 3023 | "requires": { 3024 | "@nodelib/fs.stat": "^2.0.2", 3025 | "@nodelib/fs.walk": "^1.2.3", 3026 | "glob-parent": "^5.1.2", 3027 | "merge2": "^1.3.0", 3028 | "micromatch": "^4.0.4" 3029 | } 3030 | }, 3031 | "fastq": { 3032 | "version": "1.13.0", 3033 | "requires": { 3034 | "reusify": "^1.0.4" 3035 | } 3036 | }, 3037 | "fill-range": { 3038 | "version": "7.0.1", 3039 | "requires": { 3040 | "to-regex-range": "^5.0.1" 3041 | } 3042 | }, 3043 | "find-up": { 3044 | "version": "4.1.0", 3045 | "requires": { 3046 | "locate-path": "^5.0.0", 3047 | "path-exists": "^4.0.0" 3048 | } 3049 | }, 3050 | "find-yarn-workspace-root2": { 3051 | "version": "1.2.16", 3052 | "requires": { 3053 | "micromatch": "^4.0.2", 3054 | "pkg-dir": "^4.2.0" 3055 | } 3056 | }, 3057 | "fs-extra": { 3058 | "version": "7.0.1", 3059 | "requires": { 3060 | "graceful-fs": "^4.1.2", 3061 | "jsonfile": "^4.0.0", 3062 | "universalify": "^0.1.0" 3063 | } 3064 | }, 3065 | "function-bind": { 3066 | "version": "1.1.1" 3067 | }, 3068 | "function.prototype.name": { 3069 | "version": "1.1.5", 3070 | "requires": { 3071 | "call-bind": "^1.0.2", 3072 | "define-properties": "^1.1.3", 3073 | "es-abstract": "^1.19.0", 3074 | "functions-have-names": "^1.2.2" 3075 | } 3076 | }, 3077 | "functions-have-names": { 3078 | "version": "1.2.3" 3079 | }, 3080 | "get-caller-file": { 3081 | "version": "2.0.5" 3082 | }, 3083 | "get-intrinsic": { 3084 | "version": "1.1.2", 3085 | "requires": { 3086 | "function-bind": "^1.1.1", 3087 | "has": "^1.0.3", 3088 | "has-symbols": "^1.0.3" 3089 | } 3090 | }, 3091 | "get-symbol-description": { 3092 | "version": "1.0.0", 3093 | "requires": { 3094 | "call-bind": "^1.0.2", 3095 | "get-intrinsic": "^1.1.1" 3096 | } 3097 | }, 3098 | "glob-parent": { 3099 | "version": "5.1.2", 3100 | "requires": { 3101 | "is-glob": "^4.0.1" 3102 | } 3103 | }, 3104 | "globby": { 3105 | "version": "11.1.0", 3106 | "requires": { 3107 | "array-union": "^2.1.0", 3108 | "dir-glob": "^3.0.1", 3109 | "fast-glob": "^3.2.9", 3110 | "ignore": "^5.2.0", 3111 | "merge2": "^1.4.1", 3112 | "slash": "^3.0.0" 3113 | } 3114 | }, 3115 | "graceful-fs": { 3116 | "version": "4.2.4" 3117 | }, 3118 | "grapheme-splitter": { 3119 | "version": "1.0.4" 3120 | }, 3121 | "hard-rejection": { 3122 | "version": "2.1.0" 3123 | }, 3124 | "has": { 3125 | "version": "1.0.3", 3126 | "requires": { 3127 | "function-bind": "^1.1.1" 3128 | } 3129 | }, 3130 | "has-bigints": { 3131 | "version": "1.0.2" 3132 | }, 3133 | "has-flag": { 3134 | "version": "3.0.0" 3135 | }, 3136 | "has-property-descriptors": { 3137 | "version": "1.0.0", 3138 | "requires": { 3139 | "get-intrinsic": "^1.1.1" 3140 | } 3141 | }, 3142 | "has-symbols": { 3143 | "version": "1.0.3" 3144 | }, 3145 | "has-tostringtag": { 3146 | "version": "1.0.0", 3147 | "requires": { 3148 | "has-symbols": "^1.0.2" 3149 | } 3150 | }, 3151 | "hosted-git-info": { 3152 | "version": "2.8.9" 3153 | }, 3154 | "human-id": { 3155 | "version": "1.0.2" 3156 | }, 3157 | "iconv-lite": { 3158 | "version": "0.4.24", 3159 | "requires": { 3160 | "safer-buffer": ">= 2.1.2 < 3" 3161 | } 3162 | }, 3163 | "ignore": { 3164 | "version": "5.2.0" 3165 | }, 3166 | "indent-string": { 3167 | "version": "4.0.0" 3168 | }, 3169 | "internal-slot": { 3170 | "version": "1.0.3", 3171 | "requires": { 3172 | "get-intrinsic": "^1.1.0", 3173 | "has": "^1.0.3", 3174 | "side-channel": "^1.0.4" 3175 | } 3176 | }, 3177 | "is-arrayish": { 3178 | "version": "0.2.1" 3179 | }, 3180 | "is-bigint": { 3181 | "version": "1.0.4", 3182 | "requires": { 3183 | "has-bigints": "^1.0.1" 3184 | } 3185 | }, 3186 | "is-boolean-object": { 3187 | "version": "1.1.2", 3188 | "requires": { 3189 | "call-bind": "^1.0.2", 3190 | "has-tostringtag": "^1.0.0" 3191 | } 3192 | }, 3193 | "is-callable": { 3194 | "version": "1.2.4" 3195 | }, 3196 | "is-ci": { 3197 | "version": "3.0.1", 3198 | "requires": { 3199 | "ci-info": "^3.2.0" 3200 | } 3201 | }, 3202 | "is-core-module": { 3203 | "version": "2.10.0", 3204 | "requires": { 3205 | "has": "^1.0.3" 3206 | } 3207 | }, 3208 | "is-date-object": { 3209 | "version": "1.0.2" 3210 | }, 3211 | "is-extglob": { 3212 | "version": "2.1.1" 3213 | }, 3214 | "is-fullwidth-code-point": { 3215 | "version": "3.0.0" 3216 | }, 3217 | "is-glob": { 3218 | "version": "4.0.3", 3219 | "requires": { 3220 | "is-extglob": "^2.1.1" 3221 | } 3222 | }, 3223 | "is-negative-zero": { 3224 | "version": "2.0.2" 3225 | }, 3226 | "is-number": { 3227 | "version": "7.0.0" 3228 | }, 3229 | "is-number-object": { 3230 | "version": "1.0.7", 3231 | "requires": { 3232 | "has-tostringtag": "^1.0.0" 3233 | } 3234 | }, 3235 | "is-plain-obj": { 3236 | "version": "1.1.0" 3237 | }, 3238 | "is-regex": { 3239 | "version": "1.1.4", 3240 | "requires": { 3241 | "call-bind": "^1.0.2", 3242 | "has-tostringtag": "^1.0.0" 3243 | } 3244 | }, 3245 | "is-shared-array-buffer": { 3246 | "version": "1.0.2", 3247 | "requires": { 3248 | "call-bind": "^1.0.2" 3249 | } 3250 | }, 3251 | "is-string": { 3252 | "version": "1.0.7", 3253 | "requires": { 3254 | "has-tostringtag": "^1.0.0" 3255 | } 3256 | }, 3257 | "is-subdir": { 3258 | "version": "1.2.0", 3259 | "requires": { 3260 | "better-path-resolve": "1.0.0" 3261 | } 3262 | }, 3263 | "is-symbol": { 3264 | "version": "1.0.3", 3265 | "requires": { 3266 | "has-symbols": "^1.0.1" 3267 | } 3268 | }, 3269 | "is-weakref": { 3270 | "version": "1.0.2", 3271 | "requires": { 3272 | "call-bind": "^1.0.2" 3273 | } 3274 | }, 3275 | "is-windows": { 3276 | "version": "1.0.2" 3277 | }, 3278 | "isexe": { 3279 | "version": "2.0.0" 3280 | }, 3281 | "js-tokens": { 3282 | "version": "4.0.0" 3283 | }, 3284 | "js-yaml": { 3285 | "version": "3.14.0", 3286 | "requires": { 3287 | "argparse": "^1.0.7", 3288 | "esprima": "^4.0.0" 3289 | } 3290 | }, 3291 | "json-parse-even-better-errors": { 3292 | "version": "2.3.0" 3293 | }, 3294 | "jsonfile": { 3295 | "version": "4.0.0", 3296 | "requires": { 3297 | "graceful-fs": "^4.1.6" 3298 | } 3299 | }, 3300 | "kind-of": { 3301 | "version": "6.0.3" 3302 | }, 3303 | "kleur": { 3304 | "version": "4.1.5" 3305 | }, 3306 | "lines-and-columns": { 3307 | "version": "1.1.6" 3308 | }, 3309 | "load-yaml-file": { 3310 | "version": "0.2.0", 3311 | "requires": { 3312 | "graceful-fs": "^4.1.5", 3313 | "js-yaml": "^3.13.0", 3314 | "pify": "^4.0.1", 3315 | "strip-bom": "^3.0.0" 3316 | } 3317 | }, 3318 | "locate-path": { 3319 | "version": "5.0.0", 3320 | "requires": { 3321 | "p-locate": "^4.1.0" 3322 | } 3323 | }, 3324 | "lodash.startcase": { 3325 | "version": "4.4.0" 3326 | }, 3327 | "loose-envify": { 3328 | "version": "1.4.0", 3329 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", 3330 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", 3331 | "requires": { 3332 | "js-tokens": "^3.0.0 || ^4.0.0" 3333 | } 3334 | }, 3335 | "lru-cache": { 3336 | "version": "4.1.5", 3337 | "requires": { 3338 | "pseudomap": "^1.0.2", 3339 | "yallist": "^2.1.2" 3340 | } 3341 | }, 3342 | "map-obj": { 3343 | "version": "4.3.0" 3344 | }, 3345 | "meow": { 3346 | "version": "6.1.1", 3347 | "requires": { 3348 | "@types/minimist": "^1.2.0", 3349 | "camelcase-keys": "^6.2.2", 3350 | "decamelize-keys": "^1.1.0", 3351 | "hard-rejection": "^2.1.0", 3352 | "minimist-options": "^4.0.2", 3353 | "normalize-package-data": "^2.5.0", 3354 | "read-pkg-up": "^7.0.1", 3355 | "redent": "^3.0.0", 3356 | "trim-newlines": "^3.0.0", 3357 | "type-fest": "^0.13.1", 3358 | "yargs-parser": "^18.1.3" 3359 | } 3360 | }, 3361 | "merge2": { 3362 | "version": "1.4.1" 3363 | }, 3364 | "micromatch": { 3365 | "version": "4.0.5", 3366 | "requires": { 3367 | "braces": "^3.0.2", 3368 | "picomatch": "^2.3.1" 3369 | } 3370 | }, 3371 | "min-indent": { 3372 | "version": "1.0.1" 3373 | }, 3374 | "minimist-options": { 3375 | "version": "4.1.0", 3376 | "requires": { 3377 | "arrify": "^1.0.1", 3378 | "is-plain-obj": "^1.1.0", 3379 | "kind-of": "^6.0.3" 3380 | } 3381 | }, 3382 | "mixme": { 3383 | "version": "0.5.4" 3384 | }, 3385 | "module-alias": { 3386 | "version": "2.2.2" 3387 | }, 3388 | "normalize-package-data": { 3389 | "version": "2.5.0", 3390 | "requires": { 3391 | "hosted-git-info": "^2.1.4", 3392 | "resolve": "^1.10.0", 3393 | "semver": "2 || 3 || 4 || 5", 3394 | "validate-npm-package-license": "^3.0.1" 3395 | } 3396 | }, 3397 | "object-assign": { 3398 | "version": "4.1.1", 3399 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 3400 | "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" 3401 | }, 3402 | "object-inspect": { 3403 | "version": "1.12.2" 3404 | }, 3405 | "object-keys": { 3406 | "version": "1.1.1" 3407 | }, 3408 | "object.assign": { 3409 | "version": "4.1.4", 3410 | "requires": { 3411 | "call-bind": "^1.0.2", 3412 | "define-properties": "^1.1.4", 3413 | "has-symbols": "^1.0.3", 3414 | "object-keys": "^1.1.1" 3415 | } 3416 | }, 3417 | "os-tmpdir": { 3418 | "version": "1.0.2" 3419 | }, 3420 | "outdent": { 3421 | "version": "0.5.0" 3422 | }, 3423 | "p-filter": { 3424 | "version": "2.1.0", 3425 | "requires": { 3426 | "p-map": "^2.0.0" 3427 | } 3428 | }, 3429 | "p-limit": { 3430 | "version": "2.3.0", 3431 | "requires": { 3432 | "p-try": "^2.0.0" 3433 | } 3434 | }, 3435 | "p-locate": { 3436 | "version": "4.1.0", 3437 | "requires": { 3438 | "p-limit": "^2.2.0" 3439 | } 3440 | }, 3441 | "p-map": { 3442 | "version": "2.1.0" 3443 | }, 3444 | "p-try": { 3445 | "version": "2.2.0" 3446 | }, 3447 | "parse-json": { 3448 | "version": "5.1.0", 3449 | "requires": { 3450 | "@babel/code-frame": "^7.0.0", 3451 | "error-ex": "^1.3.1", 3452 | "json-parse-even-better-errors": "^2.3.0", 3453 | "lines-and-columns": "^1.1.6" 3454 | } 3455 | }, 3456 | "path-exists": { 3457 | "version": "4.0.0" 3458 | }, 3459 | "path-parse": { 3460 | "version": "1.0.7" 3461 | }, 3462 | "path-type": { 3463 | "version": "4.0.0" 3464 | }, 3465 | "picomatch": { 3466 | "version": "2.3.1" 3467 | }, 3468 | "pify": { 3469 | "version": "4.0.1" 3470 | }, 3471 | "pkg-dir": { 3472 | "version": "4.2.0", 3473 | "requires": { 3474 | "find-up": "^4.0.0" 3475 | } 3476 | }, 3477 | "preact": { 3478 | "version": "10.10.6", 3479 | "resolved": "https://registry.npmjs.org/preact/-/preact-10.10.6.tgz", 3480 | "integrity": "sha512-w0mCL5vICUAZrh1DuHEdOWBjxdO62lvcO++jbzr8UhhYcTbFkpegLH9XX+7MadjTl/y0feoqwQ/zAnzkc/EGog==" 3481 | }, 3482 | "preact-render-to-string": { 3483 | "version": "5.2.2", 3484 | "resolved": "https://registry.npmjs.org/preact-render-to-string/-/preact-render-to-string-5.2.2.tgz", 3485 | "integrity": "sha512-ZBPfzWmHjasQIzysj72VYJ6oa2bphpxNvzLRdRj/XGFKyeTBJIDmoiKJlBGfxzU4TYL2CjpAWmcFIXcV+HQEBg==", 3486 | "requires": { 3487 | "pretty-format": "^3.8.0" 3488 | } 3489 | }, 3490 | "preferred-pm": { 3491 | "version": "3.0.3", 3492 | "requires": { 3493 | "find-up": "^5.0.0", 3494 | "find-yarn-workspace-root2": "1.2.16", 3495 | "path-exists": "^4.0.0", 3496 | "which-pm": "2.0.0" 3497 | }, 3498 | "dependencies": { 3499 | "find-up": { 3500 | "version": "5.0.0", 3501 | "requires": { 3502 | "locate-path": "^6.0.0", 3503 | "path-exists": "^4.0.0" 3504 | } 3505 | }, 3506 | "locate-path": { 3507 | "version": "6.0.0", 3508 | "requires": { 3509 | "p-locate": "^5.0.0" 3510 | } 3511 | }, 3512 | "p-limit": { 3513 | "version": "3.1.0", 3514 | "requires": { 3515 | "yocto-queue": "^0.1.0" 3516 | } 3517 | }, 3518 | "p-locate": { 3519 | "version": "5.0.0", 3520 | "requires": { 3521 | "p-limit": "^3.0.2" 3522 | } 3523 | } 3524 | } 3525 | }, 3526 | "prettier": { 3527 | "version": "2.7.1" 3528 | }, 3529 | "pretty-format": { 3530 | "version": "3.8.0", 3531 | "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-3.8.0.tgz", 3532 | "integrity": "sha512-WuxUnVtlWL1OfZFQFuqvnvs6MiAGk9UNsBostyBOB0Is9wb5uRESevA6rnl/rkksXaGX3GzZhPup5d6Vp1nFew==" 3533 | }, 3534 | "prop-types": { 3535 | "version": "15.8.1", 3536 | "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", 3537 | "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", 3538 | "requires": { 3539 | "loose-envify": "^1.4.0", 3540 | "object-assign": "^4.1.1", 3541 | "react-is": "^16.13.1" 3542 | } 3543 | }, 3544 | "pseudomap": { 3545 | "version": "1.0.2" 3546 | }, 3547 | "queue-microtask": { 3548 | "version": "1.2.3" 3549 | }, 3550 | "quick-lru": { 3551 | "version": "4.0.1" 3552 | }, 3553 | "react": { 3554 | "version": "18.2.0", 3555 | "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", 3556 | "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", 3557 | "peer": true, 3558 | "requires": { 3559 | "loose-envify": "^1.1.0" 3560 | } 3561 | }, 3562 | "react-fast-compare": { 3563 | "version": "3.2.0", 3564 | "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz", 3565 | "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==" 3566 | }, 3567 | "react-helmet": { 3568 | "version": "6.1.0", 3569 | "resolved": "https://registry.npmjs.org/react-helmet/-/react-helmet-6.1.0.tgz", 3570 | "integrity": "sha512-4uMzEY9nlDlgxr61NL3XbKRy1hEkXmKNXhjbAIOVw5vcFrsdYbH2FEwcNyWvWinl103nXgzYNlns9ca+8kFiWw==", 3571 | "requires": { 3572 | "object-assign": "^4.1.1", 3573 | "prop-types": "^15.7.2", 3574 | "react-fast-compare": "^3.1.1", 3575 | "react-side-effect": "^2.1.0" 3576 | } 3577 | }, 3578 | "react-is": { 3579 | "version": "16.13.1", 3580 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", 3581 | "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" 3582 | }, 3583 | "react-side-effect": { 3584 | "version": "2.1.2", 3585 | "resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.2.tgz", 3586 | "integrity": "sha512-PVjOcvVOyIILrYoyGEpDN3vmYNLdy1CajSFNt4TDsVQC5KpTijDvWVoR+/7Rz2xT978D8/ZtFceXxzsPwZEDvw==", 3587 | "requires": {} 3588 | }, 3589 | "read-pkg": { 3590 | "version": "5.2.0", 3591 | "requires": { 3592 | "@types/normalize-package-data": "^2.4.0", 3593 | "normalize-package-data": "^2.5.0", 3594 | "parse-json": "^5.0.0", 3595 | "type-fest": "^0.6.0" 3596 | }, 3597 | "dependencies": { 3598 | "type-fest": { 3599 | "version": "0.6.0" 3600 | } 3601 | } 3602 | }, 3603 | "read-pkg-up": { 3604 | "version": "7.0.1", 3605 | "requires": { 3606 | "find-up": "^4.1.0", 3607 | "read-pkg": "^5.2.0", 3608 | "type-fest": "^0.8.1" 3609 | }, 3610 | "dependencies": { 3611 | "type-fest": { 3612 | "version": "0.8.1" 3613 | } 3614 | } 3615 | }, 3616 | "read-yaml-file": { 3617 | "version": "1.1.0", 3618 | "requires": { 3619 | "graceful-fs": "^4.1.5", 3620 | "js-yaml": "^3.6.1", 3621 | "pify": "^4.0.1", 3622 | "strip-bom": "^3.0.0" 3623 | } 3624 | }, 3625 | "redent": { 3626 | "version": "3.0.0", 3627 | "requires": { 3628 | "indent-string": "^4.0.0", 3629 | "strip-indent": "^3.0.0" 3630 | } 3631 | }, 3632 | "regenerator-runtime": { 3633 | "version": "0.13.7" 3634 | }, 3635 | "regexp.prototype.flags": { 3636 | "version": "1.4.3", 3637 | "requires": { 3638 | "call-bind": "^1.0.2", 3639 | "define-properties": "^1.1.3", 3640 | "functions-have-names": "^1.2.2" 3641 | } 3642 | }, 3643 | "require-directory": { 3644 | "version": "2.1.1" 3645 | }, 3646 | "require-main-filename": { 3647 | "version": "2.0.0" 3648 | }, 3649 | "resolve": { 3650 | "version": "1.22.1", 3651 | "requires": { 3652 | "is-core-module": "^2.9.0", 3653 | "path-parse": "^1.0.7", 3654 | "supports-preserve-symlinks-flag": "^1.0.0" 3655 | } 3656 | }, 3657 | "resolve-from": { 3658 | "version": "5.0.0" 3659 | }, 3660 | "reusify": { 3661 | "version": "1.0.4" 3662 | }, 3663 | "run-parallel": { 3664 | "version": "1.2.0", 3665 | "requires": { 3666 | "queue-microtask": "^1.2.2" 3667 | } 3668 | }, 3669 | "safer-buffer": { 3670 | "version": "2.1.2" 3671 | }, 3672 | "semver": { 3673 | "version": "5.7.1" 3674 | }, 3675 | "set-blocking": { 3676 | "version": "2.0.0" 3677 | }, 3678 | "shebang-command": { 3679 | "version": "1.2.0", 3680 | "requires": { 3681 | "shebang-regex": "^1.0.0" 3682 | } 3683 | }, 3684 | "shebang-regex": { 3685 | "version": "1.0.0" 3686 | }, 3687 | "side-channel": { 3688 | "version": "1.0.4", 3689 | "requires": { 3690 | "call-bind": "^1.0.0", 3691 | "get-intrinsic": "^1.0.2", 3692 | "object-inspect": "^1.9.0" 3693 | } 3694 | }, 3695 | "signal-exit": { 3696 | "version": "3.0.3" 3697 | }, 3698 | "slash": { 3699 | "version": "3.0.0" 3700 | }, 3701 | "smartwrap": { 3702 | "version": "2.0.2", 3703 | "requires": { 3704 | "array.prototype.flat": "^1.2.3", 3705 | "breakword": "^1.0.5", 3706 | "grapheme-splitter": "^1.0.4", 3707 | "strip-ansi": "^6.0.0", 3708 | "wcwidth": "^1.0.1", 3709 | "yargs": "^15.1.0" 3710 | }, 3711 | "dependencies": { 3712 | "ansi-styles": { 3713 | "version": "4.3.0", 3714 | "requires": { 3715 | "color-convert": "^2.0.1" 3716 | } 3717 | }, 3718 | "cliui": { 3719 | "version": "6.0.0", 3720 | "requires": { 3721 | "string-width": "^4.2.0", 3722 | "strip-ansi": "^6.0.0", 3723 | "wrap-ansi": "^6.2.0" 3724 | } 3725 | }, 3726 | "color-convert": { 3727 | "version": "2.0.1", 3728 | "requires": { 3729 | "color-name": "~1.1.4" 3730 | } 3731 | }, 3732 | "color-name": { 3733 | "version": "1.1.4" 3734 | }, 3735 | "wrap-ansi": { 3736 | "version": "6.2.0", 3737 | "requires": { 3738 | "ansi-styles": "^4.0.0", 3739 | "string-width": "^4.1.0", 3740 | "strip-ansi": "^6.0.0" 3741 | } 3742 | }, 3743 | "y18n": { 3744 | "version": "4.0.3" 3745 | }, 3746 | "yargs": { 3747 | "version": "15.4.1", 3748 | "requires": { 3749 | "cliui": "^6.0.0", 3750 | "decamelize": "^1.2.0", 3751 | "find-up": "^4.1.0", 3752 | "get-caller-file": "^2.0.1", 3753 | "require-directory": "^2.1.1", 3754 | "require-main-filename": "^2.0.0", 3755 | "set-blocking": "^2.0.0", 3756 | "string-width": "^4.2.0", 3757 | "which-module": "^2.0.0", 3758 | "y18n": "^4.0.0", 3759 | "yargs-parser": "^18.1.2" 3760 | } 3761 | } 3762 | } 3763 | }, 3764 | "spawndamnit": { 3765 | "version": "2.0.0", 3766 | "requires": { 3767 | "cross-spawn": "^5.1.0", 3768 | "signal-exit": "^3.0.2" 3769 | }, 3770 | "dependencies": { 3771 | "cross-spawn": { 3772 | "version": "5.1.0", 3773 | "requires": { 3774 | "lru-cache": "^4.0.1", 3775 | "shebang-command": "^1.2.0", 3776 | "which": "^1.2.9" 3777 | } 3778 | } 3779 | } 3780 | }, 3781 | "spdx-correct": { 3782 | "version": "3.1.1", 3783 | "requires": { 3784 | "spdx-expression-parse": "^3.0.0", 3785 | "spdx-license-ids": "^3.0.0" 3786 | } 3787 | }, 3788 | "spdx-exceptions": { 3789 | "version": "2.3.0" 3790 | }, 3791 | "spdx-expression-parse": { 3792 | "version": "3.0.1", 3793 | "requires": { 3794 | "spdx-exceptions": "^2.1.0", 3795 | "spdx-license-ids": "^3.0.0" 3796 | } 3797 | }, 3798 | "spdx-license-ids": { 3799 | "version": "3.0.12" 3800 | }, 3801 | "sprintf-js": { 3802 | "version": "1.0.3" 3803 | }, 3804 | "stream-transform": { 3805 | "version": "2.1.3", 3806 | "requires": { 3807 | "mixme": "^0.5.1" 3808 | } 3809 | }, 3810 | "string-width": { 3811 | "version": "4.2.3", 3812 | "requires": { 3813 | "emoji-regex": "^8.0.0", 3814 | "is-fullwidth-code-point": "^3.0.0", 3815 | "strip-ansi": "^6.0.1" 3816 | } 3817 | }, 3818 | "string.prototype.trimend": { 3819 | "version": "1.0.5", 3820 | "requires": { 3821 | "call-bind": "^1.0.2", 3822 | "define-properties": "^1.1.4", 3823 | "es-abstract": "^1.19.5" 3824 | } 3825 | }, 3826 | "string.prototype.trimstart": { 3827 | "version": "1.0.5", 3828 | "requires": { 3829 | "call-bind": "^1.0.2", 3830 | "define-properties": "^1.1.4", 3831 | "es-abstract": "^1.19.5" 3832 | } 3833 | }, 3834 | "strip-ansi": { 3835 | "version": "6.0.1", 3836 | "requires": { 3837 | "ansi-regex": "^5.0.1" 3838 | } 3839 | }, 3840 | "strip-bom": { 3841 | "version": "3.0.0" 3842 | }, 3843 | "strip-indent": { 3844 | "version": "3.0.0", 3845 | "requires": { 3846 | "min-indent": "^1.0.0" 3847 | } 3848 | }, 3849 | "supports-color": { 3850 | "version": "5.5.0", 3851 | "requires": { 3852 | "has-flag": "^3.0.0" 3853 | } 3854 | }, 3855 | "supports-preserve-symlinks-flag": { 3856 | "version": "1.0.0" 3857 | }, 3858 | "term-size": { 3859 | "version": "2.2.1" 3860 | }, 3861 | "tmp": { 3862 | "version": "0.0.33", 3863 | "requires": { 3864 | "os-tmpdir": "~1.0.2" 3865 | } 3866 | }, 3867 | "to-regex-range": { 3868 | "version": "5.0.1", 3869 | "requires": { 3870 | "is-number": "^7.0.0" 3871 | } 3872 | }, 3873 | "trim-newlines": { 3874 | "version": "3.0.1" 3875 | }, 3876 | "tty-table": { 3877 | "version": "4.1.6", 3878 | "requires": { 3879 | "chalk": "^4.1.2", 3880 | "csv": "^5.5.0", 3881 | "kleur": "^4.1.4", 3882 | "smartwrap": "^2.0.2", 3883 | "strip-ansi": "^6.0.0", 3884 | "wcwidth": "^1.0.1", 3885 | "yargs": "^17.1.1" 3886 | }, 3887 | "dependencies": { 3888 | "ansi-styles": { 3889 | "version": "4.2.1", 3890 | "requires": { 3891 | "@types/color-name": "^1.1.1", 3892 | "color-convert": "^2.0.1" 3893 | } 3894 | }, 3895 | "chalk": { 3896 | "version": "4.1.2", 3897 | "requires": { 3898 | "ansi-styles": "^4.1.0", 3899 | "supports-color": "^7.1.0" 3900 | } 3901 | }, 3902 | "color-convert": { 3903 | "version": "2.0.1", 3904 | "requires": { 3905 | "color-name": "~1.1.4" 3906 | } 3907 | }, 3908 | "color-name": { 3909 | "version": "1.1.4" 3910 | }, 3911 | "has-flag": { 3912 | "version": "4.0.0" 3913 | }, 3914 | "supports-color": { 3915 | "version": "7.2.0", 3916 | "requires": { 3917 | "has-flag": "^4.0.0" 3918 | } 3919 | } 3920 | } 3921 | }, 3922 | "type-fest": { 3923 | "version": "0.13.1" 3924 | }, 3925 | "unbox-primitive": { 3926 | "version": "1.0.2", 3927 | "requires": { 3928 | "call-bind": "^1.0.2", 3929 | "has-bigints": "^1.0.2", 3930 | "has-symbols": "^1.0.3", 3931 | "which-boxed-primitive": "^1.0.2" 3932 | } 3933 | }, 3934 | "universalify": { 3935 | "version": "0.1.2" 3936 | }, 3937 | "validate-npm-package-license": { 3938 | "version": "3.0.4", 3939 | "requires": { 3940 | "spdx-correct": "^3.0.0", 3941 | "spdx-expression-parse": "^3.0.0" 3942 | } 3943 | }, 3944 | "wcwidth": { 3945 | "version": "1.0.1", 3946 | "requires": { 3947 | "defaults": "^1.0.3" 3948 | } 3949 | }, 3950 | "which": { 3951 | "version": "1.3.1", 3952 | "requires": { 3953 | "isexe": "^2.0.0" 3954 | } 3955 | }, 3956 | "which-boxed-primitive": { 3957 | "version": "1.0.2", 3958 | "requires": { 3959 | "is-bigint": "^1.0.1", 3960 | "is-boolean-object": "^1.1.0", 3961 | "is-number-object": "^1.0.4", 3962 | "is-string": "^1.0.5", 3963 | "is-symbol": "^1.0.3" 3964 | } 3965 | }, 3966 | "which-module": { 3967 | "version": "2.0.0" 3968 | }, 3969 | "which-pm": { 3970 | "version": "2.0.0", 3971 | "requires": { 3972 | "load-yaml-file": "^0.2.0", 3973 | "path-exists": "^4.0.0" 3974 | } 3975 | }, 3976 | "wrap-ansi": { 3977 | "version": "7.0.0", 3978 | "requires": { 3979 | "ansi-styles": "^4.0.0", 3980 | "string-width": "^4.1.0", 3981 | "strip-ansi": "^6.0.0" 3982 | }, 3983 | "dependencies": { 3984 | "ansi-styles": { 3985 | "version": "4.3.0", 3986 | "requires": { 3987 | "color-convert": "^2.0.1" 3988 | } 3989 | }, 3990 | "color-convert": { 3991 | "version": "2.0.1", 3992 | "requires": { 3993 | "color-name": "~1.1.4" 3994 | } 3995 | }, 3996 | "color-name": { 3997 | "version": "1.1.4" 3998 | } 3999 | } 4000 | }, 4001 | "y18n": { 4002 | "version": "5.0.8" 4003 | }, 4004 | "yallist": { 4005 | "version": "2.1.2" 4006 | }, 4007 | "yargs": { 4008 | "version": "17.5.1", 4009 | "requires": { 4010 | "cliui": "^7.0.2", 4011 | "escalade": "^3.1.1", 4012 | "get-caller-file": "^2.0.5", 4013 | "require-directory": "^2.1.1", 4014 | "string-width": "^4.2.3", 4015 | "y18n": "^5.0.5", 4016 | "yargs-parser": "^21.0.0" 4017 | }, 4018 | "dependencies": { 4019 | "yargs-parser": { 4020 | "version": "21.1.1" 4021 | } 4022 | } 4023 | }, 4024 | "yargs-parser": { 4025 | "version": "18.1.3", 4026 | "requires": { 4027 | "camelcase": "^5.0.0", 4028 | "decamelize": "^1.2.0" 4029 | } 4030 | }, 4031 | "yocto-queue": { 4032 | "version": "0.1.0" 4033 | } 4034 | } 4035 | } 4036 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "toast", 3 | "version": "0.5.4", 4 | "description": "", 5 | "main": "index.js", 6 | "type": "module", 7 | "bin": { 8 | "toast": "toast-cli.mjs" 9 | }, 10 | "scripts": { 11 | "test": "echo \"Error: no test specified\" && exit 1", 12 | "release": "changeset publish" 13 | }, 14 | "author": "", 15 | "license": "ISC", 16 | "dependencies": { 17 | "@changesets/cli": "^2.24.4", 18 | "@toastdotdev/lib": "0.0.1", 19 | "cac": "6.7.12", 20 | "module-alias": "^2.2.2", 21 | "preact-render-to-string": "^5.2.2", 22 | "react-helmet": "^6.1.0", 23 | "preact": "10.10.6" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/loader.mjs: -------------------------------------------------------------------------------- 1 | import "./module-aliases.mjs"; 2 | const moduleAliases = { 3 | react: "preact/compat", 4 | "react-dom": "preact/compat", 5 | "react/jsx-runtime": "preact/jsx-runtime", 6 | }; 7 | 8 | export const resolve = (specifier, parentModuleURL, defaultResolve) => { 9 | return defaultResolve(moduleAliases[specifier] || specifier, parentModuleURL); 10 | }; 11 | -------------------------------------------------------------------------------- /src/module-aliases.mjs: -------------------------------------------------------------------------------- 1 | import moduleAlias from "module-alias"; 2 | 3 | moduleAlias.addAliases({ 4 | react: "preact/compat", 5 | "react-dom": "preact/compat", 6 | "react/jsx-runtime": "preact/jsx-runtime", 7 | // 'create-react-class': path.resolve(__dirname, './create-preact-class') 8 | }); 9 | -------------------------------------------------------------------------------- /src/page-renderer-pre.mjs: -------------------------------------------------------------------------------- 1 | import { render as prender } from "preact-render-to-string"; 2 | import { h } from "preact"; 3 | import { Helmet } from "react-helmet"; 4 | 5 | const htmlTemplate = ({ 6 | componentPath, 7 | pageWrapperPath, 8 | dataPath, 9 | appHtml, 10 | helmet, 11 | }) => ` 12 | 17 | 18 | 19 | ${helmet.title.toString()} 20 | ${helmet.meta.toString()} 21 | ${helmet.link.toString()} 22 | ${helmet.script.toString()} 23 | ${helmet.noscript.toString()} 24 | 25 | 26 |
${appHtml}
27 | 65 | 66 | 67 | `; 68 | 69 | const windowsLocalDevPathReplacement = /\\/g; 70 | 71 | export const render = async ({ 72 | component, 73 | pageWrapper, 74 | data = {}, 75 | browserComponentPath, 76 | browserPageWrapperPath, 77 | browserDataPath, 78 | }) => { 79 | browserPageWrapperPath = pageWrapper ? browserPageWrapperPath : undefined; 80 | pageWrapper = pageWrapper 81 | ? pageWrapper 82 | : ({ children }) => h("div", null, children); 83 | 84 | const output = prender(h(pageWrapper, data, h(component, data))); 85 | // console.log(output); 86 | const helmet = Helmet.renderStatic(); 87 | return htmlTemplate({ 88 | componentPath: browserComponentPath.replace( 89 | windowsLocalDevPathReplacement, 90 | "/" 91 | ), 92 | pageWrapperPath: browserPageWrapperPath, 93 | dataPath: 94 | Object.keys(data).length > 0 95 | ? browserDataPath.replace(windowsLocalDevPathReplacement, "/") 96 | : undefined, 97 | appHtml: output, 98 | helmet, 99 | }); 100 | }; 101 | -------------------------------------------------------------------------------- /src/render.mjs: -------------------------------------------------------------------------------- 1 | import path from "path"; 2 | import { fileURLToPath } from "url"; 3 | import { promises as fs, existsSync } from "fs"; 4 | import "./module-aliases.mjs"; 5 | import { render } from "./page-renderer-pre.mjs"; 6 | 7 | // loader doesn't show up in argv 8 | // const [_node, _binStr, srcDir, outputDir, ...args] = process.argv; 9 | 10 | export async function renderAll(inputDir, outputDir, files) { 11 | // require pageWrapper 12 | let pageWrapper; 13 | const pageWrapperExists = existsSync( 14 | path.join(inputDir, ".tmp", "src", "page-wrapper.js") 15 | ); 16 | 17 | // Only try to import the page wrapper if it exists, otherwise ignore 18 | if (pageWrapperExists) { 19 | // Imports are expected to be in posix. We receive a full path here through 20 | // the import.meta.url, use the inputDir and convert it to posix. 21 | // It also can't import if it begins with a drive letter on Windows, so 22 | // we find the relative path from this file to the inputDir. 23 | const pageWrapperPath = 24 | "./" + 25 | path.posix.join( 26 | ...path 27 | .relative(path.dirname(fileURLToPath(import.meta.url)), inputDir) 28 | .split(path.sep), 29 | ".tmp", 30 | "src", 31 | "page-wrapper.js" 32 | ); 33 | try { 34 | const wrapper = await import(pageWrapperPath); 35 | pageWrapper = wrapper.default; 36 | } catch (e) { 37 | console.error("Error while importing page-wrapper", e); 38 | } 39 | } 40 | 41 | // render html 42 | return Promise.all( 43 | files.map(async (file) => { 44 | const nodeComponent = await import(path.resolve(inputDir, ".tmp", file)); 45 | let data; 46 | try { 47 | data = await fs.readFile( 48 | `${path.resolve(outputDir, file.replace("src/pages/", ""))}on` 49 | ); 50 | data = JSON.parse(data); 51 | } catch (e) { 52 | // TODO: figure out what errors are important here 53 | } 54 | return render({ 55 | component: nodeComponent.default, 56 | pageWrapper, 57 | data, 58 | browserPageWrapperPath: "/src/page-wrapper.js", 59 | browserComponentPath: path.resolve("/", file), 60 | // .js(on) 61 | browserDataPath: path.resolve( 62 | "/", 63 | `${file.replace("src/pages/", "")}on` 64 | ), 65 | }).then((html) => { 66 | // write HTML file out for page 67 | const htmlFilePath = path.resolve( 68 | outputDir, 69 | file.replace("src/pages/", "").replace(".js", ".html") 70 | ); 71 | return fs.writeFile(htmlFilePath, html); 72 | }); 73 | }) 74 | ); 75 | } 76 | -------------------------------------------------------------------------------- /toast-cli.mjs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env -S NODE_OPTIONS='--experimental-loader="toast/src/loader.mjs"' node 2 | import { 3 | incremental, 4 | setDataForSlug, 5 | doneSourcingData, 6 | } from "@toastdotdev/lib"; 7 | import cac from "cac"; 8 | import path from "path"; 9 | import { performance } from "perf_hooks"; 10 | import { renderAll } from "./src/render.mjs"; 11 | 12 | const PERF = !!process.env.DEBUG_PERF; 13 | const cli = cac(); 14 | 15 | const startTime = performance.now(); 16 | PERF && performance.mark("start"); 17 | 18 | cli 19 | .command("incremental [output-dir]", "Build a site") 20 | .option("-v, --verbose", "Be verbose") 21 | .action(async (input, output, options) => { 22 | PERF && performance.mark("start-action"); 23 | 24 | const inputPath = path.resolve(input); 25 | const outputPath = path.resolve(output || "public"); 26 | const esinstallPath = path.resolve( 27 | outputPath, 28 | "web_modules", 29 | "import-map.json" 30 | ); 31 | // start incremental so that it can process setDataForSlug 32 | let things = incremental(inputPath, outputPath); 33 | 34 | PERF && performance.mark("importing-toast"); 35 | 36 | let toast; 37 | try { 38 | toast = await import(path.resolve(inputPath, "toast.js")); 39 | PERF && performance.mark("done-importing-toast"); 40 | } catch (e) { 41 | if (e.code === "ERR_MODULE_NOT_FOUND") { 42 | console.log("no toast.js found, skipping"); 43 | } else { 44 | console.warn(e); 45 | } 46 | } 47 | 48 | if (!!toast) { 49 | await toast.sourceData({ setDataForSlug: userSetDataForSlug }); 50 | PERF && performance.mark("done-source-data"); 51 | } 52 | 53 | doneSourcingData(); 54 | let urls = await things; 55 | PERF && performance.mark("awaited-things"); 56 | // setDataForSlug; 57 | console.log({ urls }); 58 | await renderAll(inputPath, outputPath, urls); 59 | console.log(`Toast ran in: ${Math.floor(performance.now() - startTime)}ms`); 60 | PERF && 61 | console.log( 62 | performance.measure("to start action", "start", "start-action") 63 | ); 64 | PERF && 65 | console.log(performance.measure("2", "start-action", "importing-toast")); 66 | PERF && 67 | console.log( 68 | performance.measure( 69 | "await import(toast.js)", 70 | "importing-toast", 71 | "done-importing-toast" 72 | ) 73 | ); 74 | PERF && 75 | console.log( 76 | performance.measure("4", "done-importing-toast", "done-source-data") 77 | ); 78 | PERF && 79 | console.log( 80 | performance.measure("4", "done-source-data", "awaited-things") 81 | ); 82 | }); 83 | 84 | cli.help(); 85 | 86 | cli.parse(); 87 | 88 | const userSetDataForSlug = async (slug, pageArgs) => { 89 | // the slug is the key for everything, it can not be undefined or falsey 90 | if (!slug) { 91 | throw new Error( 92 | `setDataForSlug requires a slug as the first argument. second argument is ${JSON.stringify( 93 | pageArgs 94 | )}` 95 | ); 96 | } 97 | // This `if` is to protect against this faulty input: 98 | // 99 | // ```js 100 | // setDataForSlug('/', { 101 | // component: "" 102 | // }) 103 | // ``` 104 | // 105 | if (typeof pageArgs.component === "string") { 106 | throw new Error(`The \`component\` passed to \`setDataForSlug\` was passed as a string for slug \`${slug}\`. 107 | It should be an object with a mode of "filepath" or "source": 108 | \`\`\` 109 | const page = { 110 | component: { 111 | mode: "source", 112 | value: \`import { h } from "preact"; 113 | export default props =>
114 |

Some Code

115 |
\` 116 | } 117 | } 118 | \`\`\` 119 | or 120 | \`\`\` 121 | const page = { 122 | component: { 123 | mode: "filepath", 124 | value: "src/pages/index.js" 125 | } 126 | } 127 | \`\`\` 128 | `); 129 | } 130 | 131 | // This if is to protect against `mode` being at the top level, 132 | // outside of `component` or `wrapper` 133 | // 134 | // ```js 135 | // setDataForSlug('/', { 136 | // mode: "filepath", 137 | // data: {} 138 | // }) 139 | // ``` 140 | // 141 | if (pageArgs.mode) { 142 | throw new Error(`\`mode\` was passed as a top-level key to \`setDataForSlug\` for slug '${slug}'. 143 | Did you mean to put it in \`component\` or \`wrapper\` object? 144 | ## sample unexpected input: 145 | \`\`\` 146 | const page = { 147 | mode: "filepath", 148 | data: {}, 149 | } 150 | \`\`\` 151 | ## sample successful input: 152 | \`\`\` 153 | const page = { 154 | component: { 155 | mode: "filepath", 156 | value: "src/pages/index.js" 157 | }, 158 | data: {} 159 | } 160 | \`\`\` 161 | `); 162 | } 163 | 164 | let args = pageArgs; 165 | if (args.component === null) { 166 | args.component = { 167 | mode: "no-module", 168 | }; 169 | } 170 | if (args.wrapper === null) { 171 | args.wrapper = { 172 | mode: "no-module", 173 | }; 174 | } 175 | try { 176 | await setDataForSlug(JSON.stringify({ slug, ...pageArgs })); 177 | } catch (error) {} 178 | return { ok: true }; 179 | }; 180 | --------------------------------------------------------------------------------