Skip to content

🎥 Make videos programmatically with React

move swirl into example

Jonny Burger68d7af845e1a
diff --git a/packages/example/.eslintrc b/packages/example/.eslintrc
index d4cc0fb226..7280d0eeba 100644
--- a/packages/example/.eslintrc
+++ b/packages/example/.eslintrc
@@ -1,3 +1,4 @@
{
- "extends": "@jonny"
+ "extends": "@remotion",
+ "ignorePatterns": "src/ThreePostprocessing/types/*"
}
diff --git a/packages/example/package-lock.json b/packages/example/package-lock.json
index acf2c7be9b..de7f5a271b 100644
--- a/packages/example/package-lock.json
+++ b/packages/example/package-lock.json
@@ -1,6 +1,8 @@
{
- "requires": true,
+ "name": "@remotion/example",
+ "version": "2.0.5",
"lockfileVersion": 1,
+ "requires": true,
"dependencies": {
"@babel/code-frame": {
"version": "7.12.13",
@@ -1050,6 +1052,16 @@
"@babel/plugin-transform-react-pure-annotations": "^7.12.1"
}
},
+ "@babel/preset-typescript": {
+ "version": "7.13.0",
+ "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.13.0.tgz",
+ "integrity": "sha512-LXJwxrHy0N3f6gIJlYbLta1D9BDtHpQeqwzM0LIfjDlr6UE/D5Mc7W4iDiQzaE+ks0sTjT26ArcHWnJVt0QiHw==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.13.0",
+ "@babel/helper-validator-option": "^7.12.17",
+ "@babel/plugin-transform-typescript": "^7.13.0"
+ }
+ },
"@babel/register": {
"version": "7.13.8",
"resolved": "https://registry.npmjs.org/@babel/register/-/register-7.13.8.tgz",
@@ -1201,6 +1213,7 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.0.tgz",
"integrity": "sha512-2ZPCc+uNbjV5ERJr+aKSPRwZgKd2z11x0EgLvb1PURmUrn9QNRXFqje0Ldq454PfAVyaJYyrDvvIKSFP4NnBog==",
+ "dev": true,
"requires": {
"ajv": "^6.12.4",
"debug": "^4.1.1",
@@ -1217,6 +1230,7 @@
"version": "12.4.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz",
"integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==",
+ "dev": true,
"requires": {
"type-fest": "^0.8.1"
}
@@ -1407,6 +1421,44 @@
}
}
},
+ "@jonny/webpack-dev-middleware": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/@jonny/webpack-dev-middleware/-/webpack-dev-middleware-4.1.3.tgz",
+ "integrity": "sha512-zi+MkYQbA1kTWDG0GmICxwONA6KdVwh6reM/YTCljbv4XcWcyvikHMZs57I7xTg7rysBzzMdi8NEZfTss9W8Pg==",
+ "requires": {
+ "colorette": "^1.2.2",
+ "mem": "^8.1.0",
+ "memfs": "^3.2.2",
+ "mime-types": "^2.1.30",
+ "range-parser": "^1.2.1",
+ "schema-utils": "^3.0.0"
+ },
+ "dependencies": {
+ "mime-db": {
+ "version": "1.47.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz",
+ "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw=="
+ },
+ "mime-types": {
+ "version": "2.1.30",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz",
+ "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==",
+ "requires": {
+ "mime-db": "1.47.0"
+ }
+ },
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ }
+ }
+ },
"@mdx-js/mdx": {
"version": "1.6.22",
"resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.22.tgz",
@@ -1463,6 +1515,53 @@
"resolved": "https://registry.npmjs.org/@mdx-js/util/-/util-1.6.22.tgz",
"integrity": "sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA=="
},
+ "@mrmlnc/readdir-enhanced": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz",
+ "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==",
+ "requires": {
+ "call-me-maybe": "^1.0.1",
+ "glob-to-regexp": "^0.3.0"
+ },
+ "dependencies": {
+ "glob-to-regexp": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz",
+ "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs="
+ }
+ }
+ },
+ "@nodelib/fs.scandir": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz",
+ "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==",
+ "requires": {
+ "@nodelib/fs.stat": "2.0.4",
+ "run-parallel": "^1.1.9"
+ }
+ },
+ "@nodelib/fs.stat": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz",
+ "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q=="
+ },
+ "@nodelib/fs.walk": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz",
+ "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==",
+ "requires": {
+ "@nodelib/fs.scandir": "2.1.4",
+ "fastq": "^1.6.0"
+ }
+ },
+ "@react-gifs/tools": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/@react-gifs/tools/-/tools-0.1.1.tgz",
+ "integrity": "sha512-h9J2ZR5m9FkQ+kNW1598nHhqugLFxQw4BDy22VnXlabQCKsN/dU0v0p90oszwwJSyjo6zHkRlwXQ3IMkwbBNSQ==",
+ "requires": {
+ "gifuct-js": "^2.0.0"
+ }
+ },
"@react-native-community/cli-debugger-ui": {
"version": "4.13.1",
"resolved": "https://registry.npmjs.org/@react-native-community/cli-debugger-ui/-/cli-debugger-ui-4.13.1.tgz",
@@ -1767,43 +1866,1022 @@
"resolved": "https://registry.npmjs.org/@react-native-community/cli-types/-/cli-types-4.10.1.tgz",
"integrity": "sha512-ael2f1onoPF3vF7YqHGWy7NnafzGu+yp88BbFbP0ydoCP2xGSUzmZVw0zakPTC040Id+JQ9WeFczujMkDy6jYQ=="
},
- "@types/babel__core": {
- "version": "7.1.14",
- "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.14.tgz",
- "integrity": "sha512-zGZJzzBUVDo/eV6KgbE0f0ZI7dInEYvo12Rb70uNQDshC3SkRMb67ja0GgRHZgAX3Za6rhaWlvbDO8rrGyAb1g==",
- "requires": {
- "@babel/parser": "^7.1.0",
- "@babel/types": "^7.0.0",
- "@types/babel__generator": "*",
- "@types/babel__template": "*",
- "@types/babel__traverse": "*"
- }
- },
- "@types/babel__generator": {
- "version": "7.6.2",
- "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.2.tgz",
- "integrity": "sha512-MdSJnBjl+bdwkLskZ3NGFp9YcXGx5ggLpQQPqtgakVhsWK0hTtNYhjpZLlWQTviGTvF8at+Bvli3jV7faPdgeQ==",
+ "@remotion/babel-loader": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@remotion/babel-loader/-/babel-loader-2.0.5.tgz",
+ "integrity": "sha512-Doel1kvjpdMiXeaHMAzBw+j2IXBBJmPJ+0PY78Dnhgf5etR63+0XSjoTP85zDg1/682rY6N7GPFvRREMTjlN1g==",
"requires": {
- "@babel/types": "^7.0.0"
+ "@babel/core": "^7.12.10",
+ "@babel/plugin-proposal-class-properties": "^7.12.13",
+ "@babel/preset-env": "^7.12.10",
+ "@babel/preset-react": "^7.12.10",
+ "@babel/preset-typescript": "^7.12.7",
+ "@webhotelier/webpack-fast-refresh": "^5.1.0",
+ "babel-loader": "^8.1.0",
+ "react-refresh": "0.8.2",
+ "webpack": "5.33.2"
+ },
+ "dependencies": {
+ "@babel/compat-data": {
+ "version": "7.13.15",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.15.tgz",
+ "integrity": "sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA=="
+ },
+ "@babel/core": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.16.tgz",
+ "integrity": "sha512-sXHpixBiWWFti0AV2Zq7avpTasr6sIAu7Y396c608541qAU2ui4a193m0KSQmfPSKFZLnQ3cvlKDOm3XkuXm3Q==",
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.13.16",
+ "@babel/helper-compilation-targets": "^7.13.16",
+ "@babel/helper-module-transforms": "^7.13.14",
+ "@babel/helpers": "^7.13.16",
+ "@babel/parser": "^7.13.16",
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.13.15",
+ "@babel/types": "^7.13.16",
+ "convert-source-map": "^1.7.0",
+ "debug": "^4.1.0",
+ "gensync": "^1.0.0-beta.2",
+ "json5": "^2.1.2",
+ "semver": "^6.3.0",
+ "source-map": "^0.5.0"
+ }
+ },
+ "@babel/generator": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.16.tgz",
+ "integrity": "sha512-grBBR75UnKOcUWMp8WoDxNsWCFl//XCK6HWTrBQKTr5SV9f5g0pNOjdyzi/DTBv12S9GnYPInIXQBTky7OXEMg==",
+ "requires": {
+ "@babel/types": "^7.13.16",
+ "jsesc": "^2.5.1",
+ "source-map": "^0.5.0"
+ }
+ },
+ "@babel/helper-compilation-targets": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.16.tgz",
+ "integrity": "sha512-3gmkYIrpqsLlieFwjkGgLaSHmhnvlAYzZLlYVjlW+QwI+1zE17kGxuJGmIqDQdYp56XdmGeD+Bswx0UTyG18xA==",
+ "requires": {
+ "@babel/compat-data": "^7.13.15",
+ "@babel/helper-validator-option": "^7.12.17",
+ "browserslist": "^4.14.5",
+ "semver": "^6.3.0"
+ }
+ },
+ "@babel/helper-module-transforms": {
+ "version": "7.13.14",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz",
+ "integrity": "sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g==",
+ "requires": {
+ "@babel/helper-module-imports": "^7.13.12",
+ "@babel/helper-replace-supers": "^7.13.12",
+ "@babel/helper-simple-access": "^7.13.12",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.13.13",
+ "@babel/types": "^7.13.14"
+ }
+ },
+ "@babel/helpers": {
+ "version": "7.13.17",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.17.tgz",
+ "integrity": "sha512-Eal4Gce4kGijo1/TGJdqp3WuhllaMLSrW6XcL0ulyUAQOuxHcCafZE8KHg9857gcTehsm/v7RcOx2+jp0Ryjsg==",
+ "requires": {
+ "@babel/template": "^7.12.13",
+ "@babel/traverse": "^7.13.17",
+ "@babel/types": "^7.13.17"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.13.16",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.16.tgz",
+ "integrity": "sha512-6bAg36mCwuqLO0hbR+z7PHuqWiCeP7Dzg73OpQwsAB1Eb8HnGEz5xYBzCfbu+YjoaJsJs+qheDxVAuqbt3ILEw=="
+ },
+ "@babel/traverse": {
+ "version": "7.13.17",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.17.tgz",
+ "integrity": "sha512-BMnZn0R+X6ayqm3C3To7o1j7Q020gWdqdyP50KEoVqaCO2c/Im7sYZSmVgvefp8TTMQ+9CtwuBp0Z1CZ8V3Pvg==",
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.13.16",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/parser": "^7.13.16",
+ "@babel/types": "^7.13.17",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0"
+ }
+ },
+ "@babel/types": {
+ "version": "7.13.17",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.17.tgz",
+ "integrity": "sha512-RawydLgxbOPDlTLJNtoIypwdmAy//uQIzlKt2+iBiJaRlVuI6QLUxVAyWGNfOzp8Yu4L4lLIacoCyTNtpb4wiA==",
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "json5": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "requires": {
+ "minimist": "^1.2.5"
+ }
+ },
+ "react-refresh": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.8.2.tgz",
+ "integrity": "sha512-n8GXxo3DwM2KtFEL69DAVhGc4A1THn2qjmfvSo3nze0NLCoPbywazeJPqdp0RdSGLmyhQzeyA+XPXOobbYlkzg=="
+ },
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
+ }
}
},
- "@types/babel__template": {
- "version": "7.4.0",
- "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.0.tgz",
- "integrity": "sha512-NTPErx4/FiPCGScH7foPyr+/1Dkzkni+rHiYHHoTjvwou7AQzJkNeD60A9CXRy+ZEN2B1bggmkTMCDb+Mv5k+A==",
- "requires": {
- "@babel/parser": "^7.1.0",
- "@babel/types": "^7.0.0"
+ "@remotion/bundler": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@remotion/bundler/-/bundler-2.0.5.tgz",
+ "integrity": "sha512-VsItXXQhJLJzvoVZ8VL4xhsnUcc9TQoBm2+8ctGJH9YFWTIMwAtlG0HNNzuUjHF8XiN1QDU5hi06k115dXx/Dg==",
+ "requires": {
+ "@jonny/webpack-dev-middleware": "^4.1.3",
+ "@webhotelier/webpack-fast-refresh": "5.0.1",
+ "css-loader": "^5.0.1",
+ "esbuild-loader": "^2.10.0",
+ "execa": "^4.0.3",
+ "express": "^4.17.1",
+ "file-loader": "^6.0.0",
+ "get-port": "^5.1.1",
+ "latest-version": "^5.1.0",
+ "react-refresh": "^0.8.2",
+ "remotion": "^2.0.5",
+ "semver": "7.3.4",
+ "style-loader": "^2.0.0",
+ "styled-components": "^5.2.1",
+ "url-loader": "^4.1.1",
+ "webpack": "5.33.2",
+ "webpack-hot-middleware": "^2.25.0"
+ },
+ "dependencies": {
+ "@babel/code-frame": {
+ "version": "7.8.3",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz",
+ "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==",
+ "requires": {
+ "@babel/highlight": "^7.8.3"
+ }
+ },
+ "@nodelib/fs.stat": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz",
+ "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw=="
+ },
+ "@webhotelier/webpack-fast-refresh": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/@webhotelier/webpack-fast-refresh/-/webpack-fast-refresh-5.0.1.tgz",
+ "integrity": "sha512-I6CTOexQ1pk5yDjNX1ahA5l11dqjWMFzmdaEWKHcC8YNLWe5w1waoFDkSlTPippDC/wbYRElhfxp1ToNmzb/IQ==",
+ "requires": {
+ "react-dev-utils": "^10.2.1",
+ "react-error-overlay": "^6.1.0-next.80",
+ "sockjs-client": "^1.4.0"
+ }
+ },
+ "ansi-escapes": {
+ "version": "4.3.2",
+ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
+ "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
+ "requires": {
+ "type-fest": "^0.21.3"
+ }
+ },
+ "ansi-regex": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+ "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg=="
+ },
+ "array-union": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",
+ "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=",
+ "requires": {
+ "array-uniq": "^1.0.1"
+ }
+ },
+ "browserslist": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.10.0.tgz",
+ "integrity": "sha512-TpfK0TDgv71dzuTsEAlQiHeWQ/tiPqgNZVdv046fvNtBZrjbv2O3TsWCDU0AWGJJKCF/KsjNdLzR9hXOsh/CfA==",
+ "requires": {
+ "caniuse-lite": "^1.0.30001035",
+ "electron-to-chromium": "^1.3.378",
+ "node-releases": "^1.1.52",
+ "pkg-up": "^3.1.0"
+ }
+ },
+ "chardet": {
+ "version": "0.7.0",
+ "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz",
+ "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA=="
+ },
+ "cli-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
+ "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
+ "requires": {
+ "restore-cursor": "^3.1.0"
+ }
+ },
+ "cross-spawn": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.1.tgz",
+ "integrity": "sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg==",
+ "requires": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ }
+ },
+ "dir-glob": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.0.0.tgz",
+ "integrity": "sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag==",
+ "requires": {
+ "arrify": "^1.0.1",
+ "path-type": "^3.0.0"
+ }
+ },
+ "emojis-list": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz",
+ "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k="
+ },
+ "escape-string-regexp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w=="
+ },
+ "execa": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
+ "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
+ "requires": {
+ "cross-spawn": "^7.0.0",
+ "get-stream": "^5.0.0",
+ "human-signals": "^1.1.1",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.0",
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2",
+ "strip-final-newline": "^2.0.0"
+ }
+ },
+ "external-editor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
+ "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
+ "requires": {
+ "chardet": "^0.7.0",
+ "iconv-lite": "^0.4.24",
+ "tmp": "^0.0.33"
+ }
+ },
+ "fast-glob": {
+ "version": "2.2.7",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz",
+ "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==",
+ "requires": {
+ "@mrmlnc/readdir-enhanced": "^2.2.1",
+ "@nodelib/fs.stat": "^1.1.2",
+ "glob-parent": "^3.1.0",
+ "is-glob": "^4.0.0",
+ "merge2": "^1.2.3",
+ "micromatch": "^3.1.10"
+ }
+ },
+ "figures": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz",
+ "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==",
+ "requires": {
+ "escape-string-regexp": "^1.0.5"
+ },
+ "dependencies": {
+ "escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
+ }
+ }
+ },
+ "filesize": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/filesize/-/filesize-6.0.1.tgz",
+ "integrity": "sha512-u4AYWPgbI5GBhs6id1KdImZWn5yfyFrrQ8OWZdN7ZMfA8Bf4HcO0BGo9bmUIEV8yrp8I1xVfJ/dn90GtFNNJcg=="
+ },
+ "fork-ts-checker-webpack-plugin": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-3.1.1.tgz",
+ "integrity": "sha512-DuVkPNrM12jR41KM2e+N+styka0EgLkTnXmNcXdgOM37vtGeY+oCBK/Jx0hzSeEU6memFCtWb4htrHPMDfwwUQ==",
+ "requires": {
+ "babel-code-frame": "^6.22.0",
+ "chalk": "^2.4.1",
+ "chokidar": "^3.3.0",
+ "micromatch": "^3.1.10",
+ "minimatch": "^3.0.4",
+ "semver": "^5.6.0",
+ "tapable": "^1.0.0",
+ "worker-rpc": "^0.1.0"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
+ }
+ }
+ },
+ "get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ },
+ "glob-parent": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",
+ "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",
+ "requires": {
+ "is-glob": "^3.1.0",
+ "path-dirname": "^1.0.0"
+ },
+ "dependencies": {
+ "is-glob": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",
+ "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",
+ "requires": {
+ "is-extglob": "^2.1.0"
+ }
+ }
+ }
+ },
+ "globby": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-8.0.2.tgz",
+ "integrity": "sha512-yTzMmKygLp8RUpG1Ymu2VXPSJQZjNAZPD4ywgYEaG7e4tBJeUQBO8OpXrf1RCNcEs5alsoJYPAMiIHP0cmeC7w==",
+ "requires": {
+ "array-union": "^1.0.1",
+ "dir-glob": "2.0.0",
+ "fast-glob": "^2.0.2",
+ "glob": "^7.1.2",
+ "ignore": "^3.3.5",
+ "pify": "^3.0.0",
+ "slash": "^1.0.0"
+ }
+ },
+ "ignore": {
+ "version": "3.3.10",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz",
+ "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug=="
+ },
+ "immer": {
+ "version": "1.10.0",
+ "resolved": "https://registry.npmjs.org/immer/-/immer-1.10.0.tgz",
+ "integrity": "sha512-O3sR1/opvCDGLEVcvrGTMtLac8GJ5IwZC4puPrLuRj3l7ICKvkmA0vGuU9OW8mV9WIBRnaxp5GJh9IEAaNOoYg=="
+ },
+ "inquirer": {
+ "version": "7.0.4",
+ "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.4.tgz",
+ "integrity": "sha512-Bu5Td5+j11sCkqfqmUTiwv+tWisMtP0L7Q8WrqA2C/BbBhy1YTdFrvjjlrKq8oagA/tLQBski2Gcx/Sqyi2qSQ==",
+ "requires": {
+ "ansi-escapes": "^4.2.1",
+ "chalk": "^2.4.2",
+ "cli-cursor": "^3.1.0",
+ "cli-width": "^2.0.0",
+ "external-editor": "^3.0.3",
+ "figures": "^3.0.0",
+ "lodash": "^4.17.15",
+ "mute-stream": "0.0.8",
+ "run-async": "^2.2.0",
+ "rxjs": "^6.5.3",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^5.1.0",
+ "through": "^2.3.6"
+ },
+ "dependencies": {
+ "strip-ansi": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "requires": {
+ "ansi-regex": "^4.1.0"
+ }
+ }
+ }
+ },
+ "is-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
+ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw=="
+ },
+ "is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "requires": {
+ "is-docker": "^2.0.0"
+ }
+ },
+ "loader-utils": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz",
+ "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==",
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^2.0.0",
+ "json5": "^1.0.1"
+ }
+ },
+ "merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="
+ },
+ "mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="
+ },
+ "mute-stream": {
+ "version": "0.0.8",
+ "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
+ "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
+ },
+ "npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "requires": {
+ "path-key": "^3.0.0"
+ }
+ },
+ "onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "requires": {
+ "mimic-fn": "^2.1.0"
+ }
+ },
+ "open": {
+ "version": "7.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz",
+ "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==",
+ "requires": {
+ "is-docker": "^2.0.0",
+ "is-wsl": "^2.1.1"
+ }
+ },
+ "path-type": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz",
+ "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==",
+ "requires": {
+ "pify": "^3.0.0"
+ }
+ },
+ "pify": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
+ "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY="
+ },
+ "react-dev-utils": {
+ "version": "10.2.1",
+ "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-10.2.1.tgz",
+ "integrity": "sha512-XxTbgJnYZmxuPtY3y/UV0D8/65NKkmaia4rXzViknVnZeVlklSh8u6TnaEYPfAi/Gh1TP4mEOXHI6jQOPbeakQ==",
+ "requires": {
+ "@babel/code-frame": "7.8.3",
+ "address": "1.1.2",
+ "browserslist": "4.10.0",
+ "chalk": "2.4.2",
+ "cross-spawn": "7.0.1",
+ "detect-port-alt": "1.1.6",
+ "escape-string-regexp": "2.0.0",
+ "filesize": "6.0.1",
+ "find-up": "4.1.0",
+ "fork-ts-checker-webpack-plugin": "3.1.1",
+ "global-modules": "2.0.0",
+ "globby": "8.0.2",
+ "gzip-size": "5.1.1",
+ "immer": "1.10.0",
+ "inquirer": "7.0.4",
+ "is-root": "2.1.0",
+ "loader-utils": "1.2.3",
+ "open": "^7.0.2",
+ "pkg-up": "3.1.0",
+ "react-error-overlay": "^6.0.7",
+ "recursive-readdir": "2.2.2",
+ "shell-quote": "1.7.2",
+ "strip-ansi": "6.0.0",
+ "text-table": "0.2.0"
+ },
+ "dependencies": {
+ "react-error-overlay": {
+ "version": "6.0.9",
+ "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.9.tgz",
+ "integrity": "sha512-nQTTcUu+ATDbrSD1BZHr5kgSD4oF8OFjxun8uAaL8RwPBacGBNPf/yAuVVdx17N8XNzRDMrZ9XcKZHCjPW+9ew=="
+ }
+ }
+ },
+ "react-error-overlay": {
+ "version": "6.1.0-next.80",
+ "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.1.0-next.80.tgz",
+ "integrity": "sha512-FEho9UexWQuyY1cuGQY/H20upVkojaleGSx2jkLvj5/UtpT4NkI8IhettXmSf/BfV4CG5xN+eENSh7Q6gAO2dw=="
+ },
+ "react-refresh": {
+ "version": "0.8.3",
+ "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.8.3.tgz",
+ "integrity": "sha512-X8jZHc7nCMjaCqoU+V2I0cOhNW+QMBwSUkeXnTi8IPe6zaRWfn60ZzvFDZqWPfmSJfjub7dDW1SP0jaHWLu/hg=="
+ },
+ "restore-cursor": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
+ "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
+ "requires": {
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2"
+ }
+ },
+ "semver": {
+ "version": "7.3.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
+ "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ },
+ "shell-quote": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz",
+ "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg=="
+ },
+ "slash": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
+ "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU="
+ },
+ "type-fest": {
+ "version": "0.21.3",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="
+ }
}
},
- "@types/babel__traverse": {
- "version": "7.11.1",
+ "@remotion/cli": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@remotion/cli/-/cli-2.0.5.tgz",
+ "integrity": "sha512-YhKfRWF0icsM8YF6GbISTNA95tKxn1q/auXGNCc7pT6quMqbnEMSFjUb3q6//1lk8CDc1I21HJItfPp8IX0KWw==",
+ "requires": {
+ "@remotion/bundler": "^2.0.5",
+ "@remotion/media-utils": "^2.0.5",
+ "@remotion/renderer": "^2.0.5",
+ "better-opn": "^2.1.1",
+ "chalk": "^4.1.0",
+ "cli-progress": "^3.8.2",
+ "execa": "^4.0.2",
+ "minimist": "^1.2.5",
+ "remotion": "^2.0.5",
+ "semver": "^7.3.4",
+ "webpack": "5.33.2",
+ "xns": "^2.0.7"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "requires": {
+ "color-convert": "^2.0.1"
+ }
+ },
+ "chalk": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz",
+ "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==",
+ "requires": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ },
+ "execa": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
+ "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
+ "requires": {
+ "cross-spawn": "^7.0.0",
+ "get-stream": "^5.0.0",
+ "human-signals": "^1.1.1",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.0",
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2",
+ "strip-final-newline": "^2.0.0"
+ }
+ },
+ "get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ },
+ "has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
+ },
+ "is-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
+ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw=="
+ },
+ "merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="
+ },
+ "mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="
+ },
+ "npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "requires": {
+ "path-key": "^3.0.0"
+ }
+ },
+ "onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "requires": {
+ "mimic-fn": "^2.1.0"
+ }
+ },
+ "semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ },
+ "supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "requires": {
+ "has-flag": "^4.0.0"
+ }
+ }
+ }
+ },
+ "@remotion/eslint-config": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@remotion/eslint-config/-/eslint-config-2.0.3.tgz",
+ "integrity": "sha512-fxZ4ZWPxeyDdqwRVBOXLTLD3hjPQg5x2Xv/yoF2nQnZm/qUH7h05xnAsM0Sdki9ln85o15VzUHlqK+reN/VcTg==",
+ "requires": {
+ "@remotion/eslint-plugin": "^2.0.2",
+ "@typescript-eslint/eslint-plugin": "^4.22.0",
+ "@typescript-eslint/parser": "^4.22.0",
+ "eslint-config-prettier": "^8.2.0",
+ "eslint-config-xo": "^0.35.0",
+ "eslint-config-xo-react": "^0.24.0",
+ "eslint-plugin-10x": "^1.5.0",
+ "eslint-plugin-react": "^7.23.2",
+ "eslint-plugin-react-hooks": "^4.2.0"
+ }
+ },
+ "@remotion/eslint-plugin": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/@remotion/eslint-plugin/-/eslint-plugin-2.0.2.tgz",
+ "integrity": "sha512-untj6tYLaidb3afyzU+LkO8JXQJTvIk+4acRLWM691OHRRnYNFpUsoAoTPYecZ9YOOWagcyfyuzidXuKmixVJA=="
+ },
+ "@remotion/gif": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@remotion/gif/-/gif-2.0.5.tgz",
+ "integrity": "sha512-Cvqm1BrQ7IaeyfNOZtcQFf7ImjoIxpc1wY+Ewu/sEt/bJ6qpjhppNGMXf9I47EDCOjXEhIDTigzZi7Pkd2lkyQ==",
+ "requires": {
+ "@react-gifs/tools": "^0.1.1",
+ "lru_map": "^0.4.1",
+ "remotion": "^2.0.5"
+ }
+ },
+ "@remotion/media-utils": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@remotion/media-utils/-/media-utils-2.0.5.tgz",
+ "integrity": "sha512-A/XRoEPqtqxY4iO1GaL9ILZmFA3LotJlXc6bDjBQTyhLIF2feHbzfqomMFzpuM0El8L/xGPZ531tDboxAd+AMw==",
+ "requires": {
+ "remotion": "^2.0.5"
+ }
+ },
+ "@remotion/renderer": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@remotion/renderer/-/renderer-2.0.5.tgz",
+ "integrity": "sha512-Kn3Y0nHaE0LthjXMa7qTgaXnPigf7GTrXYiI4eGVLnaWF1gC886DcsL66mQzMVrINCpxqnnY8CClSvjgIaPktg==",
+ "requires": {
+ "@remotion/bundler": "^2.0.5",
+ "execa": "^4.0.2",
+ "got": "11.8.2",
+ "p-limit": "^3.1.0",
+ "puppeteer-core": "^8.0.0",
+ "remotion": "^2.0.5",
+ "sanitize-filename": "^1.6.3",
+ "serve-handler": "^6.1.3",
+ "xns": "^2.0.7"
+ },
+ "dependencies": {
+ "@sindresorhus/is": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.0.1.tgz",
+ "integrity": "sha512-Qm9hBEBu18wt1PO2flE7LPb30BHMQt1eQgbV76YntdNk73XZGpn3izvGTYxbGgzXKgbCjiia0uxTd3aTNQrY/g=="
+ },
+ "@szmarczak/http-timer": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.5.tgz",
+ "integrity": "sha512-PyRA9sm1Yayuj5OIoJ1hGt2YISX45w9WcFbh6ddT0Z/0yaFxOtGLInr4jUfU1EAFVs0Yfyfev4RNwBlUaHdlDQ==",
+ "requires": {
+ "defer-to-connect": "^2.0.0"
+ }
+ },
+ "cacheable-request": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.1.tgz",
+ "integrity": "sha512-lt0mJ6YAnsrBErpTMWeu5kl/tg9xMAWjavYTN6VQXM1A/teBITuNcccXsCxF0tDQQJf9DfAaX5O4e0zp0KlfZw==",
+ "requires": {
+ "clone-response": "^1.0.2",
+ "get-stream": "^5.1.0",
+ "http-cache-semantics": "^4.0.0",
+ "keyv": "^4.0.0",
+ "lowercase-keys": "^2.0.0",
+ "normalize-url": "^4.1.0",
+ "responselike": "^2.0.0"
+ }
+ },
+ "decompress-response": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",
+ "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==",
+ "requires": {
+ "mimic-response": "^3.1.0"
+ }
+ },
+ "defer-to-connect": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz",
+ "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg=="
+ },
+ "execa": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
+ "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
+ "requires": {
+ "cross-spawn": "^7.0.0",
+ "get-stream": "^5.0.0",
+ "human-signals": "^1.1.1",
+ "is-stream": "^2.0.0",
+ "merge-stream": "^2.0.0",
+ "npm-run-path": "^4.0.0",
+ "onetime": "^5.1.0",
+ "signal-exit": "^3.0.2",
+ "strip-final-newline": "^2.0.0"
+ }
+ },
+ "get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ },
+ "got": {
+ "version": "11.8.2",
+ "resolved": "https://registry.npmjs.org/got/-/got-11.8.2.tgz",
+ "integrity": "sha512-D0QywKgIe30ODs+fm8wMZiAcZjypcCodPNuMz5H9Mny7RJ+IjJ10BdmGW7OM7fHXP+O7r6ZwapQ/YQmMSvB0UQ==",
+ "requires": {
+ "@sindresorhus/is": "^4.0.0",
+ "@szmarczak/http-timer": "^4.0.5",
+ "@types/cacheable-request": "^6.0.1",
+ "@types/responselike": "^1.0.0",
+ "cacheable-lookup": "^5.0.3",
+ "cacheable-request": "^7.0.1",
+ "decompress-response": "^6.0.0",
+ "http2-wrapper": "^1.0.0-beta.5.2",
+ "lowercase-keys": "^2.0.0",
+ "p-cancelable": "^2.0.0",
+ "responselike": "^2.0.0"
+ }
+ },
+ "is-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz",
+ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw=="
+ },
+ "json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ=="
+ },
+ "keyv": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.0.3.tgz",
+ "integrity": "sha512-zdGa2TOpSZPq5mU6iowDARnMBZgtCqJ11dJROFi6tg6kTn4nuUdU09lFyLFSaHrWqpIJ+EBq4E8/Dc0Vx5vLdA==",
+ "requires": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "lowercase-keys": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
+ },
+ "merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="
+ },
+ "mimic-fn": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="
+ },
+ "mimic-response": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz",
+ "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ=="
+ },
+ "npm-run-path": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
+ "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
+ "requires": {
+ "path-key": "^3.0.0"
+ }
+ },
+ "onetime": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
+ "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
+ "requires": {
+ "mimic-fn": "^2.1.0"
+ }
+ },
+ "p-cancelable": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.0.tgz",
+ "integrity": "sha512-HAZyB3ZodPo+BDpb4/Iu7Jv4P6cSazBz9ZM0ChhEXp70scx834aWCEjQRwgt41UzzejUAPdbqqONfRWTPYrPAQ=="
+ },
+ "p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "requires": {
+ "yocto-queue": "^0.1.0"
+ }
+ },
+ "responselike": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.0.tgz",
+ "integrity": "sha512-xH48u3FTB9VsZw7R+vvgaKeLKzT6jOogbQhEe/jewwnZgzPcnyWui2Av6JpoYZF/91uueC+lqhWqeURw5/qhCw==",
+ "requires": {
+ "lowercase-keys": "^2.0.0"
+ }
+ }
+ }
+ },
+ "@remotion/three": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/@remotion/three/-/three-2.0.2.tgz",
+ "integrity": "sha512-dpXayExZX9opFD4SAEywTRxj7khX40VLphuz2oG08hPwXdwHZK/dXvysNpllM8YWf4Fe8p+79e571rry64xXcw==",
+ "requires": {
+ "remotion": "^2.0.2"
+ }
+ },
+ "@sindresorhus/is": {
+ "version": "0.14.0",
+ "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
+ "integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ=="
+ },
+ "@szmarczak/http-timer": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
+ "integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
+ "requires": {
+ "defer-to-connect": "^1.0.1"
+ }
+ },
+ "@types/babel__core": {
+ "version": "7.1.14",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.14.tgz",
+ "integrity": "sha512-zGZJzzBUVDo/eV6KgbE0f0ZI7dInEYvo12Rb70uNQDshC3SkRMb67ja0GgRHZgAX3Za6rhaWlvbDO8rrGyAb1g==",
+ "dev": true,
+ "requires": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "@types/babel__generator": {
+ "version": "7.6.2",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.2.tgz",
+ "integrity": "sha512-MdSJnBjl+bdwkLskZ3NGFp9YcXGx5ggLpQQPqtgakVhsWK0hTtNYhjpZLlWQTviGTvF8at+Bvli3jV7faPdgeQ==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@types/babel__template": {
+ "version": "7.4.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.0.tgz",
+ "integrity": "sha512-NTPErx4/FiPCGScH7foPyr+/1Dkzkni+rHiYHHoTjvwou7AQzJkNeD60A9CXRy+ZEN2B1bggmkTMCDb+Mv5k+A==",
+ "dev": true,
+ "requires": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@types/babel__traverse": {
+ "version": "7.11.1",
"resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.11.1.tgz",
"integrity": "sha512-Vs0hm0vPahPMYi9tDjtP66llufgO3ST16WXaSTtDGEl9cewAl3AibmxWw6TINOqHPT9z0uABKAYjT9jNSg4npw==",
+ "dev": true,
"requires": {
"@babel/types": "^7.3.0"
}
},
+ "@types/cacheable-request": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.1.tgz",
+ "integrity": "sha512-ykFq2zmBGOCbpIXtoVbz4SKY5QriWPh3AjyU4G74RYbtt5yOc5OfaY75ftjg7mikMOla1CTGpX3lLbuJh8DTrQ==",
+ "requires": {
+ "@types/http-cache-semantics": "*",
+ "@types/keyv": "*",
+ "@types/node": "*",
+ "@types/responselike": "*"
+ }
+ },
+ "@types/eslint": {
+ "version": "7.2.10",
+ "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.10.tgz",
+ "integrity": "sha512-kUEPnMKrqbtpCq/KTaGFFKAcz6Ethm2EjCoKIDaCmfRBWLbFuTcOJfTlorwbnboXBzahqWLgUp1BQeKHiJzPUQ==",
+ "requires": {
+ "@types/estree": "*",
+ "@types/json-schema": "*"
+ }
+ },
+ "@types/eslint-scope": {
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.0.tgz",
+ "integrity": "sha512-O/ql2+rrCUe2W2rs7wMR+GqPRcgB6UiqN5RhrR5xruFlY7l9YLMn0ZkDzjoHLeiFkR8MCQZVudUuuvQ2BLC9Qw==",
+ "requires": {
+ "@types/eslint": "*",
+ "@types/estree": "*"
+ }
+ },
+ "@types/estree": {
+ "version": "0.0.46",
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.46.tgz",
+ "integrity": "sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg=="
+ },
"@types/hast": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.1.tgz",
@@ -1821,6 +2899,11 @@
"hoist-non-react-statics": "^3.3.0"
}
},
+ "@types/http-cache-semantics": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.0.tgz",
+ "integrity": "sha512-c3Xy026kOF7QOTn00hbIllV1dLR9hG9NkSrLQgCVs8NF6sBU+VGWjD3wLPhmh1TYAc7ugCFsvHYMN4VcBN1U1A=="
+ },
"@types/istanbul-lib-coverage": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz",
@@ -1853,6 +2936,14 @@
"resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
"integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4="
},
+ "@types/keyv": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.1.tgz",
+ "integrity": "sha512-MPtoySlAZQ37VoLaPcTHCu1RWJ4llDkULYZIzOYxlhxBqYPB0RsRlmMU0R6tahtFe27mIdkHV+551ZWV4PLmVw==",
+ "requires": {
+ "@types/node": "*"
+ }
+ },
"@types/mdast": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.3.tgz",
@@ -1894,6 +2985,14 @@
"@types/react": "*"
}
},
+ "@types/responselike": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.0.tgz",
+ "integrity": "sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==",
+ "requires": {
+ "@types/node": "*"
+ }
+ },
"@types/scheduler": {
"version": "0.16.1",
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.1.tgz",
@@ -1932,6 +3031,262 @@
"resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.0.tgz",
"integrity": "sha512-37RSHht+gzzgYeobbG+KWryeAW8J33Nhr69cjTqSYymXVZEN9NbRYWoYlRtDhHKPVT1FyNKwaTPC1NynKZpzRA=="
},
+ "@types/yauzl": {
+ "version": "2.9.1",
+ "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.1.tgz",
+ "integrity": "sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0rOrcd9EjA==",
+ "optional": true,
+ "requires": {
+ "@types/node": "*"
+ }
+ },
+ "@typescript-eslint/eslint-plugin": {
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz",
+ "integrity": "sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA==",
+ "requires": {
+ "@typescript-eslint/experimental-utils": "4.22.0",
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "debug": "^4.1.1",
+ "functional-red-black-tree": "^1.0.1",
+ "lodash": "^4.17.15",
+ "regexpp": "^3.0.0",
+ "semver": "^7.3.2",
+ "tsutils": "^3.17.1"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ }
+ }
+ },
+ "@typescript-eslint/experimental-utils": {
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.0.tgz",
+ "integrity": "sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg==",
+ "requires": {
+ "@types/json-schema": "^7.0.3",
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/typescript-estree": "4.22.0",
+ "eslint-scope": "^5.0.0",
+ "eslint-utils": "^2.0.0"
+ }
+ },
+ "@typescript-eslint/parser": {
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.22.0.tgz",
+ "integrity": "sha512-z/bGdBJJZJN76nvAY9DkJANYgK3nlRstRRi74WHm3jjgf2I8AglrSY+6l7ogxOmn55YJ6oKZCLLy+6PW70z15Q==",
+ "requires": {
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/typescript-estree": "4.22.0",
+ "debug": "^4.1.1"
+ }
+ },
+ "@typescript-eslint/scope-manager": {
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.22.0.tgz",
+ "integrity": "sha512-OcCO7LTdk6ukawUM40wo61WdeoA7NM/zaoq1/2cs13M7GyiF+T4rxuA4xM+6LeHWjWbss7hkGXjFDRcKD4O04Q==",
+ "requires": {
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0"
+ }
+ },
+ "@typescript-eslint/types": {
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.22.0.tgz",
+ "integrity": "sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA=="
+ },
+ "@typescript-eslint/typescript-estree": {
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz",
+ "integrity": "sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg==",
+ "requires": {
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0",
+ "debug": "^4.1.1",
+ "globby": "^11.0.1",
+ "is-glob": "^4.0.1",
+ "semver": "^7.3.2",
+ "tsutils": "^3.17.1"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ }
+ }
+ },
+ "@typescript-eslint/visitor-keys": {
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.0.tgz",
+ "integrity": "sha512-nnMu4F+s4o0sll6cBSsTeVsT4cwxB7zECK3dFxzEjPBii9xLpq4yqqsy/FU5zMfan6G60DKZSCXAa3sHJZrcYw==",
+ "requires": {
+ "@typescript-eslint/types": "4.22.0",
+ "eslint-visitor-keys": "^2.0.0"
+ }
+ },
+ "@webassemblyjs/ast": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.0.tgz",
+ "integrity": "sha512-kX2W49LWsbthrmIRMbQZuQDhGtjyqXfEmmHyEi4XWnSZtPmxY0+3anPIzsnRb45VH/J55zlOfWvZuY47aJZTJg==",
+ "requires": {
+ "@webassemblyjs/helper-numbers": "1.11.0",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.0"
+ }
+ },
+ "@webassemblyjs/floating-point-hex-parser": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.0.tgz",
+ "integrity": "sha512-Q/aVYs/VnPDVYvsCBL/gSgwmfjeCb4LW8+TMrO3cSzJImgv8lxxEPM2JA5jMrivE7LSz3V+PFqtMbls3m1exDA=="
+ },
+ "@webassemblyjs/helper-api-error": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.0.tgz",
+ "integrity": "sha512-baT/va95eXiXb2QflSx95QGT5ClzWpGaa8L7JnJbgzoYeaA27FCvuBXU758l+KXWRndEmUXjP0Q5fibhavIn8w=="
+ },
+ "@webassemblyjs/helper-buffer": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.0.tgz",
+ "integrity": "sha512-u9HPBEl4DS+vA8qLQdEQ6N/eJQ7gT7aNvMIo8AAWvAl/xMrcOSiI2M0MAnMCy3jIFke7bEee/JwdX1nUpCtdyA=="
+ },
+ "@webassemblyjs/helper-numbers": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.0.tgz",
+ "integrity": "sha512-DhRQKelIj01s5IgdsOJMKLppI+4zpmcMQ3XboFPLwCpSNH6Hqo1ritgHgD0nqHeSYqofA6aBN/NmXuGjM1jEfQ==",
+ "requires": {
+ "@webassemblyjs/floating-point-hex-parser": "1.11.0",
+ "@webassemblyjs/helper-api-error": "1.11.0",
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "@webassemblyjs/helper-wasm-bytecode": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.0.tgz",
+ "integrity": "sha512-MbmhvxXExm542tWREgSFnOVo07fDpsBJg3sIl6fSp9xuu75eGz5lz31q7wTLffwL3Za7XNRCMZy210+tnsUSEA=="
+ },
+ "@webassemblyjs/helper-wasm-section": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.0.tgz",
+ "integrity": "sha512-3Eb88hcbfY/FCukrg6i3EH8H2UsD7x8Vy47iVJrP967A9JGqgBVL9aH71SETPx1JrGsOUVLo0c7vMCN22ytJew==",
+ "requires": {
+ "@webassemblyjs/ast": "1.11.0",
+ "@webassemblyjs/helper-buffer": "1.11.0",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.0",
+ "@webassemblyjs/wasm-gen": "1.11.0"
+ }
+ },
+ "@webassemblyjs/ieee754": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.0.tgz",
+ "integrity": "sha512-KXzOqpcYQwAfeQ6WbF6HXo+0udBNmw0iXDmEK5sFlmQdmND+tr773Ti8/5T/M6Tl/413ArSJErATd8In3B+WBA==",
+ "requires": {
+ "@xtuc/ieee754": "^1.2.0"
+ }
+ },
+ "@webassemblyjs/leb128": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.0.tgz",
+ "integrity": "sha512-aqbsHa1mSQAbeeNcl38un6qVY++hh8OpCOzxhixSYgbRfNWcxJNJQwe2rezK9XEcssJbbWIkblaJRwGMS9zp+g==",
+ "requires": {
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "@webassemblyjs/utf8": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.0.tgz",
+ "integrity": "sha512-A/lclGxH6SpSLSyFowMzO/+aDEPU4hvEiooCMXQPcQFPPJaYcPQNKGOCLUySJsYJ4trbpr+Fs08n4jelkVTGVw=="
+ },
+ "@webassemblyjs/wasm-edit": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.0.tgz",
+ "integrity": "sha512-JHQ0damXy0G6J9ucyKVXO2j08JVJ2ntkdJlq1UTiUrIgfGMmA7Ik5VdC/L8hBK46kVJgujkBIoMtT8yVr+yVOQ==",
+ "requires": {
+ "@webassemblyjs/ast": "1.11.0",
+ "@webassemblyjs/helper-buffer": "1.11.0",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.0",
+ "@webassemblyjs/helper-wasm-section": "1.11.0",
+ "@webassemblyjs/wasm-gen": "1.11.0",
+ "@webassemblyjs/wasm-opt": "1.11.0",
+ "@webassemblyjs/wasm-parser": "1.11.0",
+ "@webassemblyjs/wast-printer": "1.11.0"
+ }
+ },
+ "@webassemblyjs/wasm-gen": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.0.tgz",
+ "integrity": "sha512-BEUv1aj0WptCZ9kIS30th5ILASUnAPEvE3tVMTrItnZRT9tXCLW2LEXT8ezLw59rqPP9klh9LPmpU+WmRQmCPQ==",
+ "requires": {
+ "@webassemblyjs/ast": "1.11.0",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.0",
+ "@webassemblyjs/ieee754": "1.11.0",
+ "@webassemblyjs/leb128": "1.11.0",
+ "@webassemblyjs/utf8": "1.11.0"
+ }
+ },
+ "@webassemblyjs/wasm-opt": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.0.tgz",
+ "integrity": "sha512-tHUSP5F4ywyh3hZ0+fDQuWxKx3mJiPeFufg+9gwTpYp324mPCQgnuVKwzLTZVqj0duRDovnPaZqDwoyhIO8kYg==",
+ "requires": {
+ "@webassemblyjs/ast": "1.11.0",
+ "@webassemblyjs/helper-buffer": "1.11.0",
+ "@webassemblyjs/wasm-gen": "1.11.0",
+ "@webassemblyjs/wasm-parser": "1.11.0"
+ }
+ },
+ "@webassemblyjs/wasm-parser": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.0.tgz",
+ "integrity": "sha512-6L285Sgu9gphrcpDXINvm0M9BskznnzJTE7gYkjDbxET28shDqp27wpruyx3C2S/dvEwiigBwLA1cz7lNUi0kw==",
+ "requires": {
+ "@webassemblyjs/ast": "1.11.0",
+ "@webassemblyjs/helper-api-error": "1.11.0",
+ "@webassemblyjs/helper-wasm-bytecode": "1.11.0",
+ "@webassemblyjs/ieee754": "1.11.0",
+ "@webassemblyjs/leb128": "1.11.0",
+ "@webassemblyjs/utf8": "1.11.0"
+ }
+ },
+ "@webassemblyjs/wast-printer": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.0.tgz",
+ "integrity": "sha512-Fg5OX46pRdTgB7rKIUojkh9vXaVN6sGYCnEiJN1GYkb0RPwShZXp6KTDqmoMdQPKhcroOXh3fEzmkWmCYaKYhQ==",
+ "requires": {
+ "@webassemblyjs/ast": "1.11.0",
+ "@xtuc/long": "4.2.2"
+ }
+ },
+ "@webhotelier/webpack-fast-refresh": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/@webhotelier/webpack-fast-refresh/-/webpack-fast-refresh-5.1.0.tgz",
+ "integrity": "sha512-GLe+NjtVaEBeK13RSJrBE4mnlYCxrfg2m1X/UALVpsjSYaIcrabbxBgOp1bGQ4VJoi2FfMN7BfjsLHrwQGaVZA==",
+ "requires": {
+ "react-dev-utils": "^11.0.0-next.98",
+ "react-error-overlay": "^7.0.0-next.98",
+ "sockjs-client": "^1.5.0"
+ }
+ },
+ "@xtuc/ieee754": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
+ "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA=="
+ },
+ "@xtuc/long": {
+ "version": "4.2.2",
+ "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz",
+ "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
+ },
"abort-controller": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
@@ -1957,12 +3312,27 @@
"acorn": {
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
- "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="
+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
+ "dev": true
},
"acorn-jsx": {
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz",
- "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng=="
+ "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==",
+ "dev": true
+ },
+ "address": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/address/-/address-1.1.2.tgz",
+ "integrity": "sha512-aT6camzM4xEA54YVJYSqxz1kv4IHnQZRtThJJHhUMRExaU5spC7jX5ugSwTaTgJliIgs4VhZOk7htClvQ/LmRA=="
+ },
+ "agent-base": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
+ "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
+ "requires": {
+ "debug": "4"
+ }
},
"ajv": {
"version": "6.12.6",
@@ -1988,7 +3358,8 @@
"ansi-colors": {
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz",
- "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA=="
+ "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
+ "dev": true
},
"ansi-cyan": {
"version": "0.1.1",
@@ -2056,6 +3427,11 @@
"ansi-wrap": "0.1.0"
}
},
+ "ansi-html": {
+ "version": "0.0.7",
+ "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz",
+ "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4="
+ },
"ansi-red": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/ansi-red/-/ansi-red-0.1.1.tgz",
@@ -2124,6 +3500,23 @@
"resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
"integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E="
},
+ "array-flatten": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
+ "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI="
+ },
+ "array-includes": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.3.tgz",
+ "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2",
+ "get-intrinsic": "^1.1.1",
+ "is-string": "^1.0.5"
+ }
+ },
"array-map": {
"version": "0.0.0",
"resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz",
@@ -2139,11 +3532,37 @@
"resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz",
"integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU="
},
+ "array-union": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw=="
+ },
+ "array-uniq": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz",
+ "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY="
+ },
"array-unique": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
"integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg="
},
+ "array.prototype.flatmap": {
+ "version": "1.2.4",
+ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz",
+ "integrity": "sha512-r9Z0zYoxqHz60vvQbWEdXIEtCwHF0yxaWfno9qzXeNHvfyl3BZqygmGzb84dsubyaXLH4husF+NFgMSdpZhk2Q==",
+ "requires": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.1",
+ "function-bind": "^1.1.1"
+ }
+ },
+ "arrify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz",
+ "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0="
+ },
"asap": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz",
@@ -2157,7 +3576,8 @@
"astral-regex": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",
- "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ=="
+ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
+ "dev": true
},
"async": {
"version": "2.6.3",
@@ -2172,6 +3592,58 @@
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg=="
},
+ "babel-code-frame": {
+ "version": "6.26.0",
+ "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
+ "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",
+ "requires": {
+ "chalk": "^1.1.3",
+ "esutils": "^2.0.2",
+ "js-tokens": "^3.0.2"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
+ },
+ "ansi-styles": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
+ "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
+ },
+ "chalk": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
+ "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
+ "requires": {
+ "ansi-styles": "^2.2.1",
+ "escape-string-regexp": "^1.0.2",
+ "has-ansi": "^2.0.0",
+ "strip-ansi": "^3.0.0",
+ "supports-color": "^2.0.0"
+ }
+ },
+ "js-tokens": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
+ "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls="
+ },
+ "strip-ansi": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
+ "requires": {
+ "ansi-regex": "^2.0.0"
+ }
+ },
+ "supports-color": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
+ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
+ }
+ }
+ },
"babel-loader": {
"version": "8.2.2",
"resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.2.2.tgz",
@@ -2376,6 +3848,33 @@
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
"integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="
},
+ "better-opn": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-2.1.1.tgz",
+ "integrity": "sha512-kIPXZS5qwyKiX/HcRvDYfmBQUa8XP17I0mYZZ0y4UhpYOSvtsLHDYqmomS+Mj20aDvD3knEiQ0ecQy2nhio3yA==",
+ "requires": {
+ "open": "^7.0.3"
+ },
+ "dependencies": {
+ "is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "requires": {
+ "is-docker": "^2.0.0"
+ }
+ },
+ "open": {
+ "version": "7.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz",
+ "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==",
+ "requires": {
+ "is-docker": "^2.0.0",
+ "is-wsl": "^2.1.1"
+ }
+ }
+ }
+ },
"big-integer": {
"version": "1.6.48",
"resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.48.tgz",
@@ -2386,6 +3885,11 @@
"resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
"integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
},
+ "binary-extensions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="
+ },
"bindings": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
@@ -2395,6 +3899,82 @@
"file-uri-to-path": "1.0.0"
}
},
+ "bl": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz",
+ "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==",
+ "requires": {
+ "buffer": "^5.5.0",
+ "inherits": "^2.0.4",
+ "readable-stream": "^3.4.0"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ }
+ }
+ },
+ "body-parser": {
+ "version": "1.19.0",
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
+ "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
+ "requires": {
+ "bytes": "3.1.0",
+ "content-type": "~1.0.4",
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "on-finished": "~2.3.0",
+ "qs": "6.7.0",
+ "raw-body": "2.4.0",
+ "type-is": "~1.6.17"
+ },
+ "dependencies": {
+ "bytes": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
+ "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
+ },
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "http-errors": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
+ "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.3",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ }
+ },
+ "inherits": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ }
+ }
+ },
"bplist-creator": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.8.tgz",
@@ -2457,6 +4037,15 @@
"node-int64": "^0.4.0"
}
},
+ "buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "requires": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
"buffer-crc32": {
"version": "0.2.13",
"resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
@@ -2488,6 +4077,40 @@
"unset-value": "^1.0.0"
}
},
+ "cacheable-lookup": {
+ "version": "5.0.4",
+ "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz",
+ "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA=="
+ },
+ "cacheable-request": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
+ "integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
+ "requires": {
+ "clone-response": "^1.0.2",
+ "get-stream": "^5.1.0",
+ "http-cache-semantics": "^4.0.0",
+ "keyv": "^3.0.0",
+ "lowercase-keys": "^2.0.0",
+ "normalize-url": "^4.1.0",
+ "responselike": "^1.0.2"
+ },
+ "dependencies": {
+ "get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ },
+ "lowercase-keys": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
+ "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
+ }
+ }
+ },
"call-bind": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
@@ -2497,6 +4120,11 @@
"get-intrinsic": "^1.0.2"
}
},
+ "call-me-maybe": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz",
+ "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms="
+ },
"caller-callsite": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz",
@@ -2622,6 +4250,82 @@
"resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz",
"integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I="
},
+ "chokidar": {
+ "version": "3.5.1",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz",
+ "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==",
+ "requires": {
+ "anymatch": "~3.1.1",
+ "braces": "~3.0.2",
+ "fsevents": "~2.3.1",
+ "glob-parent": "~5.1.0",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.5.0"
+ },
+ "dependencies": {
+ "anymatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
+ "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
+ "requires": {
+ "normalize-path": "^3.0.0",
+ "picomatch": "^2.0.4"
+ }
+ },
+ "braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "requires": {
+ "fill-range": "^7.0.1"
+ }
+ },
+ "fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "requires": {
+ "to-regex-range": "^5.0.1"
+ }
+ },
+ "fsevents": {
+ "version": "2.3.2",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
+ "optional": true
+ },
+ "is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
+ },
+ "normalize-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
+ },
+ "to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "requires": {
+ "is-number": "^7.0.0"
+ }
+ }
+ }
+ },
+ "chownr": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz",
+ "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg=="
+ },
+ "chrome-trace-event": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz",
+ "integrity": "sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg=="
+ },
"ci-info": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz",
@@ -2656,6 +4360,15 @@
"restore-cursor": "^2.0.0"
}
},
+ "cli-progress": {
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/cli-progress/-/cli-progress-3.9.0.tgz",
+ "integrity": "sha512-g7rLWfhAo/7pF+a/STFH/xPyosaL1zgADhI0OM83hl3c7S43iGvJWEAV2QuDOnQ8i6EMBj/u4+NTd0d5L+4JfA==",
+ "requires": {
+ "colors": "^1.1.2",
+ "string-width": "^4.2.0"
+ }
+ },
"cli-spinners": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.0.tgz",
@@ -2692,6 +4405,14 @@
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
"integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4="
},
+ "clone-response": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz",
+ "integrity": "sha1-0dyXOSAxTfZ/vrlCI7TuNQI56Ws=",
+ "requires": {
+ "mimic-response": "^1.0.0"
+ }
+ },
"collapse-white-space": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.6.tgz",
@@ -2729,6 +4450,11 @@
"resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz",
"integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w=="
},
+ "colors": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz",
+ "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA=="
+ },
"comma-separated-tokens": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz",
@@ -2807,6 +4533,11 @@
"typedarray": "^0.0.6"
}
},
+ "confusing-browser-globals": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.10.tgz",
+ "integrity": "sha512-gNld/3lySHwuhaVluJUKLePYirM3QNCKzVxqAdhJII9/WXKVX5PURzMVJspS1jTslSqjeuG4KMVTSouit5YPHA=="
+ },
"connect": {
"version": "3.7.0",
"resolved": "https://registry.npmjs.org/connect/-/connect-3.7.0.tgz",
@@ -2842,6 +4573,19 @@
"upper-case": "^1.1.1"
}
},
+ "content-disposition": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
+ "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==",
+ "requires": {
+ "safe-buffer": "5.1.2"
+ }
+ },
+ "content-type": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
+ "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA=="
+ },
"convert-source-map": {
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
@@ -2850,6 +4594,16 @@
"safe-buffer": "~5.1.1"
}
},
+ "cookie": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
+ "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg=="
+ },
+ "cookie-signature": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
+ "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
+ },
"copy-descriptor": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
@@ -2941,6 +4695,67 @@
"isobject": "^3.0.1"
}
},
+ "css-loader": {
+ "version": "5.2.4",
+ "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-5.2.4.tgz",
+ "integrity": "sha512-OFYGyINCKkdQsTrSYxzGSFnGS4gNjcXkKkQgWxK138jgnPt+lepxdjSZNc8sHAl5vP3DhsJUxufWIjOwI8PMMw==",
+ "requires": {
+ "camelcase": "^6.2.0",
+ "icss-utils": "^5.1.0",
+ "loader-utils": "^2.0.0",
+ "postcss": "^8.2.10",
+ "postcss-modules-extract-imports": "^3.0.0",
+ "postcss-modules-local-by-default": "^4.0.0",
+ "postcss-modules-scope": "^3.0.0",
+ "postcss-modules-values": "^4.0.0",
+ "postcss-value-parser": "^4.1.0",
+ "schema-utils": "^3.0.0",
+ "semver": "^7.3.5"
+ },
+ "dependencies": {
+ "camelcase": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz",
+ "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg=="
+ },
+ "json5": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "requires": {
+ "minimist": "^1.2.5"
+ }
+ },
+ "loader-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
+ "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^3.0.0",
+ "json5": "^2.1.2"
+ }
+ },
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ },
+ "semver": {
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ }
+ }
+ },
"css-to-react-native": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.0.0.tgz",
@@ -2951,6 +4766,11 @@
"postcss-value-parser": "^4.0.2"
}
},
+ "cssesc": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz",
+ "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg=="
+ },
"csstype": {
"version": "3.0.7",
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz",
@@ -2979,6 +4799,14 @@
"resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",
"integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU="
},
+ "decompress-response": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz",
+ "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=",
+ "requires": {
+ "mimic-response": "^1.0.0"
+ }
+ },
"deep-assign": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/deep-assign/-/deep-assign-3.0.0.tgz",
@@ -2987,10 +4815,16 @@
"is-obj": "^1.0.0"
}
},
+ "deep-extend": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz",
+ "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA=="
+ },
"deep-is": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
- "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ="
+ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
+ "dev": true
},
"deepmerge": {
"version": "3.3.0",
@@ -3005,6 +4839,11 @@
"clone": "^1.0.2"
}
},
+ "defer-to-connect": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
+ "integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
+ },
"define-properties": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz",
@@ -3079,10 +4918,48 @@
"repeat-string": "^1.5.4"
}
},
+ "detect-port-alt": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/detect-port-alt/-/detect-port-alt-1.1.6.tgz",
+ "integrity": "sha512-5tQykt+LqfJFBEYaDITx7S7cR7mJ/zQmLXZ2qt5w04ainYZw6tBf9dBunMjVeVOdYVRUzUOE4HkY5J7+uttb5Q==",
+ "requires": {
+ "address": "^1.0.1",
+ "debug": "^2.6.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ }
+ }
+ },
+ "devtools-protocol": {
+ "version": "0.0.854822",
+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.854822.tgz",
+ "integrity": "sha512-xd4D8kHQtB0KtWW0c9xBZD5LVtm9chkMOfs/3Yn01RhT/sFIsVtzTtypfKoFfWBaL+7xCYLxjOLkhwPXaX/Kcg=="
+ },
+ "dir-glob": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "requires": {
+ "path-type": "^4.0.0"
+ }
+ },
"doctrine": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
"integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
"requires": {
"esutils": "^2.0.2"
}
@@ -3095,6 +4972,16 @@
"no-case": "^2.2.0"
}
},
+ "duplexer": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz",
+ "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg=="
+ },
+ "duplexer3": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
+ "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI="
+ },
"ee-first": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
@@ -3151,10 +5038,27 @@
"once": "^1.4.0"
}
},
+ "enhanced-resolve": {
+ "version": "5.8.0",
+ "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.8.0.tgz",
+ "integrity": "sha512-Sl3KRpJA8OpprrtaIswVki3cWPiPKxXuFxJXBp+zNb6s6VwNWwFRUdtmzd2ReUut8n+sCPx7QCtQ7w5wfJhSgQ==",
+ "requires": {
+ "graceful-fs": "^4.2.4",
+ "tapable": "^2.2.0"
+ },
+ "dependencies": {
+ "tapable": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.0.tgz",
+ "integrity": "sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw=="
+ }
+ }
+ },
"enquirer": {
"version": "2.3.6",
"resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz",
"integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==",
+ "dev": true,
"requires": {
"ansi-colors": "^4.1.1"
}
@@ -3189,6 +5093,87 @@
"escape-html": "~1.0.3"
}
},
+ "es-abstract": {
+ "version": "1.18.0",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0.tgz",
+ "integrity": "sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.2",
+ "is-callable": "^1.2.3",
+ "is-negative-zero": "^2.0.1",
+ "is-regex": "^1.1.2",
+ "is-string": "^1.0.5",
+ "object-inspect": "^1.9.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.2",
+ "string.prototype.trimend": "^1.0.4",
+ "string.prototype.trimstart": "^1.0.4",
+ "unbox-primitive": "^1.0.0"
+ }
+ },
+ "es-module-lexer": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.4.1.tgz",
+ "integrity": "sha512-ooYciCUtfw6/d2w56UVeqHPcoCFAiJdz5XOkYpv/Txl1HMUozpXjz/2RIQgqwKdXNDPSF1W7mJCFse3G+HDyAA=="
+ },
+ "es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "requires": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ }
+ },
+ "esbuild": {
+ "version": "0.10.2",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.10.2.tgz",
+ "integrity": "sha512-/5vsZD7wTJJHC3yNXLUjXNvUDwqwNoIMvFvLd9tcDQ9el5l13pspYm3yufavjIeYvNtAbo+6N/6uoWx9dGA6ug=="
+ },
+ "esbuild-loader": {
+ "version": "2.12.0",
+ "resolved": "https://registry.npmjs.org/esbuild-loader/-/esbuild-loader-2.12.0.tgz",
+ "integrity": "sha512-wQJ8tryOYC5CsG62scwX92HIlY0kgH+28xPz+3pxGZlexkQJYZF0kN97iVR6pyzGzfGhTPD7pabdqVnYF7HMVw==",
+ "requires": {
+ "esbuild": "^0.10.2",
+ "joycon": "^3.0.1",
+ "json5": "^2.2.0",
+ "loader-utils": "^2.0.0",
+ "type-fest": "^1.0.1",
+ "webpack-sources": "^2.2.0"
+ },
+ "dependencies": {
+ "json5": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "requires": {
+ "minimist": "^1.2.5"
+ }
+ },
+ "loader-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
+ "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^3.0.0",
+ "json5": "^2.1.2"
+ }
+ },
+ "type-fest": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.0.2.tgz",
+ "integrity": "sha512-a720oz3Kjbp3ll0zkeN9qjRhO7I34MKMhPGQiQJAmaZQZQ1lo+NWThK322f7sXV+kTg9B1Ybt16KgBXWgteT8w=="
+ }
+ }
+ },
"escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
@@ -3208,6 +5193,7 @@
"version": "7.22.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-7.22.0.tgz",
"integrity": "sha512-3VawOtjSJUQiiqac8MQc+w457iGLfuNGLFn8JmF051tTKbh5/x/0vlcEj8OgDCaw7Ysa2Jn8paGshV7x2abKXg==",
+ "dev": true,
"requires": {
"@babel/code-frame": "7.12.11",
"@eslint/eslintrc": "^0.4.0",
@@ -3252,6 +5238,7 @@
"version": "7.12.11",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz",
"integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==",
+ "dev": true,
"requires": {
"@babel/highlight": "^7.10.4"
}
@@ -3260,6 +5247,7 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
"requires": {
"color-convert": "^2.0.1"
}
@@ -3268,6 +5256,7 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz",
"integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
+ "dev": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
@@ -3277,6 +5266,7 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
"requires": {
"color-name": "~1.1.4"
}
@@ -3284,12 +5274,14 @@
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
},
"globals": {
"version": "13.7.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.7.0.tgz",
"integrity": "sha512-Aipsz6ZKRxa/xQkZhNg0qIWXT6x6rD46f6x/PCnBomlttdIyAPak4YD9jTmKpZ72uROSMU87qJtcgpgHaVchiA==",
+ "dev": true,
"requires": {
"type-fest": "^0.20.2"
}
@@ -3297,12 +5289,14 @@
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
- "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true
},
"semver": {
"version": "7.3.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
"integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "dev": true,
"requires": {
"lru-cache": "^6.0.0"
}
@@ -3311,6 +5305,7 @@
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
"requires": {
"has-flag": "^4.0.0"
}
@@ -3318,10 +5313,80 @@
"type-fest": {
"version": "0.20.2",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
- "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ=="
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true
+ }
+ }
+ },
+ "eslint-config-prettier": {
+ "version": "8.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.2.0.tgz",
+ "integrity": "sha512-dWV9EVeSo2qodOPi1iBYU/x6F6diHv8uujxbxr77xExs3zTAlNXvVZKiyLsQGNz7yPV2K49JY5WjPzNIuDc2Bw=="
+ },
+ "eslint-config-xo": {
+ "version": "0.35.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.35.0.tgz",
+ "integrity": "sha512-+WyZTLWUJlvExFrBU/Ldw8AB/S0d3x+26JQdBWbcqig2ZaWh0zinYcHok+ET4IoPaEcRRf3FE9kjItNVjBwnAg==",
+ "requires": {
+ "confusing-browser-globals": "1.0.10"
+ }
+ },
+ "eslint-config-xo-react": {
+ "version": "0.24.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-xo-react/-/eslint-config-xo-react-0.24.0.tgz",
+ "integrity": "sha512-Hc6pHDJf8y71Uo1jwWJ85CaFGTPxHp26L+49H5jgALB1rTmmxMUA70sDv6qj3icPgSWbkiOvuHM6tis+ws3stQ=="
+ },
+ "eslint-plugin-10x": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-10x/-/eslint-plugin-10x-1.5.0.tgz",
+ "integrity": "sha512-MZn5wgGgzBwE7SYnrwAhq1vb/vlt/Jw+ycezFr5x/BW1Kn7Uoe3WzKt5T4OITFVS6//BprMTT+79mYQvjlfWTQ==",
+ "requires": {
+ "jsx-ast-utils": "^2.4.1"
+ }
+ },
+ "eslint-plugin-react": {
+ "version": "7.23.2",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.23.2.tgz",
+ "integrity": "sha512-AfjgFQB+nYszudkxRkTFu0UR1zEQig0ArVMPloKhxwlwkzaw/fBiH0QWcBBhZONlXqQC51+nfqFrkn4EzHcGBw==",
+ "requires": {
+ "array-includes": "^3.1.3",
+ "array.prototype.flatmap": "^1.2.4",
+ "doctrine": "^2.1.0",
+ "has": "^1.0.3",
+ "jsx-ast-utils": "^2.4.1 || ^3.0.0",
+ "minimatch": "^3.0.4",
+ "object.entries": "^1.1.3",
+ "object.fromentries": "^2.0.4",
+ "object.values": "^1.1.3",
+ "prop-types": "^15.7.2",
+ "resolve": "^2.0.0-next.3",
+ "string.prototype.matchall": "^4.0.4"
+ },
+ "dependencies": {
+ "doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "requires": {
+ "esutils": "^2.0.2"
+ }
+ },
+ "resolve": {
+ "version": "2.0.0-next.3",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.3.tgz",
+ "integrity": "sha512-W8LucSynKUIDu9ylraa7ueVZ7hc0uAgJBxVsQSKOXOyle8a93qXhcz+XAXZ8bIq2d6i4Ehddn6Evt+0/UwKk6Q==",
+ "requires": {
+ "is-core-module": "^2.2.0",
+ "path-parse": "^1.0.6"
+ }
}
}
},
+ "eslint-plugin-react-hooks": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz",
+ "integrity": "sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ=="
+ },
"eslint-scope": {
"version": "5.1.1",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz",
@@ -3355,6 +5420,7 @@
"version": "7.3.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz",
"integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==",
+ "dev": true,
"requires": {
"acorn": "^7.4.0",
"acorn-jsx": "^5.3.1",
@@ -3364,7 +5430,8 @@
"eslint-visitor-keys": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
- "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ=="
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
+ "dev": true
}
}
},
@@ -3377,6 +5444,7 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz",
"integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==",
+ "dev": true,
"requires": {
"estraverse": "^5.1.0"
},
@@ -3384,7 +5452,8 @@
"estraverse": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz",
- "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ=="
+ "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==",
+ "dev": true
}
}
},
@@ -3428,6 +5497,19 @@
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz",
"integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q=="
},
+ "events": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz",
+ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="
+ },
+ "eventsource": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.1.0.tgz",
+ "integrity": "sha512-VSJjT5oCNrFvCS6igjzPAt5hBzQ2qPBFIbJ03zLI9SE0mxwZpMw6BfJrbFHm1a141AavMEB8JHmBhWAd66PfCg==",
+ "requires": {
+ "original": "^1.0.0"
+ }
+ },
"exec-sh": {
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.6.tgz",
@@ -3509,14 +5591,66 @@
"ms": "2.0.0"
}
},
- "define-property": {
- "version": "0.2.5",
- "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
- "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
- "requires": {
- "is-descriptor": "^0.1.0"
- }
- },
+ "define-property": {
+ "version": "0.2.5",
+ "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
+ "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",
+ "requires": {
+ "is-descriptor": "^0.1.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
+ }
+ }
+ },
+ "express": {
+ "version": "4.17.1",
+ "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
+ "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==",
+ "requires": {
+ "accepts": "~1.3.7",
+ "array-flatten": "1.1.1",
+ "body-parser": "1.19.0",
+ "content-disposition": "0.5.3",
+ "content-type": "~1.0.4",
+ "cookie": "0.4.0",
+ "cookie-signature": "1.0.6",
+ "debug": "2.6.9",
+ "depd": "~1.1.2",
+ "encodeurl": "~1.0.2",
+ "escape-html": "~1.0.3",
+ "etag": "~1.8.1",
+ "finalhandler": "~1.1.2",
+ "fresh": "0.5.2",
+ "merge-descriptors": "1.0.1",
+ "methods": "~1.1.2",
+ "on-finished": "~2.3.0",
+ "parseurl": "~1.3.3",
+ "path-to-regexp": "0.1.7",
+ "proxy-addr": "~2.0.5",
+ "qs": "6.7.0",
+ "range-parser": "~1.2.1",
+ "safe-buffer": "5.1.2",
+ "send": "0.17.1",
+ "serve-static": "1.14.1",
+ "setprototypeof": "1.1.1",
+ "statuses": "~1.5.0",
+ "type-is": "~1.6.18",
+ "utils-merge": "1.0.1",
+ "vary": "~1.1.2"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
"ms": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
@@ -3598,6 +5732,27 @@
}
}
},
+ "extract-zip": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",
+ "integrity": "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==",
+ "requires": {
+ "@types/yauzl": "^2.9.1",
+ "debug": "^4.1.1",
+ "get-stream": "^5.1.0",
+ "yauzl": "^2.10.0"
+ },
+ "dependencies": {
+ "get-stream": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
+ "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
+ "requires": {
+ "pump": "^3.0.0"
+ }
+ }
+ }
+ },
"fancy-log": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz",
@@ -3614,6 +5769,59 @@
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
},
+ "fast-glob": {
+ "version": "3.2.5",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz",
+ "integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==",
+ "requires": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.0",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.2",
+ "picomatch": "^2.2.1"
+ },
+ "dependencies": {
+ "braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "requires": {
+ "fill-range": "^7.0.1"
+ }
+ },
+ "fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "requires": {
+ "to-regex-range": "^5.0.1"
+ }
+ },
+ "is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
+ },
+ "micromatch": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
+ "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
+ "requires": {
+ "braces": "^3.0.1",
+ "picomatch": "^2.2.3"
+ }
+ },
+ "to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "requires": {
+ "is-number": "^7.0.0"
+ }
+ }
+ }
+ },
"fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
@@ -3622,7 +5830,39 @@
"fast-levenshtein": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
- "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc="
+ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
+ "dev": true
+ },
+ "fast-url-parser": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz",
+ "integrity": "sha1-9K8+qfNNiicc9YrSs3WfQx8LMY0=",
+ "requires": {
+ "punycode": "^1.3.2"
+ },
+ "dependencies": {
+ "punycode": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
+ "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
+ }
+ }
+ },
+ "fastq": {
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz",
+ "integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==",
+ "requires": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "faye-websocket": {
+ "version": "0.11.3",
+ "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz",
+ "integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==",
+ "requires": {
+ "websocket-driver": ">=0.5.1"
+ }
},
"fb-watchman": {
"version": "2.0.1",
@@ -3734,6 +5974,14 @@
}
}
},
+ "fd-slicer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
+ "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=",
+ "requires": {
+ "pend": "~1.2.0"
+ }
+ },
"figures": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
@@ -3746,16 +5994,61 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
"integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
+ "dev": true,
"requires": {
"flat-cache": "^3.0.4"
}
},
+ "file-loader": {
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz",
+ "integrity": "sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==",
+ "requires": {
+ "loader-utils": "^2.0.0",
+ "schema-utils": "^3.0.0"
+ },
+ "dependencies": {
+ "json5": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "requires": {
+ "minimist": "^1.2.5"
+ }
+ },
+ "loader-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
+ "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^3.0.0",
+ "json5": "^2.1.2"
+ }
+ },
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ }
+ }
+ },
"file-uri-to-path": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
"optional": true
},
+ "filesize": {
+ "version": "6.1.0",
+ "resolved": "https://registry.npmjs.org/filesize/-/filesize-6.1.0.tgz",
+ "integrity": "sha512-LpCHtPQ3sFx67z+uh2HnSyWSLLu5Jxo21795uRDuar/EOuYWXib5EmPaGIBuSnRqH2IODiKA2k5re/K9OnN/Yg=="
+ },
"fill-range": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
@@ -3819,6 +6112,7 @@
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz",
"integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==",
+ "dev": true,
"requires": {
"flatted": "^3.1.0",
"rimraf": "^3.0.2"
@@ -3827,13 +6121,33 @@
"flatted": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz",
- "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA=="
+ "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==",
+ "dev": true
},
"for-in": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
"integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA="
},
+ "fork-ts-checker-webpack-plugin": {
+ "version": "4.1.6",
+ "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-4.1.6.tgz",
+ "integrity": "sha512-DUxuQaKoqfNne8iikd14SAkh5uw4+8vNifp6gmA73yYNS6ywLIWSLD/n/mBzHQRpW3J7rbATEakmiA8JvkTyZw==",
+ "requires": {
+ "@babel/code-frame": "^7.5.5",
+ "chalk": "^2.4.1",
+ "micromatch": "^3.1.10",
+ "minimatch": "^3.0.4",
+ "semver": "^5.6.0",
+ "tapable": "^1.0.0",
+ "worker-rpc": "^0.1.0"
+ }
+ },
+ "forwarded": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz",
+ "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ="
+ },
"fragment-cache": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
@@ -3847,6 +6161,11 @@
"resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
"integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
},
+ "fs-constants": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz",
+ "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow=="
+ },
"fs-extra": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",
@@ -3857,6 +6176,11 @@
"universalify": "^0.1.0"
}
},
+ "fs-monkey": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.3.tgz",
+ "integrity": "sha512-cybjIfiiE+pTWicSCLFHSrXZ6EilF30oh91FDP9S2B051prEa7QWfrVTQm10/dDpswBDXZugPa1Ogu8Yh+HV0Q=="
+ },
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -3902,6 +6226,11 @@
"has-symbols": "^1.0.1"
}
},
+ "get-port": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz",
+ "integrity": "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ=="
+ },
"get-stream": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
@@ -3915,6 +6244,14 @@
"resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
"integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg="
},
+ "gifuct-js": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/gifuct-js/-/gifuct-js-2.1.1.tgz",
+ "integrity": "sha512-DZkLjGtUs+cx0EDby+on/h/GrjizxcqGHLN6c8h8t8GHT1XBhRhfow/nl6L96fwSRO+37hTF2lCnoqUWFsKs9g==",
+ "requires": {
+ "js-binary-schema-parser": "^2.0.2"
+ }
+ },
"github-slugger": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-1.3.0.tgz",
@@ -3951,11 +6288,64 @@
"is-glob": "^4.0.1"
}
},
+ "glob-to-regexp": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz",
+ "integrity": "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw=="
+ },
+ "global-modules": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz",
+ "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==",
+ "requires": {
+ "global-prefix": "^3.0.0"
+ }
+ },
+ "global-prefix": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz",
+ "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==",
+ "requires": {
+ "ini": "^1.3.5",
+ "kind-of": "^6.0.2",
+ "which": "^1.3.1"
+ },
+ "dependencies": {
+ "which": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
+ "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
+ "requires": {
+ "isexe": "^2.0.0"
+ }
+ }
+ }
+ },
"globals": {
"version": "11.12.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
"integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA=="
},
+ "globby": {
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.1.tgz",
+ "integrity": "sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==",
+ "requires": {
+ "array-union": "^2.1.0",
+ "dir-glob": "^3.0.1",
+ "fast-glob": "^3.1.1",
+ "ignore": "^5.1.4",
+ "merge2": "^1.3.0",
+ "slash": "^3.0.0"
+ },
+ "dependencies": {
+ "ignore": {
+ "version": "5.1.8",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz",
+ "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw=="
+ }
+ }
+ },
"good-listener": {
"version": "1.2.2",
"resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz",
@@ -3965,6 +6355,24 @@
"delegate": "^3.1.2"
}
},
+ "got": {
+ "version": "9.6.0",
+ "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
+ "integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
+ "requires": {
+ "@sindresorhus/is": "^0.14.0",
+ "@szmarczak/http-timer": "^1.1.2",
+ "cacheable-request": "^6.0.0",
+ "decompress-response": "^3.3.0",
+ "duplexer3": "^0.1.4",
+ "get-stream": "^4.1.0",
+ "lowercase-keys": "^1.0.1",
+ "mimic-response": "^1.0.1",
+ "p-cancelable": "^1.0.0",
+ "to-readable-stream": "^1.0.0",
+ "url-parse-lax": "^3.0.0"
+ }
+ },
"graceful-fs": {
"version": "4.2.6",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz",
@@ -3981,6 +6389,15 @@
"strip-bom-string": "^1.0.0"
}
},
+ "gzip-size": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz",
+ "integrity": "sha512-FNHi6mmoHvs1mxZAds4PpdCS6QG8B4C1krxJsMutgxl5t3+GlRTzzI3NEkifXx2pVsOvJdOGSmIgDhQ55FwdPA==",
+ "requires": {
+ "duplexer": "^0.1.1",
+ "pify": "^4.0.1"
+ }
+ },
"has": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
@@ -3989,6 +6406,26 @@
"function-bind": "^1.1.1"
}
},
+ "has-ansi": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
+ "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
+ "requires": {
+ "ansi-regex": "^2.0.0"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
+ }
+ }
+ },
+ "has-bigints": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz",
+ "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA=="
+ },
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
@@ -4148,11 +6585,21 @@
"react-is": "^16.7.0"
}
},
+ "html-entities": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.4.0.tgz",
+ "integrity": "sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA=="
+ },
"html-void-elements": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-1.0.5.tgz",
"integrity": "sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w=="
},
+ "http-cache-semantics": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
+ "integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ=="
+ },
"http-errors": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz",
@@ -4165,6 +6612,34 @@
"toidentifier": "1.0.0"
}
},
+ "http-parser-js": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.3.tgz",
+ "integrity": "sha512-t7hjvef/5HEK7RWTdUzVUhl8zkEu+LlaE0IYzdMuvbSDipxBRpOn4Uhw8ZyECEa808iVT8XCjzo6xmYt4CiLZg=="
+ },
+ "http2-wrapper": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz",
+ "integrity": "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==",
+ "requires": {
+ "quick-lru": "^5.1.1",
+ "resolve-alpn": "^1.0.0"
+ }
+ },
+ "https-proxy-agent": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz",
+ "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==",
+ "requires": {
+ "agent-base": "6",
+ "debug": "4"
+ }
+ },
+ "human-signals": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",
+ "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw=="
+ },
"hyphenate-style-name": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz",
@@ -4178,20 +6653,37 @@
"safer-buffer": ">= 2.1.2 < 3"
}
},
+ "icss-utils": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-5.1.0.tgz",
+ "integrity": "sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA=="
+ },
+ "ieee754": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
+ },
"ignore": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz",
- "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg=="
+ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
+ "dev": true
},
"image-size": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/image-size/-/image-size-0.6.3.tgz",
"integrity": "sha512-47xSUiQioGaB96nqtp5/q55m0aBQSQdyIloMOc/x+QVTDZLNmXE892IIDrJ0hM1A5vcNUDD5tDffkSP5lCaIIA=="
},
+ "immer": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/immer/-/immer-8.0.1.tgz",
+ "integrity": "sha512-aqXhGP7//Gui2+UrEtvxZxSquQVXTpZ7KDxfCcKAF3Vysvw0CViVaW9RZ1j1xlIYqaaaipBoqdqeibkc18PNvA=="
+ },
"import-fresh": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
"integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "dev": true,
"requires": {
"parent-module": "^1.0.0",
"resolve-from": "^4.0.0"
@@ -4200,7 +6692,8 @@
"imurmurhash": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
- "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o="
+ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
+ "dev": true
},
"inflight": {
"version": "1.0.6",
@@ -4216,6 +6709,11 @@
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
+ "ini": {
+ "version": "1.3.8",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
+ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew=="
+ },
"inline-style-parser": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.1.1.tgz",
@@ -4279,6 +6777,16 @@
}
}
},
+ "internal-slot": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz",
+ "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==",
+ "requires": {
+ "get-intrinsic": "^1.1.0",
+ "has": "^1.0.3",
+ "side-channel": "^1.0.4"
+ }
+ },
"invariant": {
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
@@ -4292,6 +6800,11 @@
"resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",
"integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo="
},
+ "ipaddr.js": {
+ "version": "1.9.1",
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
+ },
"is-accessor-descriptor": {
"version": "0.1.6",
"resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",
@@ -4334,11 +6847,37 @@
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",
"integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
},
+ "is-bigint": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz",
+ "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg=="
+ },
+ "is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "requires": {
+ "binary-extensions": "^2.0.0"
+ }
+ },
+ "is-boolean-object": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz",
+ "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==",
+ "requires": {
+ "call-bind": "^1.0.0"
+ }
+ },
"is-buffer": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz",
"integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ=="
},
+ "is-callable": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz",
+ "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ=="
+ },
"is-ci": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz",
@@ -4378,6 +6917,11 @@
}
}
},
+ "is-date-object": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz",
+ "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g=="
+ },
"is-decimal": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-1.0.4.tgz",
@@ -4405,6 +6949,11 @@
"resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz",
"integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE="
},
+ "is-docker": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+ "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="
+ },
"is-extendable": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
@@ -4441,6 +6990,11 @@
"lower-case": "^1.1.0"
}
},
+ "is-negative-zero": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
+ "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w=="
+ },
"is-number": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
@@ -4464,6 +7018,11 @@
}
}
},
+ "is-number-object": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz",
+ "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw=="
+ },
"is-obj": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
@@ -4482,11 +7041,38 @@
"isobject": "^3.0.1"
}
},
+ "is-regex": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz",
+ "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "is-root": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-root/-/is-root-2.1.0.tgz",
+ "integrity": "sha512-AGOriNp96vNBd3HtU+RzFEc75FfR5ymiYv8E553I71SCeXBiMsVDUtdio1OEFvrPyLIQ9tVR5RxXIFe5PUFjMg=="
+ },
"is-stream": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
},
+ "is-string": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz",
+ "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ=="
+ },
+ "is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "requires": {
+ "has-symbols": "^1.0.1"
+ }
+ },
"is-upper-case": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/is-upper-case/-/is-upper-case-1.1.2.tgz",
@@ -4783,6 +7369,16 @@
"resolved": "https://registry.npmjs.org/jetifier/-/jetifier-1.6.6.tgz",
"integrity": "sha512-JNAkmPeB/GS2tCRqUzRPsTOHpGDah7xP18vGJfIjZC+W2sxEHbxgJxetIjIqhjQ3yYbYNEELkM/spKLtwoOSUQ=="
},
+ "joycon": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.0.1.tgz",
+ "integrity": "sha512-SJcJNBg32dGgxhPtM0wQqxqV0ax9k/9TaUskGDSJkSFSQOEWWvQ3zzWdGQRIUry2j1zA5+ReH13t0Mf3StuVZA=="
+ },
+ "js-binary-schema-parser": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/js-binary-schema-parser/-/js-binary-schema-parser-2.0.2.tgz",
+ "integrity": "sha512-LUdtrIW6+4ERDhLO19cQBwYKWMcS09QpuBQSUmwYx+OXB8KzMiGDTNoVOTuo4dNrPItlYW0xyiUd1t/3HZtbxg=="
+ },
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
@@ -4807,6 +7403,11 @@
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
"integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA=="
},
+ "json-buffer": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
+ "integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
+ },
"json-parse-better-errors": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
@@ -4828,7 +7429,13 @@
"json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
- "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE="
+ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
+ "dev": true
+ },
+ "json3": {
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz",
+ "integrity": "sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA=="
},
"json5": {
"version": "1.0.1",
@@ -4851,6 +7458,23 @@
"resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz",
"integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM="
},
+ "jsx-ast-utils": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz",
+ "integrity": "sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==",
+ "requires": {
+ "array-includes": "^3.1.1",
+ "object.assign": "^4.1.0"
+ }
+ },
+ "keyv": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
+ "integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
+ "requires": {
+ "json-buffer": "3.0.0"
+ }
+ },
"kind-of": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
@@ -4864,6 +7488,19 @@
"graceful-fs": "^4.1.9"
}
},
+ "kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="
+ },
+ "latest-version": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz",
+ "integrity": "sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA==",
+ "requires": {
+ "package-json": "^6.3.0"
+ }
+ },
"leven": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
@@ -4873,11 +7510,17 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
"requires": {
"prelude-ls": "^1.2.1",
"type-check": "~0.4.0"
}
},
+ "loader-runner": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz",
+ "integrity": "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw=="
+ },
"loader-utils": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz",
@@ -4960,6 +7603,11 @@
"lower-case": "^1.1.2"
}
},
+ "lowercase-keys": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
+ "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
+ },
"lru-cache": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
@@ -4968,6 +7616,11 @@
"yallist": "^4.0.0"
}
},
+ "lru_map": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/lru_map/-/lru_map-0.4.1.tgz",
+ "integrity": "sha512-I+lBvqMMFfqaV8CJCISjI3wbjmwVu/VyOoU7+qtu9d7ioW5klMgsTTiUOUp+DJvfTTzKXoPbyC6YfgkNcyPSOg=="
+ },
"make-dir": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz",
@@ -4991,6 +7644,14 @@
"tmpl": "1.0.x"
}
},
+ "map-age-cleaner": {
+ "version": "0.1.3",
+ "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz",
+ "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==",
+ "requires": {
+ "p-defer": "^1.0.0"
+ }
+ },
"map-cache": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
@@ -5292,6 +7953,40 @@
}
}
},
+ "media-typer": {
+ "version": "0.3.0",
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
+ "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g="
+ },
+ "mem": {
+ "version": "8.1.1",
+ "resolved": "https://registry.npmjs.org/mem/-/mem-8.1.1.tgz",
+ "integrity": "sha512-qFCFUDs7U3b8mBDPyz5EToEKoAkgCzqquIgi9nkkR9bixxOVOre+09lbuH7+9Kn2NFpm56M3GUWVbU2hQgdACA==",
+ "requires": {
+ "map-age-cleaner": "^0.1.3",
+ "mimic-fn": "^3.1.0"
+ },
+ "dependencies": {
+ "mimic-fn": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-3.1.0.tgz",
+ "integrity": "sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ=="
+ }
+ }
+ },
+ "memfs": {
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/memfs/-/memfs-3.2.2.tgz",
+ "integrity": "sha512-RE0CwmIM3CEvpcdK3rZ19BC4E6hv9kADkMN5rPduRak58cNArWLi/9jFLsa4rhsjfVxMP3v0jO7FHXq7SvFY5Q==",
+ "requires": {
+ "fs-monkey": "1.0.3"
+ }
+ },
+ "merge-descriptors": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
+ "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E="
+ },
"merge-stream": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz",
@@ -5300,6 +7995,16 @@
"readable-stream": "^2.0.1"
}
},
+ "merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="
+ },
+ "methods": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
+ "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
+ },
"metro": {
"version": "0.59.0",
"resolved": "https://registry.npmjs.org/metro/-/metro-0.59.0.tgz",
@@ -5875,6 +8580,11 @@
"vlq": "^1.0.0"
}
},
+ "microevent.ts": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/microevent.ts/-/microevent.ts-0.1.1.tgz",
+ "integrity": "sha512-jo1OfR4TaEwd5HOrt5+tAZ9mqT4jmpNAusXtyfNzqVm9uiSYFZlKM1wYL4oU7azZW/PxQW53wM0S6OR1JHNa2g=="
+ },
"micromatch": {
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
@@ -5937,6 +8647,11 @@
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
"integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ=="
},
+ "mimic-response": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",
+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
+ },
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
@@ -5977,6 +8692,11 @@
"minimist": "^1.2.5"
}
},
+ "mkdirp-classic": {
+ "version": "0.5.3",
+ "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz",
+ "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A=="
+ },
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
@@ -5993,6 +8713,11 @@
"integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==",
"optional": true
},
+ "nanoid": {
+ "version": "3.1.22",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.22.tgz",
+ "integrity": "sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ=="
+ },
"nanomatch": {
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
@@ -6033,13 +8758,19 @@
"natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
- "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc="
+ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
+ "dev": true
},
"negotiator": {
"version": "0.6.2",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
"integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw=="
},
+ "neo-async": {
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz",
+ "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw=="
+ },
"nice-try": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
@@ -6104,6 +8835,11 @@
"remove-trailing-separator": "^1.0.1"
}
},
+ "normalize-url": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
+ "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ=="
+ },
"npm-run-path": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
@@ -6167,6 +8903,11 @@
}
}
},
+ "object-inspect": {
+ "version": "1.10.2",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.10.2.tgz",
+ "integrity": "sha512-gz58rdPpadwztRrPjZE9DZLOABUpTGdcANUgOwBFO1C+HZZhePoP83M65WGDmbpwFYJSWqavbl4SgDn4k8RYTA=="
+ },
"object-keys": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
@@ -6191,6 +8932,28 @@
"object-keys": "^1.1.1"
}
},
+ "object.entries": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.3.tgz",
+ "integrity": "sha512-ym7h7OZebNS96hn5IJeyUmaWhaSM4SVtAPPfNLQEI2MYWCO2egsITb9nab2+i/Pwibx+R0mtn+ltKJXRSeTMGg==",
+ "requires": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.1",
+ "has": "^1.0.3"
+ }
+ },
+ "object.fromentries": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.4.tgz",
+ "integrity": "sha512-EsFBshs5RUUpQEY1D4q/m59kMfz4YJvxuNCJcv/jWwOJr34EaVnG11ZrZa0UHB3wnzV1wx8m58T4hQL8IuNXlQ==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2",
+ "has": "^1.0.3"
+ }
+ },
"object.pick": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
@@ -6199,6 +8962,17 @@
"isobject": "^3.0.1"
}
},
+ "object.values": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.3.tgz",
+ "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2",
+ "has": "^1.0.3"
+ }
+ },
"on-finished": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
@@ -6240,6 +9014,7 @@
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",
"integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==",
+ "dev": true,
"requires": {
"deep-is": "^0.1.3",
"fast-levenshtein": "^2.0.6",
@@ -6282,11 +9057,29 @@
}
}
},
+ "original": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz",
+ "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==",
+ "requires": {
+ "url-parse": "^1.4.3"
+ }
+ },
"os-tmpdir": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
"integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ="
},
+ "p-cancelable": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
+ "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
+ },
+ "p-defer": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz",
+ "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww="
+ },
"p-finally": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz",
@@ -6313,6 +9106,24 @@
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ=="
},
+ "package-json": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/package-json/-/package-json-6.5.0.tgz",
+ "integrity": "sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ==",
+ "requires": {
+ "got": "^9.6.0",
+ "registry-auth-token": "^4.0.0",
+ "registry-url": "^5.0.0",
+ "semver": "^6.2.0"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
+ }
+ }
+ },
"param-case": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz",
@@ -6325,6 +9136,7 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
"requires": {
"callsites": "^3.0.0"
}
@@ -6393,6 +9205,11 @@
"no-case": "^2.2.0"
}
},
+ "path-dirname": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",
+ "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA="
+ },
"path-exists": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
@@ -6403,6 +9220,11 @@
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
},
+ "path-is-inside": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
+ "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM="
+ },
"path-key": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
@@ -6413,6 +9235,26 @@
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw=="
},
+ "path-to-regexp": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
+ "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
+ },
+ "path-type": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw=="
+ },
+ "pend": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
+ "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
+ },
+ "picomatch": {
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz",
+ "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg=="
+ },
"pify": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
@@ -6434,6 +9276,46 @@
"find-up": "^4.0.0"
}
},
+ "pkg-up": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz",
+ "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==",
+ "requires": {
+ "find-up": "^3.0.0"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
+ "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
+ "requires": {
+ "locate-path": "^3.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
+ "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
+ "requires": {
+ "p-locate": "^3.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
+ "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
+ "requires": {
+ "p-limit": "^2.0.0"
+ }
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU="
+ }
+ }
+ },
"plist": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/plist/-/plist-3.0.1.tgz",
@@ -6498,6 +9380,63 @@
"resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
"integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs="
},
+ "postcss": {
+ "version": "8.2.12",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.2.12.tgz",
+ "integrity": "sha512-BJnGT5+0q2tzvs6oQfnY2NpEJ7rIXNfBnZtQOKCIsweeWXBXeDd5k31UgTdS3d/c02ouspufn37mTaHWkJyzMQ==",
+ "requires": {
+ "colorette": "^1.2.2",
+ "nanoid": "^3.1.22",
+ "source-map": "^0.6.1"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ }
+ }
+ },
+ "postcss-modules-extract-imports": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz",
+ "integrity": "sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw=="
+ },
+ "postcss-modules-local-by-default": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz",
+ "integrity": "sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==",
+ "requires": {
+ "icss-utils": "^5.0.0",
+ "postcss-selector-parser": "^6.0.2",
+ "postcss-value-parser": "^4.1.0"
+ }
+ },
+ "postcss-modules-scope": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz",
+ "integrity": "sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==",
+ "requires": {
+ "postcss-selector-parser": "^6.0.4"
+ }
+ },
+ "postcss-modules-values": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz",
+ "integrity": "sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==",
+ "requires": {
+ "icss-utils": "^5.0.0"
+ }
+ },
+ "postcss-selector-parser": {
+ "version": "6.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.5.tgz",
+ "integrity": "sha512-aFYPoYmXbZ1V6HZaSvat08M97A8HqO6Pjz+PiNpw/DhuRrC72XWAdp3hL6wusDCN31sSmcZyMGa2hZEuX+Xfhg==",
+ "requires": {
+ "cssesc": "^3.0.0",
+ "util-deprecate": "^1.0.2"
+ }
+ },
"postcss-value-parser": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz",
@@ -6506,7 +9445,13 @@
"prelude-ls": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
- "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true
+ },
+ "prepend-http": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
+ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc="
},
"prettier": {
"version": "2.2.1",
@@ -6516,7 +9461,8 @@
"prettier-plugin-organize-imports": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/prettier-plugin-organize-imports/-/prettier-plugin-organize-imports-1.1.1.tgz",
- "integrity": "sha512-rFA1lnek1FYkMGthm4xBKME41qUKItTovuo24bCGZu/Vu1n3gW71UPLAkIdwewwkZCe29gRVweSOPXvAdckFuw=="
+ "integrity": "sha512-rFA1lnek1FYkMGthm4xBKME41qUKItTovuo24bCGZu/Vu1n3gW71UPLAkIdwewwkZCe29gRVweSOPXvAdckFuw==",
+ "dev": true
},
"pretty-format": {
"version": "24.9.0",
@@ -6580,6 +9526,15 @@
"asap": "~2.0.6"
}
},
+ "prompts": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.0.tgz",
+ "integrity": "sha512-awZAKrk3vN6CroQukBL+R9051a4R3zCZBlJm/HBfrSZ8iTpYix3VX1vU4mveiLpiwmOJT4wokTF9m6HUk4KqWQ==",
+ "requires": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ }
+ },
"prop-types": {
"version": "15.7.2",
"resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz",
@@ -6598,6 +9553,20 @@
"xtend": "^4.0.0"
}
},
+ "proxy-addr": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
+ "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
+ "requires": {
+ "forwarded": "~0.1.2",
+ "ipaddr.js": "1.9.1"
+ }
+ },
+ "proxy-from-env": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
+ },
"pseudomap": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
@@ -6617,11 +9586,225 @@
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
},
+ "puppeteer-core": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-8.0.0.tgz",
+ "integrity": "sha512-kRTiGh42+4eiw9tl489p//8Zpg3LWmz0K3mOpv0qj5PsCV7jE43SLIi0E50suLh8OghXsFhJFoE98vEmXUnDew==",
+ "requires": {
+ "debug": "^4.1.0",
+ "devtools-protocol": "0.0.854822",
+ "extract-zip": "^2.0.0",
+ "https-proxy-agent": "^5.0.0",
+ "node-fetch": "^2.6.1",
+ "pkg-dir": "^4.2.0",
+ "progress": "^2.0.1",
+ "proxy-from-env": "^1.1.0",
+ "rimraf": "^3.0.2",
+ "tar-fs": "^2.0.0",
+ "unbzip2-stream": "^1.3.3",
+ "ws": "^7.2.3"
+ },
+ "dependencies": {
+ "ws": {
+ "version": "7.4.5",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
+ "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g=="
+ }
+ }
+ },
+ "qs": {
+ "version": "6.7.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
+ "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ=="
+ },
+ "querystring": {
+ "version": "0.2.1",
+ "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz",
+ "integrity": "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg=="
+ },
+ "querystringify": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
+ "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
+ },
+ "queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A=="
+ },
+ "quick-lru": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz",
+ "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA=="
+ },
+ "randombytes": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
+ "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",
+ "requires": {
+ "safe-buffer": "^5.1.0"
+ }
+ },
"range-parser": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
"integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
},
+ "raw-body": {
+ "version": "2.4.0",
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
+ "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
+ "requires": {
+ "bytes": "3.1.0",
+ "http-errors": "1.7.2",
+ "iconv-lite": "0.4.24",
+ "unpipe": "1.0.0"
+ },
+ "dependencies": {
+ "bytes": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
+ "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg=="
+ },
+ "http-errors": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
+ "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
+ "requires": {
+ "depd": "~1.1.2",
+ "inherits": "2.0.3",
+ "setprototypeof": "1.1.1",
+ "statuses": ">= 1.5.0 < 2",
+ "toidentifier": "1.0.0"
+ }
+ },
+ "inherits": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
+ "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
+ }
+ }
+ },
+ "rc": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz",
+ "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==",
+ "requires": {
+ "deep-extend": "^0.6.0",
+ "ini": "~1.3.0",
+ "minimist": "^1.2.0",
+ "strip-json-comments": "~2.0.1"
+ },
+ "dependencies": {
+ "strip-json-comments": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
+ "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
+ }
+ }
+ },
+ "react-dev-utils": {
+ "version": "11.0.4",
+ "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-11.0.4.tgz",
+ "integrity": "sha512-dx0LvIGHcOPtKbeiSUM4jqpBl3TcY7CDjZdfOIcKeznE7BWr9dg0iPG90G5yfVQ+p/rGNMXdbfStvzQZEVEi4A==",
+ "requires": {
+ "@babel/code-frame": "7.10.4",
+ "address": "1.1.2",
+ "browserslist": "4.14.2",
+ "chalk": "2.4.2",
+ "cross-spawn": "7.0.3",
+ "detect-port-alt": "1.1.6",
+ "escape-string-regexp": "2.0.0",
+ "filesize": "6.1.0",
+ "find-up": "4.1.0",
+ "fork-ts-checker-webpack-plugin": "4.1.6",
+ "global-modules": "2.0.0",
+ "globby": "11.0.1",
+ "gzip-size": "5.1.1",
+ "immer": "8.0.1",
+ "is-root": "2.1.0",
+ "loader-utils": "2.0.0",
+ "open": "^7.0.2",
+ "pkg-up": "3.1.0",
+ "prompts": "2.4.0",
+ "react-error-overlay": "^6.0.9",
+ "recursive-readdir": "2.2.2",
+ "shell-quote": "1.7.2",
+ "strip-ansi": "6.0.0",
+ "text-table": "0.2.0"
+ },
+ "dependencies": {
+ "@babel/code-frame": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
+ "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
+ "requires": {
+ "@babel/highlight": "^7.10.4"
+ }
+ },
+ "browserslist": {
+ "version": "4.14.2",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.2.tgz",
+ "integrity": "sha512-HI4lPveGKUR0x2StIz+2FXfDk9SfVMrxn6PLh1JeGUwcuoDkdKZebWiyLRJ68iIPDpMI4JLVDf7S7XzslgWOhw==",
+ "requires": {
+ "caniuse-lite": "^1.0.30001125",
+ "electron-to-chromium": "^1.3.564",
+ "escalade": "^3.0.2",
+ "node-releases": "^1.1.61"
+ }
+ },
+ "escape-string-regexp": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
+ "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w=="
+ },
+ "is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "requires": {
+ "is-docker": "^2.0.0"
+ }
+ },
+ "json5": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "requires": {
+ "minimist": "^1.2.5"
+ }
+ },
+ "loader-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
+ "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^3.0.0",
+ "json5": "^2.1.2"
+ }
+ },
+ "open": {
+ "version": "7.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz",
+ "integrity": "sha512-MVHddDVweXZF3awtlAS+6pgKLlm/JgxZ90+/NBurBoQctVOOB/zDdVjcyPzQ+0laDGbsWgrRkflI65sQeOgT9Q==",
+ "requires": {
+ "is-docker": "^2.0.0",
+ "is-wsl": "^2.1.1"
+ }
+ },
+ "react-error-overlay": {
+ "version": "6.0.9",
+ "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.9.tgz",
+ "integrity": "sha512-nQTTcUu+ATDbrSD1BZHr5kgSD4oF8OFjxun8uAaL8RwPBacGBNPf/yAuVVdx17N8XNzRDMrZ9XcKZHCjPW+9ew=="
+ },
+ "shell-quote": {
+ "version": "1.7.2",
+ "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.7.2.tgz",
+ "integrity": "sha512-mRz/m/JVscCrkMyPqHc/bczi3OQHkLTqXHEFu0zDhK/qfv3UcOA4SVmRCLmos4bhjr9ekVQubj/R7waKapmiQg=="
+ }
+ }
+ },
"react-devtools-core": {
"version": "4.10.1",
"resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.10.1.tgz",
@@ -6638,6 +9821,11 @@
}
}
},
+ "react-error-overlay": {
+ "version": "7.0.0-next.117",
+ "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-7.0.0-next.117.tgz",
+ "integrity": "sha512-ywUpTqADZP9PWcsD1kwwU0XpSVpCc3LBSawwZ/8Erm4ojSERHUyyrLSUP/ms+XvLGgUWOLSE9elXkUXPyye5+Q=="
+ },
"react-is": {
"version": "16.13.1",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
@@ -6837,11 +10025,27 @@
"util-deprecate": "~1.0.1"
}
},
+ "readdirp": {
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz",
+ "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==",
+ "requires": {
+ "picomatch": "^2.2.1"
+ }
+ },
"reading-time": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/reading-time/-/reading-time-1.3.0.tgz",
"integrity": "sha512-RJ8J5O6UvrclfZpcPSPuKusrdRfoY7uXXoYOOdeswZNtSkQaewT3919yz6RyloDBR+iwcUyz5zGOUjhgvfuv3g=="
},
+ "recursive-readdir": {
+ "version": "2.2.2",
+ "resolved": "https://registry.npmjs.org/recursive-readdir/-/recursive-readdir-2.2.2.tgz",
+ "integrity": "sha512-nRCcW9Sj7NuZwa2XvH9co8NPeXUBhZP7CRKJtU+cS6PW9FpCIFoI5ib0NT1ZrbNuPoRy0ylyCaUL8Gih4LSyFg==",
+ "requires": {
+ "minimatch": "3.0.4"
+ }
+ },
"regenerate": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz",
@@ -6896,6 +10100,15 @@
}
}
},
+ "regexp.prototype.flags": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz",
+ "integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
+ }
+ },
"regexpp": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz",
@@ -6914,6 +10127,22 @@
"unicode-match-property-value-ecmascript": "^1.2.0"
}
},
+ "registry-auth-token": {
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz",
+ "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==",
+ "requires": {
+ "rc": "^1.2.8"
+ }
+ },
+ "registry-url": {
+ "version": "5.1.0",
+ "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-5.1.0.tgz",
+ "integrity": "sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw==",
+ "requires": {
+ "rc": "^1.2.8"
+ }
+ },
"regjsgen": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz",
@@ -7060,6 +10289,11 @@
"unist-util-visit": "^1.0.0"
}
},
+ "remotion": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/remotion/-/remotion-2.0.5.tgz",
+ "integrity": "sha512-IrMxkMQs6V2zuzFJhjAMJnUAPcQXSOvkmR4QHjsfIxskZBol308xplFX8pqMCdVij9OemlU+d2z2lrYSq3vCXQ=="
+ },
"remove-trailing-separator": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
@@ -7088,13 +10322,19 @@
"require-from-string": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",
- "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+ "dev": true
},
"require-main-filename": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg=="
},
+ "requires-port": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
+ "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
+ },
"resolve": {
"version": "1.20.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz",
@@ -7104,16 +10344,30 @@
"path-parse": "^1.0.6"
}
},
+ "resolve-alpn": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.1.2.tgz",
+ "integrity": "sha512-8OyfzhAtA32LVUsJSke3auIyINcwdh5l3cvYKdKO0nvsYSKuiLfTM5i78PJswFPT8y6cPW+L1v6/hE95chcpDA=="
+ },
"resolve-from": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
- "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true
},
"resolve-url": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
"integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo="
},
+ "responselike": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
+ "integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
+ "requires": {
+ "lowercase-keys": "^1.0.0"
+ }
+ },
"restore-cursor": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
@@ -7128,6 +10382,11 @@
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
"integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg=="
},
+ "reusify": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw=="
+ },
"rimraf": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
@@ -7146,6 +10405,14 @@
"resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz",
"integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ=="
},
+ "run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "requires": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
"rx-lite": {
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz",
@@ -7159,6 +10426,14 @@
"rx-lite": "*"
}
},
+ "rxjs": {
+ "version": "6.6.7",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz",
+ "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==",
+ "requires": {
+ "tslib": "^1.9.0"
+ }
+ },
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
@@ -7193,6 +10468,14 @@
"walker": "~1.0.5"
}
},
+ "sanitize-filename": {
+ "version": "1.6.3",
+ "resolved": "https://registry.npmjs.org/sanitize-filename/-/sanitize-filename-1.6.3.tgz",
+ "integrity": "sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==",
+ "requires": {
+ "truncate-utf8-bytes": "^1.0.0"
+ }
+ },
"sax": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
@@ -7293,6 +10576,59 @@
"resolved": "https://registry.npmjs.org/serialize-error/-/serialize-error-2.1.0.tgz",
"integrity": "sha1-ULZ51WNc34Rme9yOWa9OW4HV9go="
},
+ "serialize-javascript": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz",
+ "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==",
+ "requires": {
+ "randombytes": "^2.1.0"
+ }
+ },
+ "serve-handler": {
+ "version": "6.1.3",
+ "resolved": "https://registry.npmjs.org/serve-handler/-/serve-handler-6.1.3.tgz",
+ "integrity": "sha512-FosMqFBNrLyeiIDvP1zgO6YoTzFYHxLDEIavhlmQ+knB2Z7l1t+kGLHkZIDN7UVWqQAmKI3D20A6F6jo3nDd4w==",
+ "requires": {
+ "bytes": "3.0.0",
+ "content-disposition": "0.5.2",
+ "fast-url-parser": "1.1.3",
+ "mime-types": "2.1.18",
+ "minimatch": "3.0.4",
+ "path-is-inside": "1.0.2",
+ "path-to-regexp": "2.2.1",
+ "range-parser": "1.2.0"
+ },
+ "dependencies": {
+ "content-disposition": {
+ "version": "0.5.2",
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz",
+ "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ="
+ },
+ "mime-db": {
+ "version": "1.33.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz",
+ "integrity": "sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ=="
+ },
+ "mime-types": {
+ "version": "2.1.18",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.18.tgz",
+ "integrity": "sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==",
+ "requires": {
+ "mime-db": "~1.33.0"
+ }
+ },
+ "path-to-regexp": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz",
+ "integrity": "sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ=="
+ },
+ "range-parser": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
+ "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4="
+ }
+ }
+ },
"serve-static": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
@@ -7359,6 +10695,16 @@
"jsonify": "~0.0.0"
}
},
+ "side-channel": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
+ "requires": {
+ "call-bind": "^1.0.0",
+ "get-intrinsic": "^1.0.2",
+ "object-inspect": "^1.9.0"
+ }
+ },
"signal-exit": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz",
@@ -7374,6 +10720,11 @@
"plist": "^3.0.1"
}
},
+ "sisteransi": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg=="
+ },
"slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
@@ -7383,6 +10734,7 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz",
"integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==",
+ "dev": true,
"requires": {
"ansi-styles": "^4.0.0",
"astral-regex": "^2.0.0",
@@ -7393,6 +10745,7 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
"requires": {
"color-convert": "^2.0.1"
}
@@ -7401,6 +10754,7 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
"requires": {
"color-name": "~1.1.4"
}
@@ -7408,7 +10762,8 @@
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
}
}
},
@@ -7527,6 +10882,34 @@
}
}
},
+ "sockjs-client": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.5.1.tgz",
+ "integrity": "sha512-VnVAb663fosipI/m6pqRXakEOw7nvd7TUgdr3PlR/8V2I95QIdwT8L4nMxhyU8SmDBHYXU1TOElaKOmKLfYzeQ==",
+ "requires": {
+ "debug": "^3.2.6",
+ "eventsource": "^1.0.7",
+ "faye-websocket": "^0.11.3",
+ "inherits": "^2.0.4",
+ "json3": "^3.3.3",
+ "url-parse": "^1.5.1"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "requires": {
+ "ms": "^2.1.1"
+ }
+ }
+ }
+ },
+ "source-list-map": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz",
+ "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw=="
+ },
"source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
@@ -7681,6 +11064,38 @@
"strip-ansi": "^6.0.0"
}
},
+ "string.prototype.matchall": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.4.tgz",
+ "integrity": "sha512-pknFIWVachNcyqRfaQSeu/FUfpvJTe4uskUSZ9Wc1RijsPuzbZ8TyYT8WCNnntCjUEqQ3vUHMAfVj2+wLAisPQ==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2",
+ "has-symbols": "^1.0.1",
+ "internal-slot": "^1.0.3",
+ "regexp.prototype.flags": "^1.3.1",
+ "side-channel": "^1.0.4"
+ }
+ },
+ "string.prototype.trimend": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz",
+ "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
+ }
+ },
+ "string.prototype.trimstart": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz",
+ "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==",
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
+ }
+ },
"string_decoder": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
@@ -7712,10 +11127,55 @@
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
"integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8="
},
+ "strip-final-newline": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
+ "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA=="
+ },
"strip-json-comments": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
- "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig=="
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true
+ },
+ "style-loader": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-2.0.0.tgz",
+ "integrity": "sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ==",
+ "requires": {
+ "loader-utils": "^2.0.0",
+ "schema-utils": "^3.0.0"
+ },
+ "dependencies": {
+ "json5": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "requires": {
+ "minimist": "^1.2.5"
+ }
+ },
+ "loader-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
+ "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^3.0.0",
+ "json5": "^2.1.2"
+ }
+ },
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ }
+ }
},
"style-to-object": {
"version": "0.3.0",
@@ -7773,6 +11233,7 @@
"version": "6.0.7",
"resolved": "https://registry.npmjs.org/table/-/table-6.0.7.tgz",
"integrity": "sha512-rxZevLGTUzWna/qBLObOe16kB2RTnnbhciwgPbMMlazz1yZGVEgnZK762xyVdVznhqxrfCeBMmMkgOOaPwjH7g==",
+ "dev": true,
"requires": {
"ajv": "^7.0.2",
"lodash": "^4.17.20",
@@ -7784,6 +11245,7 @@
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-7.2.3.tgz",
"integrity": "sha512-idv5WZvKVXDqKralOImQgPM9v6WOdLNa0IY3B3doOjw/YxRGT8I+allIJ6kd7Uaj+SF1xZUSU+nPM5aDNBVtnw==",
+ "dev": true,
"requires": {
"fast-deep-equal": "^3.1.1",
"json-schema-traverse": "^1.0.0",
@@ -7794,7 +11256,48 @@
"json-schema-traverse": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
- "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
+ "dev": true
+ }
+ }
+ },
+ "tapable": {
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz",
+ "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA=="
+ },
+ "tar-fs": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
+ "integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
+ "requires": {
+ "chownr": "^1.1.1",
+ "mkdirp-classic": "^0.5.2",
+ "pump": "^3.0.0",
+ "tar-stream": "^2.1.4"
+ }
+ },
+ "tar-stream": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz",
+ "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==",
+ "requires": {
+ "bl": "^4.0.3",
+ "end-of-stream": "^1.4.1",
+ "fs-constants": "^1.0.0",
+ "inherits": "^2.0.3",
+ "readable-stream": "^3.1.1"
+ },
+ "dependencies": {
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
}
}
},
@@ -7814,6 +11317,89 @@
}
}
},
+ "terser": {
+ "version": "5.6.1",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.6.1.tgz",
+ "integrity": "sha512-yv9YLFQQ+3ZqgWCUk+pvNJwgUTdlIxUk1WTN+RnaFJe2L7ipG2csPT0ra2XRm7Cs8cxN7QXmK1rFzEwYEQkzXw==",
+ "requires": {
+ "commander": "^2.20.0",
+ "source-map": "~0.7.2",
+ "source-map-support": "~0.5.19"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.7.3",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
+ "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ=="
+ }
+ }
+ },
+ "terser-webpack-plugin": {
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.1.1.tgz",
+ "integrity": "sha512-5XNNXZiR8YO6X6KhSGXfY0QrGrCRlSwAEjIIrlRQR4W8nP69TaJUlh3bkuac6zzgspiGPfKEHcY295MMVExl5Q==",
+ "requires": {
+ "jest-worker": "^26.6.2",
+ "p-limit": "^3.1.0",
+ "schema-utils": "^3.0.0",
+ "serialize-javascript": "^5.0.1",
+ "source-map": "^0.6.1",
+ "terser": "^5.5.1"
+ },
+ "dependencies": {
+ "has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
+ },
+ "jest-worker": {
+ "version": "26.6.2",
+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz",
+ "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==",
+ "requires": {
+ "@types/node": "*",
+ "merge-stream": "^2.0.0",
+ "supports-color": "^7.0.0"
+ }
+ },
+ "merge-stream": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
+ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="
+ },
+ "p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "requires": {
+ "yocto-queue": "^0.1.0"
+ }
+ },
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ },
+ "supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "requires": {
+ "has-flag": "^4.0.0"
+ }
+ }
+ }
+ },
"text-table": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
@@ -7824,11 +11410,6 @@
"resolved": "https://registry.npmjs.org/textr/-/textr-0.3.0.tgz",
"integrity": "sha1-cXNhKGlirI3za3omGft3OhW5t/c="
},
- "three": {
- "version": "0.125.2",
- "resolved": "https://registry.npmjs.org/three/-/three-0.125.2.tgz",
- "integrity": "sha512-7rIRO23jVKWcAPFdW/HREU2NZMGWPBZ4XwEMt0Ak0jwLUKVJhcKM55eCBWyGZq/KiQbeo1IeuAoo/9l2dzhTXA=="
- },
"throat": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz",
@@ -7909,6 +11490,11 @@
}
}
},
+ "to-readable-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/to-readable-stream/-/to-readable-stream-1.0.0.tgz",
+ "integrity": "sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q=="
+ },
"to-regex": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
@@ -7978,6 +11564,14 @@
"resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz",
"integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA=="
},
+ "truncate-utf8-bytes": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz",
+ "integrity": "sha1-QFkjkJWS1W94pYGENLC3hInKXys=",
+ "requires": {
+ "utf8-byte-length": "^1.0.1"
+ }
+ },
"ts-unused-exports": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/ts-unused-exports/-/ts-unused-exports-7.0.3.tgz",
@@ -8043,10 +11637,24 @@
"strip-bom": "^3.0.0"
}
},
+ "tslib": {
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
+ },
+ "tsutils": {
+ "version": "3.21.0",
+ "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz",
+ "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==",
+ "requires": {
+ "tslib": "^1.8.1"
+ }
+ },
"type-check": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
"requires": {
"prelude-ls": "^1.2.1"
}
@@ -8054,7 +11662,17 @@
"type-fest": {
"version": "0.8.1",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
- "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA=="
+ "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
+ "dev": true
+ },
+ "type-is": {
+ "version": "1.6.18",
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
+ "requires": {
+ "media-typer": "0.3.0",
+ "mime-types": "~2.1.24"
+ }
},
"typedarray": {
"version": "0.0.6",
@@ -8135,6 +11753,26 @@
"resolved": "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz",
"integrity": "sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po="
},
+ "unbox-primitive": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz",
+ "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "has-bigints": "^1.0.1",
+ "has-symbols": "^1.0.2",
+ "which-boxed-primitive": "^1.0.2"
+ }
+ },
+ "unbzip2-stream": {
+ "version": "1.4.3",
+ "resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz",
+ "integrity": "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==",
+ "requires": {
+ "buffer": "^5.2.1",
+ "through": "^2.3.8"
+ }
+ },
"unherit": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/unherit/-/unherit-1.1.3.tgz",
@@ -8352,6 +11990,63 @@
"resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
"integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI="
},
+ "url-loader": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-4.1.1.tgz",
+ "integrity": "sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==",
+ "requires": {
+ "loader-utils": "^2.0.0",
+ "mime-types": "^2.1.27",
+ "schema-utils": "^3.0.0"
+ },
+ "dependencies": {
+ "json5": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "requires": {
+ "minimist": "^1.2.5"
+ }
+ },
+ "loader-utils": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz",
+ "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==",
+ "requires": {
+ "big.js": "^5.2.2",
+ "emojis-list": "^3.0.0",
+ "json5": "^2.1.2"
+ }
+ },
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ }
+ }
+ },
+ "url-parse": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.1.tgz",
+ "integrity": "sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==",
+ "requires": {
+ "querystringify": "^2.1.1",
+ "requires-port": "^1.0.0"
+ }
+ },
+ "url-parse-lax": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
+ "integrity": "sha1-FrXK/Afb42dsGxmZF3gj1lA6yww=",
+ "requires": {
+ "prepend-http": "^2.0.0"
+ }
+ },
"use": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
@@ -8365,6 +12060,11 @@
"object-assign": "^4.1.1"
}
},
+ "utf8-byte-length": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz",
+ "integrity": "sha1-9F8VDExm7uloGGUFq5P8u4rWv2E="
+ },
"util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
@@ -8383,7 +12083,8 @@
"v8-compile-cache": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",
- "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA=="
+ "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
+ "dev": true
},
"vary": {
"version": "1.1.2",
@@ -8428,6 +12129,15 @@
"makeerror": "1.0.x"
}
},
+ "watchpack": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-2.1.1.tgz",
+ "integrity": "sha512-Oo7LXCmc1eE1AjyuSBmtC3+Wy4HcV8PxWh2kP6fOl8yTlNS7r0K9l1ao2lrrUza7V39Y3D/BbJgY8VeSlc5JKw==",
+ "requires": {
+ "glob-to-regexp": "^0.4.1",
+ "graceful-fs": "^4.1.2"
+ }
+ },
"wcwidth": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
@@ -8441,6 +12151,115 @@
"resolved": "https://registry.npmjs.org/web-namespaces/-/web-namespaces-1.1.4.tgz",
"integrity": "sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw=="
},
+ "webpack": {
+ "version": "5.33.2",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.33.2.tgz",
+ "integrity": "sha512-X4b7F1sYBmJx8mlh2B7mV5szEkE0jYNJ2y3akgAP0ERi0vLCG1VvdsIxt8lFd4st6SUy0lf7W0CCQS566MBpJg==",
+ "requires": {
+ "@types/eslint-scope": "^3.7.0",
+ "@types/estree": "^0.0.46",
+ "@webassemblyjs/ast": "1.11.0",
+ "@webassemblyjs/wasm-edit": "1.11.0",
+ "@webassemblyjs/wasm-parser": "1.11.0",
+ "acorn": "^8.0.4",
+ "browserslist": "^4.14.5",
+ "chrome-trace-event": "^1.0.2",
+ "enhanced-resolve": "^5.7.0",
+ "es-module-lexer": "^0.4.0",
+ "eslint-scope": "^5.1.1",
+ "events": "^3.2.0",
+ "glob-to-regexp": "^0.4.1",
+ "graceful-fs": "^4.2.4",
+ "json-parse-better-errors": "^1.0.2",
+ "loader-runner": "^4.2.0",
+ "mime-types": "^2.1.27",
+ "neo-async": "^2.6.2",
+ "schema-utils": "^3.0.0",
+ "tapable": "^2.1.1",
+ "terser-webpack-plugin": "^5.1.1",
+ "watchpack": "^2.0.0",
+ "webpack-sources": "^2.1.1"
+ },
+ "dependencies": {
+ "acorn": {
+ "version": "8.1.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.1.1.tgz",
+ "integrity": "sha512-xYiIVjNuqtKXMxlRMDc6mZUhXehod4a3gbZ1qRlM7icK4EbxUFNLhWoPblCvFtB2Y9CIqHP3CF/rdxLItaQv8g=="
+ },
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ },
+ "tapable": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.0.tgz",
+ "integrity": "sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw=="
+ }
+ }
+ },
+ "webpack-hot-middleware": {
+ "version": "2.25.0",
+ "resolved": "https://registry.npmjs.org/webpack-hot-middleware/-/webpack-hot-middleware-2.25.0.tgz",
+ "integrity": "sha512-xs5dPOrGPCzuRXNi8F6rwhawWvQQkeli5Ro48PRuQh8pYPCPmNnltP9itiUPT4xI8oW+y0m59lyyeQk54s5VgA==",
+ "requires": {
+ "ansi-html": "0.0.7",
+ "html-entities": "^1.2.0",
+ "querystring": "^0.2.0",
+ "strip-ansi": "^3.0.0"
+ },
+ "dependencies": {
+ "ansi-regex": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
+ "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
+ },
+ "strip-ansi": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
+ "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
+ "requires": {
+ "ansi-regex": "^2.0.0"
+ }
+ }
+ }
+ },
+ "webpack-sources": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.2.0.tgz",
+ "integrity": "sha512-bQsA24JLwcnWGArOKUxYKhX3Mz/nK1Xf6hxullKERyktjNMC4x8koOeaDNTA2fEJ09BdWLbM/iTW0ithREUP0w==",
+ "requires": {
+ "source-list-map": "^2.0.1",
+ "source-map": "^0.6.1"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ }
+ }
+ },
+ "websocket-driver": {
+ "version": "0.7.4",
+ "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz",
+ "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==",
+ "requires": {
+ "http-parser-js": ">=0.5.1",
+ "safe-buffer": ">=5.1.0",
+ "websocket-extensions": ">=0.1.1"
+ }
+ },
+ "websocket-extensions": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz",
+ "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg=="
+ },
"whatwg-fetch": {
"version": "3.6.2",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz",
@@ -8454,6 +12273,18 @@
"isexe": "^2.0.0"
}
},
+ "which-boxed-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
+ "requires": {
+ "is-bigint": "^1.0.1",
+ "is-boolean-object": "^1.1.0",
+ "is-number-object": "^1.0.4",
+ "is-string": "^1.0.5",
+ "is-symbol": "^1.0.3"
+ }
+ },
"which-module": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz",
@@ -8462,13 +12293,22 @@
"word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
- "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ=="
+ "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
+ "dev": true
},
"wordwrap": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
"integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus="
},
+ "worker-rpc": {
+ "version": "0.1.1",
+ "resolved": "https://registry.npmjs.org/worker-rpc/-/worker-rpc-0.1.1.tgz",
+ "integrity": "sha512-P1WjMrUB3qgJNI9jfmpZ/htmBEjFh//6l/5y8SD9hg1Ef5zTTVVoRjTrTEzPrNBQvmhMxkoTsjOXN10GWU7aCg==",
+ "requires": {
+ "microevent.ts": "~0.1.1"
+ }
+ },
"wrap-ansi": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
@@ -8600,6 +12440,20 @@
"decamelize": "^1.2.0"
}
},
+ "yauzl": {
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
+ "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=",
+ "requires": {
+ "buffer-crc32": "~0.2.3",
+ "fd-slicer": "~1.1.0"
+ }
+ },
+ "yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="
+ },
"zwitch": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz",
diff --git a/packages/example/src/ThreeBasic/index.tsx b/packages/example/src/ThreeBasic/index.tsx
index dbd5cc59ef..9854c5b6a9 100644
--- a/packages/example/src/ThreeBasic/index.tsx
+++ b/packages/example/src/ThreeBasic/index.tsx
@@ -16,8 +16,9 @@ const ThreeBasic = (): React.ReactElement => {
<ambientLight intensity={0.15} />
<pointLight args={[undefined, 0.4]} position={[200, 200, 0]} />
- <ThreeVideo ignoreDepth fullViewport src={videoSrc} startFrom={460} />
-
+ {/**
+ * // TODO: Cannot find parent of sequence
+ */}
<Sequence layout="none" from={-460} durationInFrames={Infinity}>
<ThreeVideo ignoreDepth src={videoSrc} />
</Sequence>
diff --git a/packages/three/src/effects/SwirlEffect.tsx b/packages/example/src/ThreePostprocessing/SwirlEffect.tsx
similarity index 63%
rename from packages/three/src/effects/SwirlEffect.tsx
rename to packages/example/src/ThreePostprocessing/SwirlEffect.tsx
index baf500ddc7..a26b17e740 100644
--- a/packages/three/src/effects/SwirlEffect.tsx
+++ b/packages/example/src/ThreePostprocessing/SwirlEffect.tsx
@@ -1,8 +1,6 @@
-/// <reference path="./postprocessing.d.ts" />
-
-import { BlendFunction, Effect } from 'postprocessing';
-import React, { forwardRef, useMemo } from 'react';
-import { Uniform, Vector2, WebGLRenderer, WebGLRenderTarget } from 'three';
+import {BlendFunction, Effect} from 'postprocessing';
+import React, {forwardRef, useMemo} from 'react';
+import {Uniform, Vector2} from 'three';
const fragmentShader = `
uniform vec2 offset;
@@ -43,26 +41,24 @@ export class SwirlEffectImpl extends Effect {
});
}
- public update(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- deltaTime?: number
- ) {
- this.uniforms.get('offset')!.value = this.options.offset || new Vector2();
- this.uniforms.get('angle')!.value = this.options.angle || 0;
- this.uniforms.get('radius')!.value = this.options.radius ?? 100;
+ public update(): void {
+ (this.uniforms.get('offset') as Uniform).value =
+ this.options.offset || new Vector2();
+ (this.uniforms.get('angle') as Uniform).value = this.options.angle || 0;
+ (this.uniforms.get('radius') as Uniform).value = this.options.radius ?? 100;
}
}
export const SwirlEffect = forwardRef(
(
- { offset, angle, radius }: SwirlEffectOptions,
+ {offset, angle, radius}: SwirlEffectOptions,
ref: React.ForwardedRef<'primitive'>
) => {
- const effect = useMemo(
- () => new SwirlEffectImpl({ offset, angle, radius }),
- [offset, angle, radius]
- );
+ const effect = useMemo(() => new SwirlEffectImpl({offset, angle, radius}), [
+ offset,
+ angle,
+ radius,
+ ]);
return <primitive ref={ref} object={effect} dispose={null} />;
}
);
diff --git a/packages/example/src/ThreePostprocessing/index.tsx b/packages/example/src/ThreePostprocessing/index.tsx
index d4e9cb95da..50e9880954 100644
--- a/packages/example/src/ThreePostprocessing/index.tsx
+++ b/packages/example/src/ThreePostprocessing/index.tsx
@@ -1,70 +1,31 @@
-import {EffectComposer, Scanline, Vignette} from '@react-three/postprocessing';
-import {SwirlEffect, ThreeCanvas, ThreeVideo} from '@remotion/three';
+import {
+ DotScreen,
+ EffectComposer,
+ Scanline,
+ Sepia,
+ Vignette,
+} from '@react-three/postprocessing';
+import {ThreeCanvas, ThreeVideo} from '@remotion/three';
import React from 'react';
-import {useCurrentFrame} from 'remotion';
+import {Sequence, useCurrentFrame} from 'remotion';
+import {SwirlEffect} from './SwirlEffect';
const videoSrc =
'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4';
const ThreePostprocessing = (): React.ReactElement => {
const frame = useCurrentFrame();
- const [enableEffects, setEnableEffects] = React.useState(true); // eslint-disable-line @typescript-eslint/no-unused-vars
return (
- <div
- style={{display: 'flex', width: '100%'}}
- // onClick={() => setEnableEffects(x => !x)}
- >
- <ThreeCanvas
- orthographic={false}
- camera={{fov: 75, position: [0, 0, 470]}}
- >
- <ambientLight intensity={0.15} />
- <pointLight args={[undefined, 0.4]} position={[200, 200, 0]} />
-
+ <div style={{flex: 1}}>
+ <ThreeCanvas orthographic={false}>
<ThreeVideo ignoreDepth fullViewport src={videoSrc} startFrom={460} />
-
- <mesh
- position={[-300, -200, 0]}
- rotation={[
- frame * 0.06 * 0.5,
- frame * 0.07 * 0.5,
- frame * 0.08 * 0.5,
- ]}
- >
- <boxGeometry args={[100, 100, 100]} />
- <meshStandardMaterial
- color={[
- Math.sin(frame * 0.12) * 0.5 + 0.5,
- Math.cos(frame * 0.11) * 0.5 + 0.5,
- Math.sin(frame * 0.08) * 0.5 + 0.5,
- ]}
- />
- </mesh>
-
- <mesh
- position={[300, -200, 0]}
- rotation={[
- frame * 0.06 * 0.5,
- frame * 0.07 * 0.5,
- frame * 0.08 * 0.5,
- ]}
+ <EffectComposer
+ multisampling={0} // TODO: Remove with three.js v128
>
- <cylinderGeometry args={[50, 50, 180, 24]} />
- <meshStandardMaterial color="red" />
- </mesh>
-
- {enableEffects && (
- <EffectComposer
- multisampling={0} // TODO: Remove with three.js v128
- >
- {/* <Bloom
- kernelSize={4}
- intensity={1.1}
- luminanceSmoothing={0.04}
- luminanceThreshold={0.7}
- /> */}
- {/* <DotScreen scale={0.5} /> */}
- {/* <Sepia intensity={1} /> */}
+ <Sequence durationInFrames={100} from={0} layout="none">
+ <Scanline density={0.9} opacity={0.2} />
+ </Sequence>
+ <Sequence durationInFrames={100} from={100} layout="none">
<SwirlEffect
radius={400}
offset={[
@@ -73,10 +34,17 @@ const ThreePostprocessing = (): React.ReactElement => {
]}
angle={Math.cos(frame * 0.013) * 0.6}
/>
- <Scanline density={0.9} opacity={0.2} />
+ </Sequence>
+ <Sequence durationInFrames={100} from={200} layout="none">
<Vignette darkness={0.55} />
- </EffectComposer>
- )}
+ </Sequence>
+ <Sequence durationInFrames={100} from={300} layout="none">
+ <Sepia intensity={1} />
+ </Sequence>
+ <Sequence durationInFrames={100} from={400} layout="none">
+ <DotScreen scale={0.5} />
+ </Sequence>
+ </EffectComposer>
</ThreeCanvas>
</div>
);
diff --git a/packages/example/src/ThreePostprocessing/types/postprocessing.d.ts b/packages/example/src/ThreePostprocessing/types/postprocessing.d.ts
new file mode 100644
index 0000000000..5624b8491b
--- /dev/null
+++ b/packages/example/src/ThreePostprocessing/types/postprocessing.d.ts
@@ -0,0 +1,2973 @@
+declare module 'postprocessing' {
+ import {
+ Camera,
+ DataTexture,
+ DepthTexture,
+ Loader,
+ LoadingManager,
+ Material,
+ Mesh,
+ Object3D,
+ PerspectiveCamera,
+ Points,
+ Scene,
+ ShaderMaterial,
+ Texture,
+ TextureDataType,
+ Uniform,
+ Vector2,
+ Vector3,
+ WebGLRenderer,
+ WebGLRenderTarget,
+ } from 'three';
+
+ /**
+ * A color channel enumeration.
+ * @property RED - Red.
+ * @property GREEN - Green.
+ * @property BLUE - Blue.
+ * @property ALPHA - Alpha.
+ */
+ export const ColorChannel: {
+ RED: number;
+ GREEN: number;
+ BLUE: number;
+ ALPHA: number;
+ };
+
+ /**
+ * The Disposable contract.
+
+ Implemented by objects that can free internal resources.
+ */
+ export interface Disposable {
+ /**
+ * Frees internal resources.
+ */
+ dispose(): void;
+ }
+
+ /**
+ * The initializable contract.
+
+ Implemented by objects that can be initialized.
+ */
+ export interface Initializable {
+ /**
+ * Performs initialization tasks.
+ * @param renderer - A renderer.
+ * @param alpha - Whether the renderer uses the alpha channel.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new adaptive luminance material.
+ */
+ export class AdaptiveLuminanceMaterial {}
+
+ /**
+ * Constructs a new bokeh material.
+ * @param [fill = false] - Enables or disables the bokeh highlight fill mode.
+ * @param [foreground = false] - Determines whether this material will be applied to foreground colors.
+ */
+ export class BokehMaterial {
+ constructor(fill?: boolean = false, foreground?: boolean = false);
+ /**
+ * Sets the texel size.
+ * @param x - The texel width.
+ * @param y - The texel height.
+ */
+ setTexelSize(x: number, y: number): void;
+ }
+
+ /**
+ * Constructs a new CoC material.
+ * @param camera - A camera.
+ */
+ export class CircleOfConfusionMaterial {
+ constructor(camera: Camera);
+ /**
+ * The current depth packing.
+ */
+ depthPacking: number;
+ /**
+ * Adopts the settings of the given camera.
+ * @param [camera = null] - A camera.
+ */
+ adoptCameraSettings(camera?: Camera = null): void;
+ }
+
+ /**
+ * Constructs a new color edges material.
+ * @param [texelSize] - The absolute screen texel size.
+ */
+ export class ColorEdgesMaterial {
+ constructor(texelSize?: Vector2);
+ /**
+ * Sets the local contrast adaptation factor.
+
+ If there is a neighbor edge that has _factor_ times bigger contrast than
+ the current edge, the edge will be discarded.
+
+ This allows to eliminate spurious crossing edges and is based on the fact
+ that if there is too much contrast in a direction, the perceptual contrast
+ in the other neighbors will be hidden.
+ * @param factor - The local contrast adaptation factor. Default is 2.0.
+ */
+ setLocalContrastAdaptationFactor(factor: number): void;
+ /**
+ * Sets the edge detection sensitivity.
+
+ A lower value results in more edges being detected at the expense of
+ performance.
+
+ 0.1 is a reasonable value, and allows to catch most visible edges.
+ 0.05 is a rather overkill value, that allows to catch 'em all.
+
+ If temporal supersampling is used, 0.2 could be a reasonable value, as low
+ contrast edges are properly filtered by just 2x.
+ * @param threshold - The edge detection sensitivity. Range: [0.05, 0.5].
+ */
+ setEdgeDetectionThreshold(threshold: number): void;
+ }
+
+ /**
+ * Constructs a new convolution material.
+ * @param [texelSize] - The absolute screen texel size.
+ */
+ export class ConvolutionMaterial {
+ constructor(texelSize?: Vector2);
+ /**
+ * The current kernel size.
+ */
+ kernelSize: KernelSize;
+ /**
+ * Returns the kernel.
+ * @returns The kernel.
+ */
+ getKernel(): Float32Array;
+ /**
+ * Sets the texel size.
+ * @param x - The texel width.
+ * @param y - The texel height.
+ */
+ setTexelSize(x: number, y: number): void;
+ }
+
+ /**
+ * A kernel size enumeration.
+ * @property VERY_SMALL - A very small kernel that matches a 7x7 Gauss blur kernel.
+ * @property SMALL - A small kernel that matches a 15x15 Gauss blur kernel.
+ * @property MEDIUM - A medium sized kernel that matches a 23x23 Gauss blur kernel.
+ * @property LARGE - A large kernel that matches a 35x35 Gauss blur kernel.
+ * @property VERY_LARGE - A very large kernel that matches a 63x63 Gauss blur kernel.
+ * @property HUGE - A huge kernel that matches a 127x127 Gauss blur kernel.
+ */
+ export const KernelSize: {
+ VERY_SMALL: number;
+ SMALL: number;
+ MEDIUM: number;
+ LARGE: number;
+ VERY_LARGE: number;
+ HUGE: number;
+ };
+
+ /**
+ * Constructs a new copy material.
+ */
+ export class CopyMaterial {}
+
+ /**
+ * Constructs a new depth comparison material.
+ * @param [depthTexture = null] - A depth texture.
+ * @param [camera] - A camera.
+ */
+ export class DepthComparisonMaterial {
+ constructor(depthTexture?: Texture, camera?: PerspectiveCamera);
+ /**
+ * Adopts the settings of the given camera.
+ * @param [camera = null] - A camera.
+ */
+ adoptCameraSettings(camera?: Camera): void;
+ }
+
+ /**
+ * Constructs a new depth mask material.
+ */
+ export class DepthMaskMaterial {}
+
+ /**
+ * Constructs a new edge detection material.
+ * @param [texelSize] - The screen texel size.
+ * @param [mode = EdgeDetectionMode.COLOR] - The edge detection mode.
+ */
+ export class EdgeDetectionMaterial {
+ constructor(texelSize?: Vector2, mode?: EdgeDetectionMode);
+ /**
+ * The current depth packing.
+ */
+ depthPacking: number;
+ /**
+ * Sets the edge detection mode.
+
+ Warning: If you intend to change the edge detection mode at runtime, make
+ sure that {@link EffectPass.needsDepthTexture} is set to `true` _before_
+ the EffectPass is added to the composer.
+ * @param mode - The edge detection mode.
+ */
+ setEdgeDetectionMode(mode: EdgeDetectionMode): void;
+ /**
+ * Sets the local contrast adaptation factor. Has no effect if the edge
+ detection mode is set to DEPTH.
+
+ If there is a neighbor edge that has _factor_ times bigger contrast than
+ the current edge, the edge will be discarded.
+
+ This allows to eliminate spurious crossing edges and is based on the fact
+ that if there is too much contrast in a direction, the perceptual contrast
+ in the other neighbors will be hidden.
+ * @param factor - The local contrast adaptation factor. Default is 2.0.
+ */
+ setLocalContrastAdaptationFactor(factor: number): void;
+ /**
+ * Sets the edge detection sensitivity.
+
+ A lower value results in more edges being detected at the expense of
+ performance.
+
+ 0.1 is a reasonable value, and allows to catch most visible edges.
+ 0.05 is a rather overkill value, that allows to catch 'em all.
+
+ If temporal supersampling is used, 0.2 could be a reasonable value, as low
+ contrast edges are properly filtered by just 2x.
+ * @param threshold - The edge detection sensitivity. Range: [0.05, 0.5].
+ */
+ setEdgeDetectionThreshold(threshold: number): void;
+ }
+
+ /**
+ * An enumeration of edge detection modes.
+ * @property DEPTH - Depth-based edge detection.
+ * @property LUMA - Luminance-based edge detection.
+ * @property COLOR - Chroma-based edge detection.
+ */
+ export const EdgeDetectionMode: {
+ DEPTH: number;
+ LUMA: number;
+ COLOR: number;
+ };
+
+ /**
+ * Constructs a new effect material.
+ * @param [shaderParts = null] - A collection of shader snippets. See {@link Section}.
+ * @param [defines = null] - A collection of preprocessor macro definitions.
+ * @param [uniforms = null] - A collection of uniforms.
+ * @param [camera = null] - A camera.
+ * @param [dithering = false] - Whether dithering should be enabled.
+ */
+ export class EffectMaterial implements Resizable {
+ constructor(
+ shaderParts?: Map<string, string>,
+ defines?: Map<string, string>,
+ uniforms?: Map<string, Uniform>,
+ camera?: Camera,
+ dithering?: boolean
+ );
+ /**
+ * The current depth packing.
+ */
+ depthPacking: number;
+ /**
+ * Sets the shader parts.
+ * @param shaderParts - A collection of shader snippets. See {@link Section}.
+ * @returns This material.
+ */
+ setShaderParts(shaderParts: Map<string, string>): EffectMaterial;
+ /**
+ * Sets the shader macros.
+ * @param defines - A collection of preprocessor macro definitions.
+ * @returns This material.
+ */
+ setDefines(defines: Map<string, string>): EffectMaterial;
+ /**
+ * Sets the shader uniforms.
+ * @param uniforms - A collection of uniforms.
+ * @returns This material.
+ */
+ setUniforms(uniforms: Map<string, Uniform>): EffectMaterial;
+ /**
+ * Adopts the settings of the given camera.
+ * @param [camera = null] - A camera.
+ */
+ adoptCameraSettings(camera?: Camera): void;
+ /**
+ * Sets the resolution.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * An enumeration of shader code placeholders used by the {@link EffectPass}.
+ * @property FRAGMENT_HEAD - A placeholder for function and variable declarations inside the fragment shader.
+ * @property FRAGMENT_MAIN_UV - A placeholder for UV transformations inside the fragment shader.
+ * @property FRAGMENT_MAIN_IMAGE - A placeholder for color calculations inside the fragment shader.
+ * @property VERTEX_HEAD - A placeholder for function and variable declarations inside the vertex shader.
+ * @property VERTEX_MAIN_SUPPORT - A placeholder for supporting calculations inside the vertex shader.
+ */
+ export const Section: {
+ FRAGMENT_HEAD: string;
+ FRAGMENT_MAIN_UV: string;
+ FRAGMENT_MAIN_IMAGE: string;
+ VERTEX_HEAD: string;
+ VERTEX_MAIN_SUPPORT: string;
+ };
+
+ /**
+ * Constructs a new god rays material.
+ * @param lightPosition - The light position in screen space.
+ */
+ export class GodRaysMaterial {
+ constructor(lightPosition: Vector2);
+ /**
+ * The amount of samples per pixel.
+ */
+ samples: number;
+ }
+
+ /**
+ * Constructs a new luminance material.
+ * @param [colorOutput = false] - Defines whether the shader should output colors scaled with their luminance value.
+ * @param [luminanceRange = null] - If provided, the shader will mask out texels that aren't in the specified luminance range.
+ */
+ export class LuminanceMaterial {
+ constructor(colorOutput?: boolean, luminanceRange?: Vector2);
+ /**
+ * The luminance threshold.
+ */
+ threshold: number;
+ /**
+ * The luminance threshold smoothing.
+ */
+ smoothing: number;
+ /**
+ * Indicates whether the luminance threshold is enabled.
+ */
+ useThreshold: boolean;
+
+ /**
+ * Indicates whether color output is enabled.
+ */
+ colorOutput: boolean;
+ /**
+ * Enables or disables color output.
+ * @param enabled - Whether color output should be enabled.
+ */
+ setColorOutputEnabled(enabled: boolean): void;
+ /**
+ * Indicates whether luminance masking is enabled.
+ */
+ useRange: boolean;
+ /**
+ * Indicates whether luminance masking is enabled.
+ */
+ luminanceRange: boolean;
+ /**
+ * Enables or disables the luminance mask.
+ * @param enabled - Whether the luminance mask should be enabled.
+ */
+ setLuminanceRangeEnabled(enabled: boolean): void;
+ }
+
+ /**
+ * Constructs a new mask material.
+ * @param [maskTexture = null] - The mask texture.
+ */
+ export class MaskMaterial {
+ constructor(maskTexture?: Texture);
+ /**
+ * Sets the mask texture.
+ */
+ maskTexture: Texture;
+ /**
+ * Sets the color channel to use for masking.
+
+ The default channel is `RED`.
+ */
+ colorChannel: ColorChannel;
+ /**
+ * Sets the masking technique.
+
+ The default function is `DISCARD`.
+ */
+ maskFunction: MaskFunction;
+
+ /**
+ * Indicates whether the masking is inverted.
+ */
+ inverted: boolean;
+ /**
+ * The current mask strength.
+
+ Individual mask values will be clamped to [0.0, 1.0].
+ */
+ strength: number;
+ }
+
+ /**
+ * A mask function enumeration.
+ * @property DISCARD - Discards elements when the respective mask value is zero.
+ * @property MULTIPLY - Multiplies the input buffer with the mask texture.
+ * @property MULTIPLY_RGB_SET_ALPHA - Multiplies the input RGB values with the mask and sets alpha to the mask value.
+ */
+ export const MaskFunction: {
+ DISCARD: number;
+ MULTIPLY: number;
+ MULTIPLY_RGB_SET_ALPHA: number;
+ };
+
+ /**
+ * Constructs a new outline material.
+ * @param [texelSize] - The screen texel size.
+ */
+ export class OutlineMaterial {
+ constructor(texelSize?: Vector2);
+ /**
+ * Sets the texel size.
+ * @param x - The texel width.
+ * @param y - The texel height.
+ */
+ setTexelSize(x: number, y: number): void;
+ }
+
+ /**
+ * An outline shader material.
+ */
+ export type OutlineEdgesMaterial = any;
+
+ /**
+ * Constructs a new SMAA weights material.
+ * @param [texelSize] - The absolute screen texel size.
+ * @param [resolution] - The resolution.
+ */
+ export class SMAAWeightsMaterial {
+ constructor(texelSize?: Vector2, resolution?: Vector2);
+ /**
+ * Sets the maximum amount of steps performed in the horizontal/vertical
+ pattern searches, at each side of the pixel.
+
+ In number of pixels, it's actually the double. So the maximum line length
+ perfectly handled by, for example 16, is 64 (perfectly means that longer
+ lines won't look as good, but are still antialiased).
+ * @param steps - The search steps. Range: [0, 112].
+ */
+ setOrthogonalSearchSteps(steps: number): void;
+ /**
+ * Specifies the maximum steps performed in the diagonal pattern searches, at
+ each side of the pixel. This search jumps one pixel at time.
+
+ On high-end machines this search is cheap (between 0.8x and 0.9x slower for
+ 16 steps), but it can have a significant impact on older machines.
+ * @param steps - The search steps. Range: [0, 20].
+ */
+ setDiagonalSearchSteps(steps: number): void;
+ /**
+ * Specifies how much sharp corners will be rounded.
+ * @param rounding - The corner rounding amount. Range: [0, 100].
+ */
+ setCornerRounding(rounding: number): void;
+ /**
+ * Indicates whether diagonal pattern detection is enabled.
+ */
+ diagonalDetection: boolean;
+ /**
+ * Indicates whether corner rounding is enabled.
+ */
+ cornerRounding: boolean;
+ }
+
+ /**
+ * Constructs a new resizer.
+ * @param resizeable - A resizable object.
+ * @param [width = Resizer.AUTO_SIZE] - The width.
+ * @param [height = Resizer.AUTO_SIZE] - The height.
+ */
+ export class Resizer {
+ constructor(resizeable: Resizable, width?: number, height?: number);
+ /**
+ * A resizable object.
+ */
+ resizable: Resizable;
+ /**
+ * The base size.
+
+ This size will be passed to the resizable object every time the width or
+ height is changed.
+ */
+ base: Vector2;
+ /**
+ * A scale.
+
+ If both the width and the height are set to {@link Resizer.AUTO_SIZE},
+ they will be scaled uniformly using this scalar.
+ */
+ scale: number;
+ /**
+ * The calculated width.
+
+ If both the width and the height are set to {@link Resizer.AUTO_SIZE}, the
+ base width will be returned.
+ */
+ width: number;
+ /**
+ * The calculated height.
+
+ If both the width and the height are set to {@link Resizer.AUTO_SIZE}, the
+ base height will be returned.
+ */
+ height: number;
+ /**
+ * An auto sizing constant.
+
+ Can be used to automatically calculate the width or height based on the
+ original aspect ratio.
+ */
+ static AUTO_SIZE: number;
+ }
+
+ export interface Pass extends Initializable, Resizable, Disposable {}
+
+ /**
+ * Constructs a new pass.
+ * @param [name = Pass] - The name of this pass. Does not have to be unique.
+ * @param [scene] - The scene to render. The default scene contains a single mesh that fills the screen.
+ * @param [camera] - A camera. Fullscreen effect passes don't require a camera.
+ */
+ export class Pass implements Initializable, Resizable, Disposable {
+ constructor(name?: string, scene?: Scene, camera?: Camera);
+ /**
+ * The name of this pass.
+ */
+ name: string;
+ /**
+ * The scene to render.
+ */
+ protected scene: Scene;
+ /**
+ * The camera.
+ */
+ protected camera: Camera;
+ /**
+ * Only relevant for subclassing.
+
+ Indicates whether the {@link EffectComposer} should swap the frame
+ buffers after this pass has finished rendering.
+
+ Set this to `false` if this pass doesn't render to the output buffer or
+ the screen. Otherwise, the contents of the input buffer will be lost.
+ */
+ needsSwap: boolean;
+ /**
+ * Indicates whether the {@link EffectComposer} should prepare a depth
+ texture for this pass.
+
+ Set this to `true` if this pass relies on depth information from a
+ preceding {@link RenderPass}.
+ */
+ needsDepthTexture: boolean;
+ /**
+ * Indicates whether this pass should be executed.
+ */
+ enabled: boolean;
+ /**
+ * Indicates whether this pass should render to screen.
+ */
+ renderToScreen: boolean;
+ /**
+ * Returns the current fullscreen material.
+ * @returns The current fullscreen material, or null if there is none.
+ */
+ getFullscreenMaterial(): Material;
+ /**
+ * Sets the fullscreen material.
+
+ The material will be assigned to a mesh that fills the screen. The mesh
+ will be created once a material is assigned via this method.
+ * @param material - A fullscreen material.
+ */
+ protected setFullscreenMaterial(material: Material): void;
+ /**
+ * Returns the current depth texture.
+ * @returns The current depth texture, or null if there is none.
+ */
+ getDepthTexture(): Texture;
+ /**
+ * Sets the depth texture.
+
+ You may override this method if your pass relies on the depth information
+ of a preceding {@link RenderPass}.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Renders the effect.
+
+ This is an abstract method that must be overridden.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates this pass with the renderer's size.
+
+ You may override this method in case you want to be informed about the size
+ of the main frame buffer.
+
+ The {@link EffectComposer} calls this method before this pass is
+ initialized and every time its own size is updated.
+ * @example
+ * this.myRenderTarget.setSize(width, height);
+ * @param width - The renderer's width.
+ * @param height - The renderer's height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+
+ By overriding this method you gain access to the renderer. You'll also be
+ able to configure your custom render targets to use the appropriate format
+ (RGB or RGBA).
+
+ The provided renderer can be used to warm up special off-screen render
+ targets by performing a preliminary render operation.
+
+ The {@link EffectComposer} calls this method when this pass is added to its
+ queue, but not before its size has been set.
+ * @example
+ * if(!alpha && frameBufferType === UnsignedByteType) { this.myRenderTarget.texture.format = RGBFormat; }
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ /**
+ * Performs a shallow search for disposable properties and deletes them. The
+ pass will be inoperative after this method was called!
+
+ Disposable objects:
+ - WebGLRenderTarget
+ - Material
+ - Texture
+
+ The {@link EffectComposer} calls this method when it is being destroyed.
+ You may, however, use it independently to free memory when you are certain
+ that you don't need this pass anymore.
+ */
+ dispose(): void;
+ }
+
+ /**
+ * Constructs a new blur pass.
+ * @param [options] - The options.
+ * @param [options.width = Resizer.AUTO_SIZE] - The blur render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The blur render height.
+ * @param [options.kernelSize = KernelSize.LARGE] - The blur kernel size.
+ */
+ export class BlurPass {
+ constructor(
+ options?: Partial<{
+ width?: number;
+ height?: number;
+ kernelSize?: KernelSize;
+ }>
+ );
+ /**
+ * The desired render resolution.
+
+ It's recommended to set the height or the width to an absolute value for
+ consistent results across different devices and resolutions.
+
+ Use {@link Resizer.AUTO_SIZE} for the width or height to automatically
+ calculate it based on its counterpart and the original aspect ratio.
+ */
+ resolution: Resizer;
+ /**
+ * Whether the blurred result should also be dithered using noise.
+ */
+ dithering: boolean;
+ /**
+ * The current width of the internal render targets.
+ */
+ width: number;
+ /**
+ * The current height of the internal render targets.
+ */
+ height: number;
+ /**
+ * The current blur scale.
+ */
+ scale: number;
+ /**
+ * The kernel size.
+ */
+ kernelSize: KernelSize;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Blurs the input buffer and writes the result to the output buffer. The
+ input buffer remains intact, unless it's also the output buffer.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ /**
+ * An auto sizing flag.
+ */
+ static AUTO_SIZE: number;
+ }
+
+ /**
+ * Constructs a new clear mask pass.
+ */
+ export class ClearMaskPass {
+ /**
+ * Disables the global stencil test.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ /**
+ * Constructs a new clear pass.
+ * @param [color = true] - Determines whether the color buffer should be cleared.
+ * @param [depth = true] - Determines whether the depth buffer should be cleared.
+ * @param [stencil = false] - Determines whether the stencil buffer should be cleared.
+ */
+ export class ClearPass {
+ constructor(color?: boolean, depth?: boolean, stencil?: boolean);
+ /**
+ * Indicates whether the color buffer should be cleared.
+ */
+ color: boolean;
+ /**
+ * Indicates whether the depth buffer should be cleared.
+ */
+ depth: boolean;
+ /**
+ * Indicates whether the stencil buffer should be cleared.
+ */
+ stencil: boolean;
+ /**
+ * An override clear alpha.
+
+ The default value is -1.
+ */
+ overrideClearAlpha: number;
+ /**
+ * Clears the input buffer or the screen.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ /**
+ * Constructs a new render pass.
+ * @param scene - The scene to render.
+ * @param camera - The camera to use to render the scene.
+ * @param [overrideMaterial = null] - An override material for the scene.
+ */
+ export class RenderPass extends Pass {
+ constructor(scene: Scene, camera: Camera, overrideMaterial?: Material);
+ /**
+ * An override material.
+ */
+ overrideMaterial: Material;
+ /**
+ * Indicates whether the target buffer should be cleared before rendering.
+ */
+ clear: boolean;
+ /**
+ * Returns the clear pass.
+ * @returns The clear pass.
+ */
+ getClearPass(): ClearPass;
+ /**
+ * Returns the current depth texture.
+ * @returns The current depth texture, or null if there is none.
+ */
+ getDepthTexture(): Texture;
+ /**
+ * Sets the depth texture.
+
+ The provided texture will be attached to the input buffer unless this pass
+ renders to screen.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: DepthTexture, depthPacking?: number): void;
+ /**
+ * Renders the scene.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ /**
+ * Constructs a new depth pass.
+ * @param scene - The scene to render.
+ * @param camera - The camera to use to render the scene.
+ * @param [options] - The options.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.renderTarget] - A custom render target.
+ */
+ export class DepthPass {
+ constructor(
+ scene: Scene,
+ camera: Camera,
+ options?: Partial<{
+ width?: number;
+ height?: number;
+ renderTarget?: WebGLRenderTarget;
+ }>
+ );
+ /**
+ * A render target that contains the scene depth.
+ */
+ renderTarget: WebGLRenderTarget;
+ /**
+ * The desired render resolution.
+
+ Use {@link Resizer.AUTO_SIZE} for the width or height to automatically
+ calculate it based on its counterpart and the original aspect ratio.
+ */
+ resolution: Resizer;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Renders the scene depth.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * A blend function enumeration.
+ * @property SKIP - No blending. The effect will not be included in the final shader.
+ * @property ADD - Additive blending. Fast, but may produce washed out results.
+ * @property ALPHA - Alpha blending. Blends based on the alpha value of the new color.
+ * @property AVERAGE - Average blending.
+ * @property COLOR_BURN - Color burn.
+ * @property COLOR_DODGE - Color dodge.
+ * @property DARKEN - Prioritize darker colors.
+ * @property DIFFERENCE - Color difference.
+ * @property EXCLUSION - Color exclusion.
+ * @property LIGHTEN - Prioritize lighter colors.
+ * @property MULTIPLY - Color multiplication.
+ * @property DIVIDE - Color division.
+ * @property NEGATION - Color negation.
+ * @property NORMAL - Normal blending. The new color overwrites the old one.
+ * @property OVERLAY - Color overlay.
+ * @property REFLECT - Color reflection.
+ * @property SCREEN - Screen blending. The two colors are effectively projected on a white screen simultaneously.
+ * @property SOFT_LIGHT - Soft light blending.
+ * @property SUBTRACT - Color subtraction.
+ */
+ export enum BlendFunction {
+ 'SKIP',
+ 'ADD',
+ 'ALPHA',
+ 'AVERAGE',
+ 'COLOR_BURN',
+ 'COLOR_DODGE',
+ 'DARKEN',
+ 'DIFFERENCE',
+ 'EXCLUSION',
+ 'LIGHTEN',
+ 'MULTIPLY',
+ 'DIVIDE',
+ 'NEGATION',
+ 'NORMAL',
+ 'OVERLAY',
+ 'REFLECT',
+ 'SCREEN',
+ 'SOFT_LIGHT',
+ 'SUBTRACT',
+ }
+
+ /**
+ * Constructs a new blend mode.
+ * @param blendFunction - The blend function to use.
+ * @param opacity - The opacity of the color that will be blended with the base color.
+ */
+ export class BlendMode {
+ constructor(blendFunction: BlendFunction, opacity?: number);
+ /**
+ * The blend function.
+ */
+ blendFunction: BlendFunction;
+ /**
+ * The opacity of the color that will be blended with the base color.
+ */
+ opacity: Uniform;
+ /**
+ * Returns the blend function shader code.
+ * @returns The blend function shader code.
+ */
+ getShaderCode(): string;
+ }
+
+ /**
+ * Constructs a new effect.
+ * @param name - The name of this effect. Doesn't have to be unique.
+ * @param fragmentShader - The fragment shader. This shader is required.
+ * @param [options] - Additional options.
+ * @param [options.attributes = EffectAttribute.NONE] - The effect attributes that determine the execution priority and resource requirements.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
+ * @param [options.defines] - Custom preprocessor macro definitions. Keys are names and values are code.
+ * @param [options.uniforms] - Custom shader uniforms. Keys are names and values are uniforms.
+ * @param [options.extensions] - WebGL extensions.
+ * @param [options.vertexShader = null] - The vertex shader. Most effects don't need one.
+ */
+ export class Effect implements Initializable, Resizable, Disposable {
+ constructor(
+ name: string,
+ fragmentShader: string,
+ options?: {
+ attributes?: EffectAttribute;
+ blendFunction?: BlendFunction;
+ defines?: Map<string, string>;
+ uniforms?: Map<string, Uniform>;
+ extensions?: Set<WebGLExtension>;
+ vertexShader?: string;
+ }
+ );
+ /**
+ * The name of this effect.
+ */
+ name: string;
+ /**
+ * The effect attributes.
+
+ Effects that have the same attributes will be executed in the order in
+ which they were registered. Some attributes imply a higher priority.
+ */
+ attributes: EffectAttribute;
+ /**
+ * The fragment shader.
+ */
+ fragmentShader: string;
+ /**
+ * The vertex shader.
+ */
+ vertexShader: string;
+ /**
+ * Preprocessor macro definitions.
+
+ You'll need to call {@link EffectPass#recompile} after changing a macro.
+ */
+ defines: Map<string, string>;
+ /**
+ * Shader uniforms.
+
+ You may freely modify the values of these uniforms at runtime. However,
+ uniforms must not be removed or added after the effect was created.
+ */
+ uniforms: Map<string, Uniform>;
+ /**
+ * WebGL extensions that are required by this effect.
+
+ You'll need to call {@link EffectPass#recompile} after adding or removing
+ an extension.
+ */
+ extensions: Set<WebGLExtension>;
+ /**
+ * The blend mode of this effect.
+
+ The result of this effect will be blended with the result of the previous
+ effect using this blend mode.
+
+ Feel free to adjust the opacity of the blend mode at runtime. However,
+ you'll need to call {@link EffectPass#recompile} if you change the blend
+ function.
+ */
+ blendMode: BlendMode;
+ /**
+ * Sets the depth texture.
+
+ You may override this method if your effect requires direct access to the
+ depth texture that is bound to the associated {@link EffectPass}.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Updates the effect by performing supporting operations.
+
+ This method is called by the {@link EffectPass} right before the main
+ fullscreen render operation, even if the blend function is set to `SKIP`.
+
+ You may override this method if you need to render additional off-screen
+ textures or update custom uniforms.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ /**
+ * Updates the size of this effect.
+
+ You may override this method in case you want to be informed about the main
+ render size.
+
+ The {@link EffectPass} calls this method before this effect is initialized
+ and every time its own size is updated.
+ * @example
+ * this.myRenderTarget.setSize(width, height);
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+
+ By overriding this method you gain access to the renderer. You'll also be
+ able to configure your custom render targets to use the appropriate format
+ (RGB or RGBA).
+
+ The provided renderer can be used to warm up special off-screen render
+ targets by performing a preliminary render operation.
+
+ The {@link EffectPass} calls this method during its own initialization
+ which happens after the size has been set.
+ * @example
+ * if(!alpha && frameBufferType === UnsignedByteType) { this.myRenderTarget.texture.format = RGBFormat; }
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ /**
+ * Performs a shallow search for properties that define a dispose method and
+ deletes them. The effect will be inoperative after this method was called!
+
+ Disposable objects:
+ - render targets
+ - materials
+ - textures
+
+ The {@link EffectPass} calls this method when it is being destroyed. Do not
+ call this method directly.
+ */
+ dispose(): void;
+ }
+
+ /**
+ * An enumeration of effect attributes.
+
+ Attributes can be concatenated using the bitwise OR operator.
+ * @example
+ * const attributes = EffectAttribute.CONVOLUTION | EffectAttribute.DEPTH;
+ * @property CONVOLUTION - Describes effects that fetch additional samples from the input buffer. There cannot be more than one effect with this attribute per {@link EffectPass}.
+ * @property DEPTH - Describes effects that require a depth texture.
+ * @property NONE - No attributes. Most effects don't need to specify any attributes.
+ */
+ export const EffectAttribute: {
+ CONVOLUTION: number;
+ DEPTH: number;
+ NONE: number;
+ };
+
+ /**
+ * An enumeration of WebGL extensions.
+ * @property DERIVATIVES - Enables derivatives by adding the functions dFdx, dFdy and fwidth.
+ * @property FRAG_DEPTH - Enables gl_FragDepthEXT to set a depth value of a fragment from within the fragment shader.
+ * @property DRAW_BUFFERS - Enables multiple render targets (MRT) support.
+ * @property SHADER_TEXTURE_LOD - Enables explicit control of texture LOD.
+ */
+ export const WebGLExtension: {
+ DERIVATIVES: string;
+ FRAG_DEPTH: string;
+ DRAW_BUFFERS: string;
+ SHADER_TEXTURE_LOD: string;
+ };
+
+ /**
+ * Constructs a new effect pass.
+
+ The provided effects will be organized and merged for optimal performance.
+ * @param camera - The main camera. The camera's type and settings will be available to all effects.
+ * @param effects - The effects that will be rendered by this pass.
+ */
+ export class EffectPass extends Pass {
+ constructor(camera: Camera, ...effects: Effect[]);
+ /**
+ * A time offset.
+
+ Elapsed time will start at this value.
+ */
+ minTime: number;
+ /**
+ * The maximum time.
+
+ If the elapsed time exceeds this value, it will be reset.
+ */
+ maxTime: number;
+ /**
+ * Indicates whether this pass encodes its output when rendering to screen.
+ */
+ encodeOutput: boolean;
+ /**
+ * Indicates whether dithering is enabled.
+
+ Color quantization reduces banding artifacts but degrades performance.
+ */
+ dithering: boolean;
+ /**
+ * Updates the shader material.
+
+ Warning: This method triggers a relatively expensive shader recompilation.
+ */
+ recompile(): void;
+ /**
+ * Returns the current depth texture.
+ * @returns The current depth texture, or null if there is none.
+ */
+ getDepthTexture(): Texture;
+ /**
+ * Sets the depth texture.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Renders the effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ /**
+ * Deletes disposable objects.
+
+ This pass will be inoperative after this method was called!
+ */
+ dispose(): void;
+ }
+
+ /**
+ * Constructs a new mask pass.
+ * @param scene - The scene to render.
+ * @param camera - The camera to use.
+ */
+ export class MaskPass {
+ constructor(scene: Scene, camera: Camera);
+ /**
+ * Inverse flag.
+ */
+ inverse: boolean;
+ /**
+ * Indicates whether this pass should clear the stencil buffer.
+ */
+ clear: boolean;
+ /**
+ * Renders the effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ /**
+ * Constructs a new normal pass.
+ * @param scene - The scene to render.
+ * @param camera - The camera to use to render the scene.
+ * @param [options] - The options.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.renderTarget] - A custom render target.
+ */
+ export class NormalPass extends Pass {
+ constructor(
+ scene: Scene,
+ camera: Camera,
+ options?: Partial<{
+ width: number;
+ height: number;
+ renderTarget: WebGLRenderTarget;
+ }>
+ );
+ /**
+ * A render target that contains the scene normals.
+ */
+ renderTarget: WebGLRenderTarget;
+ /**
+ * The desired render resolution.
+
+ Use {@link Resizer.AUTO_SIZE} for the width or height to automatically
+ calculate it based on its counterpart and the original aspect ratio.
+ */
+ resolution: Resizer;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Renders the scene normals.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new save pass.
+ * @param [renderTarget] - A render target.
+ * @param [resize = true] - Whether the render target should adjust to the size of the input buffer.
+ */
+ export class SavePass {
+ constructor(renderTarget?: WebGLRenderTarget, resize?: boolean);
+ /**
+ * The render target.
+ */
+ renderTarget: WebGLRenderTarget;
+ /**
+ * Indicates whether the render target should be resized automatically.
+ */
+ resize: boolean;
+ /**
+ * Saves the input buffer.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - A renderer.
+ * @param alpha - Whether the renderer uses the alpha channel.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new shader pass.
+ * @param material - A shader material.
+ * @param [input = "inputBuffer"] - The name of the input buffer uniform.
+ */
+ export class ShaderPass {
+ constructor(material: ShaderMaterial, input?: string);
+ /**
+ * Sets the name of the input buffer uniform.
+
+ Most fullscreen materials modify texels from an input texture. This pass
+ automatically assigns the main input buffer to the uniform identified by
+ the given name.
+ * @param input - The name of the input buffer uniform.
+ */
+ setInput(input: string): void;
+ /**
+ * Renders the effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ export interface EffectComposer extends Resizable, Disposable {}
+
+ /**
+ * Constructs a new effect composer.
+ * @param renderer - The renderer that should be used.
+ * @param [options] - The options.
+ * @param [options.depthBuffer = true] - Whether the main render targets should have a depth buffer.
+ * @param [options.stencilBuffer = false] - Whether the main render targets should have a stencil buffer.
+ * @param [options.multisampling = 0] - The number of samples used for multisample antialiasing. Requires WebGL 2.
+ * @param [options.frameBufferType] - The type of the internal frame buffers. It's recommended to use HalfFloatType if possible.
+ */
+ export class EffectComposer implements Resizable, Disposable {
+ constructor(
+ renderer: WebGLRenderer,
+ options?: {
+ depthBuffer?: boolean;
+ stencilBuffer?: boolean;
+ multisampling?: number;
+ frameBufferType?: TextureDataType;
+ }
+ );
+ /**
+ * The current amount of samples used for multisample antialiasing.
+ */
+ multisampling: number;
+ /**
+ * Returns the WebGL renderer.
+
+ You may replace the renderer at any time by using
+ {@link EffectComposer#replaceRenderer}.
+ * @returns The renderer.
+ */
+ getRenderer(): WebGLRenderer;
+ /**
+ * Replaces the current renderer with the given one.
+
+ The auto clear mechanism of the provided renderer will be disabled. If the
+ new render size differs from the previous one, all passes will be updated.
+
+ By default, the DOM element of the current renderer will automatically be
+ removed from its parent node and the DOM element of the new renderer will
+ take its place.
+ * @param renderer - The new renderer.
+ * @param updateDOM - Indicates whether the old canvas should be replaced by the new one in the DOM.
+ * @returns The old renderer.
+ */
+ replaceRenderer(
+ renderer: WebGLRenderer,
+ updateDOM?: boolean
+ ): WebGLRenderer;
+ /**
+ * Creates a new render target by replicating the renderer's canvas.
+
+ The created render target uses a linear filter for texel minification and
+ magnification. Its render texture format depends on whether the renderer
+ uses the alpha channel. Mipmaps are disabled.
+
+ Note: The buffer format will also be set to RGBA if the frame buffer type
+ is HalfFloatType because RGB16F buffers are not renderable.
+ * @param depthBuffer - Whether the render target should have a depth buffer.
+ * @param stencilBuffer - Whether the render target should have a stencil buffer.
+ * @param type - The frame buffer type.
+ * @param multisampling - The number of samples to use for antialiasing.
+ * @returns A new render target that equals the renderer's canvas.
+ */
+ createBuffer(
+ depthBuffer: boolean,
+ stencilBuffer: boolean,
+ type: number,
+ multisampling: number
+ ): WebGLRenderTarget;
+ /**
+ * Adds a pass, optionally at a specific index.
+ * @param pass - A new pass.
+ * @param [index] - An index at which the pass should be inserted.
+ */
+ addPass(pass: Pass, index?: number): void;
+ /**
+ * Removes a pass.
+ * @param pass - The pass.
+ */
+ removePass(pass: Pass): void;
+ /**
+ * Renders all enabled passes in the order in which they were added.
+ * @param deltaTime - The time between the last frame and the current one in seconds.
+ */
+ render(deltaTime: number): void;
+ /**
+ * Sets the size of the buffers and the renderer's output canvas.
+
+ Every pass will be informed of the new size. It's up to each pass how that
+ information is used.
+
+ If no width or height is specified, the render targets and passes will be
+ updated with the current size of the renderer.
+ * @param [width] - The width.
+ * @param [height] - The height.
+ * @param [updateStyle] - Determines whether the style of the canvas should be updated.
+ */
+ setSize(width?: number, height?: number, updateStyle?: boolean): void;
+ /**
+ * Resets this composer by deleting all passes and creating new buffers.
+ */
+ reset(): void;
+ /**
+ * Destroys this composer and all passes.
+
+ This method deallocates all disposable objects created by the passes. It
+ also deletes the main frame buffers of this composer.
+ */
+ dispose(): void;
+ }
+
+ /**
+ * The Resizable contract.
+
+ Implemented by objects that can be resized.
+ */
+ export interface Resizable {
+ /**
+ * Sets the size of this object.
+ * @param width - The new width.
+ * @param height - The new height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new selection.
+ * @param [iterable] - A collection of objects that should be added to this selection.
+ * @param [layer = 10] - A dedicated render layer for selected objects.
+ */
+ export class Selection {
+ constructor(iterable?: Iterable<Object3D>, layer?: number);
+ /**
+ * A dedicated render layer for selected objects.
+
+ This layer is set to 10 by default. If this collides with your own custom
+ layers, please change it to a free layer before rendering!
+ */
+ layer: number;
+ /**
+ * Clears this selection.
+ * @returns This selection.
+ */
+ clear(): Selection;
+ /**
+ * Clears this selection and adds the given objects.
+ * @param objects - The objects that should be selected. This array will be copied.
+ * @returns This selection.
+ */
+ set(objects: Iterable<Object3D>): Selection;
+ /**
+ * An alias for {@link has}.
+ * @param object - An object.
+ * @returns Returns 0 if the given object is currently selected, or -1 otherwise.
+ */
+ indexOf(object: Object3D): number;
+ /**
+ * Adds an object to this selection.
+ * @param object - The object that should be selected.
+ * @returns This selection.
+ */
+ add(object: Object3D): Selection;
+ /**
+ * Removes an object from this selection.
+ * @param object - The object that should be deselected.
+ * @returns Returns true if an object has successfully been removed from this selection; otherwise false.
+ */
+ delete(object: Object3D): boolean;
+ /**
+ * Sets the visibility of all selected objects.
+
+ This method enables or disables render layer 0 of all selected objects.
+ * @param visible - Whether the selected objects should be visible.
+ * @returns This selection.
+ */
+ setVisible(visible: boolean): Selection;
+ }
+
+ /**
+ * Constructs a new bloom effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
+ * @param [options.luminanceThreshold = 0.9] - The luminance threshold. Raise this value to mask out darker elements in the scene. Range is [0, 1].
+ * @param [options.luminanceSmoothing = 0.025] - Controls the smoothness of the luminance threshold. Range is [0, 1].
+ * @param [options.intensity = 1.0] - The intensity.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.kernelSize = KernelSize.LARGE] - The blur kernel size.
+ */
+ export class BloomEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ luminanceThreshold?: number;
+ luminanceSmoothing?: number;
+ intensity?: number;
+ width?: number;
+ height?: number;
+ kernelSize?: KernelSize;
+ });
+ /**
+ * A blur pass.
+ */
+ blurPass: BlurPass;
+ /**
+ * A luminance shader pass.
+
+ You may disable this pass to deactivate luminance filtering.
+ */
+ luminancePass: ShaderPass;
+ /**
+ * A texture that contains the intermediate result of this effect.
+
+ This texture will be applied to the scene colors unless the blend function
+ is set to `SKIP`.
+ */
+ texture: Texture;
+ /**
+ * The luminance material.
+ */
+ luminanceMaterial: LuminanceMaterial;
+ /**
+ * The resolution of this effect.
+ */
+ resolution: Resizer;
+ /**
+ * The current width of the internal render targets.
+ */
+ width: number;
+ /**
+ * The current height of the internal render targets.
+ */
+ height: number;
+ /**
+ * Indicates whether dithering is enabled.
+ */
+ dithering: boolean;
+ /**
+ * The blur kernel size.
+ */
+ kernelSize: KernelSize;
+ distinction: number;
+ /**
+ * The bloom intensity.
+ */
+ intensity: number;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new brightness/contrast effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.brightness = 0.0] - The brightness factor, ranging from -1 to 1, where 0 means no change.
+ * @param [options.contrast = 0.0] - The contrast factor, ranging from -1 to 1, where 0 means no change.
+ */
+ export class BrightnessContrastEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ brightness?: number;
+ contrast?: number;
+ });
+ }
+
+ /**
+ * Constructs a new color average effect.
+ * @param [blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ */
+ export class ColorAverageEffect extends Effect {
+ constructor(blendFunction?: BlendFunction);
+ }
+
+ /**
+ * Constructs a new color depth effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.bits = 16] - The color bit depth.
+ */
+ export class ColorDepthEffect extends Effect {
+ constructor(options?: {blendFunction?: BlendFunction; bits?: number});
+ /**
+ * Returns the current color bit depth.
+ * @returns The color bit depth.
+ */
+ getBitDepth(): number;
+ /**
+ * Sets the virtual amount of color bits.
+
+ Each color channel will use a third of the available bits. The alpha
+ channel remains unaffected.
+
+ Note that the real color depth will not be altered by this effect.
+ * @param bits - The new color bit depth.
+ */
+ setBitDepth(bits: number): void;
+ }
+
+ /**
+ * Constructs a new chromatic aberration effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.offset] - The color offset.
+ */
+ export class ChromaticAberrationEffect extends Effect {
+ constructor(options?: {blendFunction?: BlendFunction; offset?: Vector2});
+ /**
+ * The color offset.
+ */
+ offset: Vector2;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new depth effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.inverted = false] - Whether the depth values should be inverted.
+ */
+ export class DepthEffect extends Effect {
+ constructor(options?: {blendFunction?: BlendFunction; inverted?: boolean});
+ /**
+ * Indicates whether depth will be inverted.
+ */
+ inverted: boolean;
+ }
+
+ /**
+ * Constructs a new depth of field effect.
+ * @param camera - The main camera.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.focusDistance = 0.0] - The normalized focus distance. Range is [0.0, 1.0].
+ * @param [options.focalLength = 0.05] - The focal length. Range is [0.0, 1.0].
+ * @param [options.bokehScale = 1.0] - The scale of the bokeh blur.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ */
+ export class DepthOfFieldEffect extends Effect {
+ constructor(
+ camera: Camera,
+ options?: {
+ blendFunction?: BlendFunction;
+ focusDistance?: number;
+ focalLength?: number;
+ bokehScale?: number;
+ width?: number;
+ height?: number;
+ }
+ );
+ /**
+ * This pass blurs the foreground CoC buffer to soften edges.
+ */
+ blurPass: BlurPass;
+ /**
+ * A target position that should be kept in focus.
+
+ Set this to `null` to disable auto focus.
+ */
+ target: Vector3;
+ /**
+ * The circle of confusion material.
+ */
+ circleOfConfusionMaterial: CircleOfConfusionMaterial;
+ /**
+ * The resolution of this effect.
+ */
+ resolution: Resizer;
+ /**
+ * The current bokeh scale.
+ */
+ bokehScale: number;
+ /**
+ * Calculates the focus distance from the camera to the given position.
+ * @param target - The target.
+ * @returns The normalized focus distance.
+ */
+ calculateFocusDistance(target: Vector3): number;
+ /**
+ * Sets the depth texture.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new dot screen effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.angle = 1.57] - The angle of the dot pattern.
+ * @param [options.scale = 1.0] - The scale of the dot pattern.
+ */
+ export class DotScreenEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ angle?: number;
+ scale?: number;
+ });
+ /**
+ * Sets the pattern angle.
+ * @param [angle] - The angle of the dot pattern.
+ */
+ setAngle(angle?: number): void;
+ }
+
+ /**
+ * Constructs a new glitch effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.chromaticAberrationOffset] - A chromatic aberration offset. If provided, the glitch effect will influence this offset.
+ * @param [options.delay] - The minimum and maximum delay between glitch activations in seconds.
+ * @param [options.duration] - The minimum and maximum duration of a glitch in seconds.
+ * @param [options.strength] - The strength of weak and strong glitches.
+ * @param [options.perturbationMap] - A perturbation map. If none is provided, a noise texture will be created.
+ * @param [options.dtSize = 64] - The size of the generated noise map. Will be ignored if a perturbation map is provided.
+ * @param [options.columns = 0.05] - The scale of the blocky glitch columns.
+ * @param [options.ratio = 0.85] - The threshold for strong glitches.
+ */
+ export class GlitchEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ chromaticAberrationOffset?: Vector2;
+ delay?: Vector2;
+ duration?: Vector2;
+ strength?: Vector2;
+ perturbationMap?: Texture;
+ dtSize?: number;
+ columns?: number;
+ ratio?: number;
+ });
+ /**
+ * The minimum and maximum delay between glitch activations in seconds.
+ */
+ delay: Vector2;
+ /**
+ * The minimum and maximum duration of a glitch in seconds.
+ */
+ duration: Vector2;
+ /**
+ * The effect mode.
+ */
+ mode: GlitchMode;
+ /**
+ * The strength of weak and strong glitches.
+ */
+ strength: Vector2;
+ /**
+ * The threshold for strong glitches, ranging from 0 to 1 where 0 means no
+ weak glitches and 1 means no strong ones. The default ratio of 0.85
+ offers a decent balance.
+ */
+ ratio: number;
+ /**
+ * The chromatic aberration offset.
+ */
+ chromaticAberrationOffset: Vector2;
+ /**
+ * Indicates whether the glitch effect is currently active.
+ */
+ active: boolean;
+ /**
+ * Returns the current perturbation map.
+ * @returns The current perturbation map.
+ */
+ getPerturbationMap(): Texture;
+ /**
+ * Replaces the current perturbation map with the given one.
+
+ The current map will be disposed if it was generated by this effect.
+ * @param perturbationMap - The new perturbation map.
+ */
+ setPerturbationMap(perturbationMap: Texture): void;
+ /**
+ * Generates a perturbation map.
+ * @param [size = 64] - The texture size.
+ * @returns The perturbation map.
+ */
+ generatePerturbationMap(size?: number): DataTexture;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ }
+
+ /**
+ * A glitch mode enumeration.
+ * @property DISABLED - No glitches.
+ * @property SPORADIC - Sporadic glitches.
+ * @property CONSTANT_MILD - Constant mild glitches.
+ * @property CONSTANT_WILD - Constant wild glitches.
+ */
+ export const GlitchMode: {
+ DISABLED: number;
+ SPORADIC: number;
+ CONSTANT_MILD: number;
+ CONSTANT_WILD: number;
+ };
+
+ /**
+ * Constructs a new god rays effect.
+ * @param camera - The main camera.
+ * @param lightSource - The light source. Must not write depth and has to be flagged as transparent.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
+ * @param [options.samples = 60.0] - The number of samples per pixel.
+ * @param [options.density = 0.96] - The density of the light rays.
+ * @param [options.decay = 0.9] - An illumination decay factor.
+ * @param [options.weight = 0.4] - A light ray weight factor.
+ * @param [options.exposure = 0.6] - A constant attenuation coefficient.
+ * @param [options.clampMax = 1.0] - An upper bound for the saturation of the overall effect.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.kernelSize = KernelSize.SMALL] - The blur kernel size. Has no effect if blur is disabled.
+ * @param [options.blur = true] - Whether the god rays should be blurred to reduce artifacts.
+ */
+ export class GodRaysEffect extends Effect {
+ constructor(
+ camera: Camera,
+ lightSource: Mesh | Points,
+ options?: {
+ blendFunction?: BlendFunction;
+ samples?: number;
+ density?: number;
+ decay?: number;
+ weight?: number;
+ exposure?: number;
+ clampMax?: number;
+ width?: number;
+ height?: number;
+ kernelSize?: KernelSize;
+ blur?: number;
+ }
+ );
+ /**
+ * A blur pass that reduces aliasing artifacts and makes the light softer.
+
+ Disable this pass to improve performance.
+ */
+ blurPass: BlurPass;
+ /**
+ * A texture that contains the intermediate result of this effect.
+
+ This texture will be applied to the scene colors unless the blend function
+ is set to `SKIP`.
+ */
+ texture: Texture;
+ /**
+ * The internal god rays material.
+ */
+ godRaysMaterial: GodRaysMaterial;
+ /**
+ * The resolution of this effect.
+ */
+ resolution: Resizer;
+ /**
+ * The current width of the internal render targets.
+ */
+ width: number;
+ /**
+ * The current height of the internal render targets.
+ */
+ height: number;
+ /**
+ * Indicates whether dithering is enabled.
+ */
+ dithering: boolean;
+ /**
+ * Indicates whether the god rays should be blurred to reduce artifacts.
+ */
+ blur: boolean;
+ /**
+ * The blur kernel size.
+ */
+ kernelSize: KernelSize;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * The number of samples per pixel.
+ */
+ samples: number;
+ /**
+ * Sets the depth texture.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new grid effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.OVERLAY] - The blend function of this effect.
+ * @param [options.scale = 1.0] - The scale of the grid pattern.
+ * @param [options.lineWidth = 0.0] - The line width of the grid pattern.
+ */
+ export class GridEffect extends Effect {
+ constructor(
+ options?: Partial<{
+ blendFunction: BlendFunction;
+ scale: number;
+ lineWidth: number;
+ }>
+ );
+ /**
+ * Returns the current grid scale.
+ * @returns The grid scale.
+ */
+ getScale(): number;
+ /**
+ * Sets the grid scale.
+ * @param scale - The new grid scale.
+ */
+ setScale(scale: number): void;
+ /**
+ * Returns the current grid line width.
+ * @returns The grid line width.
+ */
+ getLineWidth(): number;
+ /**
+ * Sets the grid line width.
+ * @param lineWidth - The new grid line width.
+ */
+ setLineWidth(lineWidth: number): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new hue/saturation effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.hue = 0.0] - The hue in radians.
+ * @param [options.saturation = 0.0] - The saturation factor, ranging from -1 to 1, where 0 means no change.
+ */
+ export class HueSaturationEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ hue?: number;
+ saturation?: number;
+ });
+ /**
+ * Sets the hue.
+ * @param hue - The hue in radians.
+ */
+ setHue(hue: number): void;
+ }
+
+ /**
+ * Constructs a new noise effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
+ * @param [options.premultiply = false] - Whether the noise should be multiplied with the input color.
+ */
+ export class NoiseEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ premultiply?: boolean;
+ });
+ /**
+ * Indicates whether the noise should be multiplied with the input color.
+ */
+ premultiply: boolean;
+ }
+
+ /**
+ * Constructs a new outline effect.
+
+ If you want dark outlines, remember to use an appropriate blend function.
+ * @param scene - The main scene.
+ * @param camera - The main camera.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function. Set this to `BlendFunction.ALPHA` for dark outlines.
+ * @param [options.patternTexture = null] - A pattern texture.
+ * @param [options.edgeStrength = 1.0] - The edge strength.
+ * @param [options.pulseSpeed = 0.0] - The pulse speed. A value of zero disables the pulse effect.
+ * @param [options.visibleEdgeColor = 0xffffff] - The color of visible edges.
+ * @param [options.hiddenEdgeColor = 0x22090a] - The color of hidden edges.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.kernelSize = KernelSize.VERY_SMALL] - The blur kernel size.
+ * @param [options.blur = false] - Whether the outline should be blurred.
+ * @param [options.xRay = true] - Whether occluded parts of selected objects should be visible.
+ */
+ export class OutlineEffect extends Effect {
+ constructor(
+ scene: Scene,
+ camera: Camera,
+ options?: Partial<{
+ blendFunction: BlendFunction;
+ patternTexture: number;
+ edgeStrength: number;
+ pulseSpeed: number;
+ visibleEdgeColor: number;
+ hiddenEdgeColor: number;
+ width: number;
+ height: number;
+ kernelSize: KernelSize;
+ blur: boolean;
+ xRay: boolean;
+ }>
+ );
+ /**
+ * A blur pass.
+ */
+ blurPass: BlurPass;
+ /**
+ * A selection of objects that will be outlined.
+ */
+ selection: Selection;
+ /**
+ * The pulse speed. A value of zero disables the pulse effect.
+ */
+ pulseSpeed: number;
+ /**
+ * The resolution of this effect.
+ */
+ resolution: Resizer;
+ /**
+ * The current width of the internal render targets.
+ */
+ width: number;
+ /**
+ * The current height of the internal render targets.
+ */
+ height: number;
+ selectionLayer: number;
+ /**
+ * Indicates whether dithering is enabled.
+ */
+ dithering: boolean;
+ /**
+ * The blur kernel size.
+ */
+ kernelSize: KernelSize;
+ /**
+ * Indicates whether the outlines should be blurred.
+ */
+ blur: boolean;
+ /**
+ * Indicates whether X-Ray outlines are enabled.
+ */
+ xRay: boolean;
+ /**
+ * Sets the pattern texture.
+
+ You'll need to call {@link EffectPass#recompile} after changing the
+ texture.
+ * @param texture - The new texture.
+ */
+ setPatternTexture(texture: Texture): void;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Clears the current selection and selects a list of objects.
+ * @param objects - The objects that should be outlined. This array will be copied.
+ * @returns This pass.
+ */
+ setSelection(objects: Object3D[]): OutlinePass;
+ /**
+ * Clears the list of selected objects.
+ * @returns This pass.
+ */
+ clearSelection(): OutlinePass;
+ /**
+ * Selects an object.
+ * @param object - The object that should be outlined.
+ * @returns This pass.
+ */
+ selectObject(object: Object3D): OutlinePass;
+ /**
+ * Deselects an object.
+ * @param object - The object that should no longer be outlined.
+ * @returns This pass.
+ */
+ deselectObject(object: Object3D): OutlinePass;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new pixelation effect.
+ * @param [granularity = 30.0] - The pixel granularity.
+ */
+ export class PixelationEffect extends Effect {
+ constructor(granularity?: any);
+ /**
+ * Returns the pixel granularity.
+ * @returns The granularity.
+ */
+ getGranularity(): number;
+ /**
+ * Sets the pixel granularity.
+
+ A higher value yields coarser visuals.
+ * @param granularity - The new granularity.
+ */
+ setGranularity(granularity: number): void;
+ /**
+ * Updates the granularity.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new scanline effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.OVERLAY] - The blend function of this effect.
+ * @param [options.density = 1.25] - The scanline density.
+ */
+ export class ScanlineEffect extends Effect {
+ density: number;
+ blendFunction: BlendFunction;
+ constructor(options?: {blendFunction?: BlendFunction; density?: number});
+ /**
+ * Returns the current scanline density.
+ * @returns The scanline density.
+ */
+ getDensity(): number;
+ /**
+ * Sets the scanline density.
+ * @param density - The new scanline density.
+ */
+ setDensity(density: number): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new shock wave effect.
+ * @param camera - The main camera.
+ * @param [epicenter] - The world position of the shock wave epicenter.
+ * @param [options] - The options.
+ * @param [options.speed = 2.0] - The animation speed.
+ * @param [options.maxRadius = 1.0] - The extent of the shock wave.
+ * @param [options.waveSize = 0.2] - The wave size.
+ * @param [options.amplitude = 0.05] - The distortion amplitude.
+ */
+ export class ShockWaveEffect extends Effect {
+ constructor(
+ camera: Camera,
+ epicenter?: Vector3,
+ options?: {
+ speed?: number;
+ maxRadius?: number;
+ waveSize?: number;
+ amplitude?: number;
+ }
+ );
+ /**
+ * The main camera.
+ */
+ camera: Camera;
+ /**
+ * The epicenter.
+ * @example
+ * shockWavePass.epicenter = myMesh.position;
+ */
+ epicenter: Vector3;
+ /**
+ * The speed of the shock wave animation.
+ */
+ speed: number;
+ /**
+ * Emits the shock wave.
+ */
+ explode(): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [delta] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ delta?: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new selective bloom effect.
+ * @param scene - The main scene.
+ * @param camera - The main camera.
+ * @param [options] - The options. See {@link BloomEffect} for details.
+ */
+ export class SelectiveBloomEffect extends Effect {
+ constructor(scene: Scene, camera: Camera, options?: any);
+ /**
+ * A selection of objects.
+ */
+ selection: Selection;
+ /**
+ * Indicates whether the selection should be considered inverted.
+ */
+ inverted: boolean;
+ /**
+ * Indicates whether the scene background should be ignored.
+ */
+ ignoreBackground: boolean;
+
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new sepia effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.intensity = 1.0] - The intensity of the effect.
+ */
+ export class SepiaEffect extends Effect {
+ constructor(options?: {blendFunction?: BlendFunction; intensity?: number});
+ }
+
+ /**
+ * Constructs a new SMAA effect.
+ * @param searchImage - The SMAA search image. Preload this image using the {@link SMAAImageLoader}.
+ * @param areaImage - The SMAA area image. Preload this image using the {@link SMAAImageLoader}.
+ * @param [preset = SMAAPreset.HIGH] - An SMAA quality preset.
+ * @param [edgeDetectionMode = EdgeDetectionMode.COLOR] - The edge detection mode.
+ */
+ export class SMAAEffect extends Effect {
+ constructor(
+ searchImage: Image,
+ areaImage: Image,
+ preset?: SMAAPreset,
+ edgeDetectionMode?: EdgeDetectionMode
+ );
+ /**
+ * The internal edge detection material.
+ */
+ edgeDetectionMaterial: EdgeDetectionMaterial;
+ /**
+ * The internal edge detection material.
+ */
+ colorEdgesMaterial: EdgeDetectionMaterial;
+ /**
+ * The internal edge weights material.
+ */
+ weightsMaterial: SMAAWeightsMaterial;
+ /**
+ * Sets the edge detection sensitivity.
+
+ See {@link EdgeDetectionMaterial#setEdgeDetectionThreshold} for more details.
+ * @param threshold - The edge detection sensitivity. Range: [0.05, 0.5].
+ */
+ setEdgeDetectionThreshold(threshold: number): void;
+ /**
+ * Sets the maximum amount of horizontal/vertical search steps.
+
+ See {@link SMAAWeightsMaterial#setOrthogonalSearchSteps} for more details.
+ * @param steps - The search steps. Range: [0, 112].
+ */
+ setOrthogonalSearchSteps(steps: number): void;
+ /**
+ * Applies the given quality preset.
+ * @param preset - The preset.
+ */
+ applyPreset(preset: SMAAPreset): void;
+ /**
+ * Sets the depth texture.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Deletes internal render targets and textures.
+ */
+ dispose(): void;
+ /**
+ * The SMAA search image, encoded as a base64 data URL.
+
+ Use this image data to create an Image instance and use it together with
+ the area image to create an {@link SMAAEffect}.
+ * @example
+ * const searchImage = new Image();
+ searchImage.addEventListener("load", progress);
+ searchImage.src = SMAAEffect.searchImageDataURL;
+ */
+ static searchImageDataURL: string;
+ /**
+ * The SMAA area image, encoded as a base64 data URL.
+
+ Use this image data to create an Image instance and use it together with
+ the search image to create an {@link SMAAEffect}.
+ * @example
+ * const areaImage = new Image();
+ areaImage.addEventListener("load", progress);
+ areaImage.src = SMAAEffect.areaImageDataURL;
+ */
+ static areaImageDataURL: string;
+ }
+
+ /**
+ * An enumeration of SMAA presets.
+ * @property LOW - Results in around 60% of the maximum quality.
+ * @property MEDIUM - Results in around 80% of the maximum quality.
+ * @property HIGH - Results in around 95% of the maximum quality.
+ * @property ULTRA - Results in around 99% of the maximum quality.
+ */
+ export const SMAAPreset: {
+ LOW: number;
+ MEDIUM: number;
+ HIGH: number;
+ ULTRA: number;
+ };
+
+ /**
+ * Constructs a new SSAO effect.
+ * @param camera - The main camera.
+ * @param normalBuffer - A texture that contains the scene normals. See {@link NormalPass}.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.MULTIPLY] - The blend function of this effect.
+ * @param [options.samples = 11] - The amount of samples per pixel. Should not be a multiple of the ring count.
+ * @param [options.rings = 4] - The amount of rings in the occlusion sampling pattern.
+ * @param [options.distanceThreshold = 0.97] - A global distance threshold at which the occlusion effect starts to fade out. Range [0.0, 1.0].
+ * @param [options.distanceFalloff = 0.03] - The distance falloff. Influences the smoothness of the overall occlusion cutoff. Range [0.0, 1.0].
+ * @param [options.rangeThreshold = 0.0005] - A local occlusion range threshold at which the occlusion starts to fade out. Range [0.0, 1.0].
+ * @param [options.rangeFalloff = 0.001] - The occlusion range falloff. Influences the smoothness of the proximity cutoff. Range [0.0, 1.0].
+ * @param [options.luminanceInfluence = 0.7] - Determines how much the luminance of the scene influences the ambient occlusion.
+ * @param [options.radius = 18.25] - The occlusion sampling radius.
+ * @param [options.scale = 1.0] - The scale of the ambient occlusion.
+ * @param [options.bias = 0.0] - An occlusion bias.
+ */
+ export class SSAOEffect extends Effect {
+ constructor(
+ camera: Camera,
+ normalBuffer: Texture,
+ options?: {
+ blendFunction?: BlendFunction;
+ samples?: number;
+ rings?: number;
+ distanceThreshold?: number;
+ distanceFalloff?: number;
+ rangeThreshold?: number;
+ rangeFalloff?: number;
+ luminanceInfluence?: number;
+ radius?: number;
+ scale?: number;
+ bias?: number;
+ }
+ );
+ /**
+ * The amount of occlusion samples per pixel.
+ */
+ samples: number;
+ /**
+ * The amount of rings in the occlusion sampling spiral pattern.
+ */
+ rings: number;
+ /**
+ * The occlusion sampling radius.
+ */
+ radius: number;
+ /**
+ * Sets the occlusion distance cutoff.
+ * @param threshold - The distance threshold. Range [0.0, 1.0].
+ * @param falloff - The falloff. Range [0.0, 1.0].
+ */
+ setDistanceCutoff(threshold: number, falloff: number): void;
+ /**
+ * Sets the occlusion proximity cutoff.
+ * @param threshold - The range threshold. Range [0.0, 1.0].
+ * @param falloff - The falloff. Range [0.0, 1.0].
+ */
+ setProximityCutoff(threshold: number, falloff: number): void;
+ /**
+ * Updates the camera projection matrix uniforms.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new texture effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.texture] - A texture.
+ */
+ export class TextureEffect extends Effect {
+ constructor(
+ options?: Partial<{blendFunction: BlendFunction; texture: Texture}>
+ );
+ /**
+ * The texture.
+ */
+ texture: Texture;
+ /**
+ * Indicates whether aspect correction is enabled.
+
+ If enabled, the texture can be scaled using the `scale` uniform.
+ */
+ aspectCorrection: number;
+ /**
+ * Indicates whether the texture UV coordinates will be transformed using the
+ transformation matrix of the texture.
+
+ Cannot be used if aspect correction is enabled.
+ */
+ uvTransform: boolean;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new tone mapping effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.adaptive = true] - Whether the tone mapping should use an adaptive luminance map.
+ * @param [options.resolution = 256] - The render texture resolution of the luminance map.
+ * @param [options.middleGrey = 0.6] - The middle grey factor.
+ * @param [options.maxLuminance = 16.0] - The maximum luminance.
+ * @param [options.averageLuminance = 1.0] - The average luminance.
+ * @param [options.adaptationRate = 1.0] - The luminance adaptation rate.
+ */
+ export class ToneMappingEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ adaptive?: boolean;
+ resolution?: number;
+ middleGrey?: number;
+ maxLuminance?: number;
+ averageLuminance?: number;
+ adaptationRate?: number;
+ });
+ /**
+ * The resolution of the render targets.
+ */
+ resolution: number;
+ /**
+ * Indicates whether this pass uses adaptive luminance.
+ */
+ adaptive: boolean;
+ /**
+ * The luminance adaptation rate.
+ */
+ adaptationRate: number;
+
+ distinction: number;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ deltaTime?: number
+ ): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(
+ renderer: WebGLRenderer,
+ alpha: boolean,
+ frameBufferType: number
+ ): void;
+ }
+
+ /**
+ * Constructs a new vignette effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.eskil = false] - Enables Eskil's vignette technique.
+ * @param [options.offset = 0.5] - The vignette offset.
+ * @param [options.darkness = 0.5] - The vignette darkness.
+ */
+ export class VignetteEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ eskil?: boolean;
+ offset?: number;
+ darkness?: number;
+ });
+ /**
+ * Indicates whether Eskil's vignette technique is enabled.
+ */
+ eskil: boolean;
+ }
+
+ /**
+ * Constructs a new image data container.
+ * @param [width = 0] - The width of the image.
+ * @param [height = 0] - The height of the image.
+ * @param [data = null] - The image data.
+ */
+ export class RawImageData {
+ constructor(width?: number, height?: number, data?: Uint8ClampedArray);
+ /**
+ * The width of the image.
+ */
+ width: number;
+ /**
+ * The height of the image.
+ */
+ height: number;
+ /**
+ * The image data.
+ */
+ data: Uint8ClampedArray;
+ /**
+ * Creates a canvas from this image data.
+ * @returns The canvas or null if it couldn't be created.
+ */
+ toCanvas(): Canvas;
+ /**
+ * Creates a new image data container.
+ * @param data - Raw image data.
+ * @returns The image data.
+ */
+ static from(data: any): RawImageData;
+ }
+
+ /**
+ * Constructs a new SMAA image loader.
+ * @param [manager] - A loading manager.
+ */
+ export class SMAAImageLoader extends Loader {
+ constructor(manager?: LoadingManager);
+ /**
+ * Indicates whether data image caching is disabled.
+ */
+ disableCache: boolean;
+ /**
+ * Loads the SMAA data images.
+ * @param [onLoad] - A function to call when the loading process is done.
+ * @param [onError] - A function to call when an error occurs.
+ * @returns A promise that returns the search image and area image as a pair.
+ */
+ load(
+ url: string,
+ onLoad?: (result: any) => void,
+ onProgress?: (event: ProgressEvent) => void,
+ onError?: (event: ErrorEvent) => void
+ ): Promise<any, any>;
+ }
+
+ /**
+ * SMAA area image data.
+
+ This texture allows to obtain the area for a certain pattern and distances
+ to the left and to the right of the identified line.
+
+ Based on the official python scripts:
+ https://github.com/iryoku/smaa/tree/master/Scripts
+ */
+ export class SMAAAreaImageData {
+ /**
+ * Creates a new area image.
+ * @returns The generated image data.
+ */
+ static generate(): RawImageData;
+ }
+
+ /**
+ * SMAA search image data.
+
+ This image stores information about how many pixels the line search
+ algorithm must advance in the last step.
+
+ Based on the official python scripts:
+ https://github.com/iryoku/smaa/tree/master/Scripts
+ */
+ export class SMAASearchImageData {
+ /**
+ * Creates a new search image.
+ * @returns The generated image data.
+ */
+ static generate(): RawImageData;
+ }
+}
diff --git a/packages/example/tsconfig.json b/packages/example/tsconfig.json
index 151e5ac2a1..5f395d6ce3 100644
--- a/packages/example/tsconfig.json
+++ b/packages/example/tsconfig.json
@@ -5,7 +5,8 @@
"outDir": "./dist",
"jsx": "react-jsx",
"skipLibCheck": true,
- "allowSyntheticDefaultImports": true
+ "allowSyntheticDefaultImports": true,
+ "typeRoots": ["node_modules", "src/ThreePostProcessing/types"]
},
"include": ["src"],
"references": [
diff --git a/packages/three/src/effects/postprocessing.d.ts b/packages/three/src/effects/postprocessing.d.ts
deleted file mode 100644
index ae447a5b8a..0000000000
--- a/packages/three/src/effects/postprocessing.d.ts
+++ /dev/null
@@ -1,2842 +0,0 @@
-declare module 'postprocessing' {
- import {
- Vector2,
- WebGLRenderer,
- Camera,
- PerspectiveCamera,
- Texture,
- Material,
- WebGLRenderTarget,
- Scene,
- DepthTexture,
- Uniform,
- Object3D,
- Vector3,
- ShaderMaterial,
- DataTexture,
- Mesh,
- Points,
- LoadingManager,
- TextureDataType,
- Loader,
- } from 'three';
-
- /**
- * A color channel enumeration.
- * @property RED - Red.
- * @property GREEN - Green.
- * @property BLUE - Blue.
- * @property ALPHA - Alpha.
- */
- export const ColorChannel: {
- RED: number;
- GREEN: number;
- BLUE: number;
- ALPHA: number;
- };
-
- /**
- * The Disposable contract.
-
- Implemented by objects that can free internal resources.
- */
- export interface Disposable {
- /**
- * Frees internal resources.
- */
- dispose(): void;
- }
-
- /**
- * The initializable contract.
-
- Implemented by objects that can be initialized.
- */
- export interface Initializable {
- /**
- * Performs initialization tasks.
- * @param renderer - A renderer.
- * @param alpha - Whether the renderer uses the alpha channel.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- }
-
- /**
- * Constructs a new adaptive luminance material.
- */
- export class AdaptiveLuminanceMaterial { }
-
- /**
- * Constructs a new bokeh material.
- * @param [fill = false] - Enables or disables the bokeh highlight fill mode.
- * @param [foreground = false] - Determines whether this material will be applied to foreground colors.
- */
- export class BokehMaterial {
- constructor(fill?: boolean = false, foreground?: boolean = false);
- /**
- * Sets the texel size.
- * @param x - The texel width.
- * @param y - The texel height.
- */
- setTexelSize(x: number, y: number): void;
- }
-
- /**
- * Constructs a new CoC material.
- * @param camera - A camera.
- */
- export class CircleOfConfusionMaterial {
- constructor(camera: Camera);
- /**
- * The current depth packing.
- */
- depthPacking: number;
- /**
- * Adopts the settings of the given camera.
- * @param [camera = null] - A camera.
- */
- adoptCameraSettings(camera?: Camera = null): void;
- }
-
- /**
- * Constructs a new color edges material.
- * @param [texelSize] - The absolute screen texel size.
- */
- export class ColorEdgesMaterial {
- constructor(texelSize?: Vector2);
- /**
- * Sets the local contrast adaptation factor.
-
- If there is a neighbor edge that has _factor_ times bigger contrast than
- the current edge, the edge will be discarded.
-
- This allows to eliminate spurious crossing edges and is based on the fact
- that if there is too much contrast in a direction, the perceptual contrast
- in the other neighbors will be hidden.
- * @param factor - The local contrast adaptation factor. Default is 2.0.
- */
- setLocalContrastAdaptationFactor(factor: number): void;
- /**
- * Sets the edge detection sensitivity.
-
- A lower value results in more edges being detected at the expense of
- performance.
-
- 0.1 is a reasonable value, and allows to catch most visible edges.
- 0.05 is a rather overkill value, that allows to catch 'em all.
-
- If temporal supersampling is used, 0.2 could be a reasonable value, as low
- contrast edges are properly filtered by just 2x.
- * @param threshold - The edge detection sensitivity. Range: [0.05, 0.5].
- */
- setEdgeDetectionThreshold(threshold: number): void;
- }
-
- /**
- * Constructs a new convolution material.
- * @param [texelSize] - The absolute screen texel size.
- */
- export class ConvolutionMaterial {
- constructor(texelSize?: Vector2);
- /**
- * The current kernel size.
- */
- kernelSize: KernelSize;
- /**
- * Returns the kernel.
- * @returns The kernel.
- */
- getKernel(): Float32Array;
- /**
- * Sets the texel size.
- * @param x - The texel width.
- * @param y - The texel height.
- */
- setTexelSize(x: number, y: number): void;
- }
-
- /**
- * A kernel size enumeration.
- * @property VERY_SMALL - A very small kernel that matches a 7x7 Gauss blur kernel.
- * @property SMALL - A small kernel that matches a 15x15 Gauss blur kernel.
- * @property MEDIUM - A medium sized kernel that matches a 23x23 Gauss blur kernel.
- * @property LARGE - A large kernel that matches a 35x35 Gauss blur kernel.
- * @property VERY_LARGE - A very large kernel that matches a 63x63 Gauss blur kernel.
- * @property HUGE - A huge kernel that matches a 127x127 Gauss blur kernel.
- */
- export const KernelSize: {
- VERY_SMALL: number;
- SMALL: number;
- MEDIUM: number;
- LARGE: number;
- VERY_LARGE: number;
- HUGE: number;
- };
-
- /**
- * Constructs a new copy material.
- */
- export class CopyMaterial { }
-
- /**
- * Constructs a new depth comparison material.
- * @param [depthTexture = null] - A depth texture.
- * @param [camera] - A camera.
- */
- export class DepthComparisonMaterial {
- constructor(depthTexture?: Texture, camera?: PerspectiveCamera);
- /**
- * Adopts the settings of the given camera.
- * @param [camera = null] - A camera.
- */
- adoptCameraSettings(camera?: Camera): void;
- }
-
- /**
- * Constructs a new depth mask material.
- */
- export class DepthMaskMaterial { }
-
- /**
- * Constructs a new edge detection material.
- * @param [texelSize] - The screen texel size.
- * @param [mode = EdgeDetectionMode.COLOR] - The edge detection mode.
- */
- export class EdgeDetectionMaterial {
- constructor(texelSize?: Vector2, mode?: EdgeDetectionMode);
- /**
- * The current depth packing.
- */
- depthPacking: number;
- /**
- * Sets the edge detection mode.
-
- Warning: If you intend to change the edge detection mode at runtime, make
- sure that {@link EffectPass.needsDepthTexture} is set to `true` _before_
- the EffectPass is added to the composer.
- * @param mode - The edge detection mode.
- */
- setEdgeDetectionMode(mode: EdgeDetectionMode): void;
- /**
- * Sets the local contrast adaptation factor. Has no effect if the edge
- detection mode is set to DEPTH.
-
- If there is a neighbor edge that has _factor_ times bigger contrast than
- the current edge, the edge will be discarded.
-
- This allows to eliminate spurious crossing edges and is based on the fact
- that if there is too much contrast in a direction, the perceptual contrast
- in the other neighbors will be hidden.
- * @param factor - The local contrast adaptation factor. Default is 2.0.
- */
- setLocalContrastAdaptationFactor(factor: number): void;
- /**
- * Sets the edge detection sensitivity.
-
- A lower value results in more edges being detected at the expense of
- performance.
-
- 0.1 is a reasonable value, and allows to catch most visible edges.
- 0.05 is a rather overkill value, that allows to catch 'em all.
-
- If temporal supersampling is used, 0.2 could be a reasonable value, as low
- contrast edges are properly filtered by just 2x.
- * @param threshold - The edge detection sensitivity. Range: [0.05, 0.5].
- */
- setEdgeDetectionThreshold(threshold: number): void;
- }
-
- /**
- * An enumeration of edge detection modes.
- * @property DEPTH - Depth-based edge detection.
- * @property LUMA - Luminance-based edge detection.
- * @property COLOR - Chroma-based edge detection.
- */
- export const EdgeDetectionMode: {
- DEPTH: number;
- LUMA: number;
- COLOR: number;
- };
-
- /**
- * Constructs a new effect material.
- * @param [shaderParts = null] - A collection of shader snippets. See {@link Section}.
- * @param [defines = null] - A collection of preprocessor macro definitions.
- * @param [uniforms = null] - A collection of uniforms.
- * @param [camera = null] - A camera.
- * @param [dithering = false] - Whether dithering should be enabled.
- */
- export class EffectMaterial implements Resizable {
- constructor(
- shaderParts?: Map<string, string>,
- defines?: Map<string, string>,
- uniforms?: Map<string, Uniform>,
- camera?: Camera,
- dithering?: boolean
- );
- /**
- * The current depth packing.
- */
- depthPacking: number;
- /**
- * Sets the shader parts.
- * @param shaderParts - A collection of shader snippets. See {@link Section}.
- * @returns This material.
- */
- setShaderParts(shaderParts: Map<string, string>): EffectMaterial;
- /**
- * Sets the shader macros.
- * @param defines - A collection of preprocessor macro definitions.
- * @returns This material.
- */
- setDefines(defines: Map<string, string>): EffectMaterial;
- /**
- * Sets the shader uniforms.
- * @param uniforms - A collection of uniforms.
- * @returns This material.
- */
- setUniforms(uniforms: Map<string, Uniform>): EffectMaterial;
- /**
- * Adopts the settings of the given camera.
- * @param [camera = null] - A camera.
- */
- adoptCameraSettings(camera?: Camera): void;
- /**
- * Sets the resolution.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- }
-
- /**
- * An enumeration of shader code placeholders used by the {@link EffectPass}.
- * @property FRAGMENT_HEAD - A placeholder for function and variable declarations inside the fragment shader.
- * @property FRAGMENT_MAIN_UV - A placeholder for UV transformations inside the fragment shader.
- * @property FRAGMENT_MAIN_IMAGE - A placeholder for color calculations inside the fragment shader.
- * @property VERTEX_HEAD - A placeholder for function and variable declarations inside the vertex shader.
- * @property VERTEX_MAIN_SUPPORT - A placeholder for supporting calculations inside the vertex shader.
- */
- export const Section: {
- FRAGMENT_HEAD: string;
- FRAGMENT_MAIN_UV: string;
- FRAGMENT_MAIN_IMAGE: string;
- VERTEX_HEAD: string;
- VERTEX_MAIN_SUPPORT: string;
- };
-
- /**
- * Constructs a new god rays material.
- * @param lightPosition - The light position in screen space.
- */
- export class GodRaysMaterial {
- constructor(lightPosition: Vector2);
- /**
- * The amount of samples per pixel.
- */
- samples: number;
- }
-
- /**
- * Constructs a new luminance material.
- * @param [colorOutput = false] - Defines whether the shader should output colors scaled with their luminance value.
- * @param [luminanceRange = null] - If provided, the shader will mask out texels that aren't in the specified luminance range.
- */
- export class LuminanceMaterial {
- constructor(colorOutput?: boolean, luminanceRange?: Vector2);
- /**
- * The luminance threshold.
- */
- threshold: number;
- /**
- * The luminance threshold smoothing.
- */
- smoothing: number;
- /**
- * Indicates whether the luminance threshold is enabled.
- */
- useThreshold: boolean;
-
- /**
- * Indicates whether color output is enabled.
- */
- colorOutput: boolean;
- /**
- * Enables or disables color output.
- * @param enabled - Whether color output should be enabled.
- */
- setColorOutputEnabled(enabled: boolean): void;
- /**
- * Indicates whether luminance masking is enabled.
- */
- useRange: boolean;
- /**
- * Indicates whether luminance masking is enabled.
- */
- luminanceRange: boolean;
- /**
- * Enables or disables the luminance mask.
- * @param enabled - Whether the luminance mask should be enabled.
- */
- setLuminanceRangeEnabled(enabled: boolean): void;
- }
-
- /**
- * Constructs a new mask material.
- * @param [maskTexture = null] - The mask texture.
- */
- export class MaskMaterial {
- constructor(maskTexture?: Texture);
- /**
- * Sets the mask texture.
- */
- maskTexture: Texture;
- /**
- * Sets the color channel to use for masking.
-
- The default channel is `RED`.
- */
- colorChannel: ColorChannel;
- /**
- * Sets the masking technique.
-
- The default function is `DISCARD`.
- */
- maskFunction: MaskFunction;
-
- /**
- * Indicates whether the masking is inverted.
- */
- inverted: boolean;
- /**
- * The current mask strength.
-
- Individual mask values will be clamped to [0.0, 1.0].
- */
- strength: number;
- }
-
- /**
- * A mask function enumeration.
- * @property DISCARD - Discards elements when the respective mask value is zero.
- * @property MULTIPLY - Multiplies the input buffer with the mask texture.
- * @property MULTIPLY_RGB_SET_ALPHA - Multiplies the input RGB values with the mask and sets alpha to the mask value.
- */
- export const MaskFunction: {
- DISCARD: number;
- MULTIPLY: number;
- MULTIPLY_RGB_SET_ALPHA: number;
- };
-
- /**
- * Constructs a new outline material.
- * @param [texelSize] - The screen texel size.
- */
- export class OutlineMaterial {
- constructor(texelSize?: Vector2);
- /**
- * Sets the texel size.
- * @param x - The texel width.
- * @param y - The texel height.
- */
- setTexelSize(x: number, y: number): void;
- }
-
- /**
- * An outline shader material.
- */
- export type OutlineEdgesMaterial = any;
-
- /**
- * Constructs a new SMAA weights material.
- * @param [texelSize] - The absolute screen texel size.
- * @param [resolution] - The resolution.
- */
- export class SMAAWeightsMaterial {
- constructor(texelSize?: Vector2, resolution?: Vector2);
- /**
- * Sets the maximum amount of steps performed in the horizontal/vertical
- pattern searches, at each side of the pixel.
-
- In number of pixels, it's actually the double. So the maximum line length
- perfectly handled by, for example 16, is 64 (perfectly means that longer
- lines won't look as good, but are still antialiased).
- * @param steps - The search steps. Range: [0, 112].
- */
- setOrthogonalSearchSteps(steps: number): void;
- /**
- * Specifies the maximum steps performed in the diagonal pattern searches, at
- each side of the pixel. This search jumps one pixel at time.
-
- On high-end machines this search is cheap (between 0.8x and 0.9x slower for
- 16 steps), but it can have a significant impact on older machines.
- * @param steps - The search steps. Range: [0, 20].
- */
- setDiagonalSearchSteps(steps: number): void;
- /**
- * Specifies how much sharp corners will be rounded.
- * @param rounding - The corner rounding amount. Range: [0, 100].
- */
- setCornerRounding(rounding: number): void;
- /**
- * Indicates whether diagonal pattern detection is enabled.
- */
- diagonalDetection: boolean;
- /**
- * Indicates whether corner rounding is enabled.
- */
- cornerRounding: boolean;
- }
-
- /**
- * Constructs a new resizer.
- * @param resizeable - A resizable object.
- * @param [width = Resizer.AUTO_SIZE] - The width.
- * @param [height = Resizer.AUTO_SIZE] - The height.
- */
- export class Resizer {
- constructor(resizeable: Resizable, width?: number, height?: number);
- /**
- * A resizable object.
- */
- resizable: Resizable;
- /**
- * The base size.
-
- This size will be passed to the resizable object every time the width or
- height is changed.
- */
- base: Vector2;
- /**
- * A scale.
-
- If both the width and the height are set to {@link Resizer.AUTO_SIZE},
- they will be scaled uniformly using this scalar.
- */
- scale: number;
- /**
- * The calculated width.
-
- If both the width and the height are set to {@link Resizer.AUTO_SIZE}, the
- base width will be returned.
- */
- width: number;
- /**
- * The calculated height.
-
- If both the width and the height are set to {@link Resizer.AUTO_SIZE}, the
- base height will be returned.
- */
- height: number;
- /**
- * An auto sizing constant.
-
- Can be used to automatically calculate the width or height based on the
- original aspect ratio.
- */
- static AUTO_SIZE: number;
- }
-
- export interface Pass extends Initializable, Resizable, Disposable { }
-
- /**
- * Constructs a new pass.
- * @param [name = Pass] - The name of this pass. Does not have to be unique.
- * @param [scene] - The scene to render. The default scene contains a single mesh that fills the screen.
- * @param [camera] - A camera. Fullscreen effect passes don't require a camera.
- */
- export class Pass implements Initializable, Resizable, Disposable {
- constructor(name?: string, scene?: Scene, camera?: Camera);
- /**
- * The name of this pass.
- */
- name: string;
- /**
- * The scene to render.
- */
- protected scene: Scene;
- /**
- * The camera.
- */
- protected camera: Camera;
- /**
- * Only relevant for subclassing.
-
- Indicates whether the {@link EffectComposer} should swap the frame
- buffers after this pass has finished rendering.
-
- Set this to `false` if this pass doesn't render to the output buffer or
- the screen. Otherwise, the contents of the input buffer will be lost.
- */
- needsSwap: boolean;
- /**
- * Indicates whether the {@link EffectComposer} should prepare a depth
- texture for this pass.
-
- Set this to `true` if this pass relies on depth information from a
- preceding {@link RenderPass}.
- */
- needsDepthTexture: boolean;
- /**
- * Indicates whether this pass should be executed.
- */
- enabled: boolean;
- /**
- * Indicates whether this pass should render to screen.
- */
- renderToScreen: boolean;
- /**
- * Returns the current fullscreen material.
- * @returns The current fullscreen material, or null if there is none.
- */
- getFullscreenMaterial(): Material;
- /**
- * Sets the fullscreen material.
-
- The material will be assigned to a mesh that fills the screen. The mesh
- will be created once a material is assigned via this method.
- * @param material - A fullscreen material.
- */
- protected setFullscreenMaterial(material: Material): void;
- /**
- * Returns the current depth texture.
- * @returns The current depth texture, or null if there is none.
- */
- getDepthTexture(): Texture;
- /**
- * Sets the depth texture.
-
- You may override this method if your pass relies on the depth information
- of a preceding {@link RenderPass}.
- * @param depthTexture - A depth texture.
- * @param [depthPacking = 0] - The depth packing.
- */
- setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
- /**
- * Renders the effect.
-
- This is an abstract method that must be overridden.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- /**
- * Updates this pass with the renderer's size.
-
- You may override this method in case you want to be informed about the size
- of the main frame buffer.
-
- The {@link EffectComposer} calls this method before this pass is
- initialized and every time its own size is updated.
- * @example
- * this.myRenderTarget.setSize(width, height);
- * @param width - The renderer's width.
- * @param height - The renderer's height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
-
- By overriding this method you gain access to the renderer. You'll also be
- able to configure your custom render targets to use the appropriate format
- (RGB or RGBA).
-
- The provided renderer can be used to warm up special off-screen render
- targets by performing a preliminary render operation.
-
- The {@link EffectComposer} calls this method when this pass is added to its
- queue, but not before its size has been set.
- * @example
- * if(!alpha && frameBufferType === UnsignedByteType) { this.myRenderTarget.texture.format = RGBFormat; }
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- /**
- * Performs a shallow search for disposable properties and deletes them. The
- pass will be inoperative after this method was called!
-
- Disposable objects:
- - WebGLRenderTarget
- - Material
- - Texture
-
- The {@link EffectComposer} calls this method when it is being destroyed.
- You may, however, use it independently to free memory when you are certain
- that you don't need this pass anymore.
- */
- dispose(): void;
- }
-
- /**
- * Constructs a new blur pass.
- * @param [options] - The options.
- * @param [options.width = Resizer.AUTO_SIZE] - The blur render width.
- * @param [options.height = Resizer.AUTO_SIZE] - The blur render height.
- * @param [options.kernelSize = KernelSize.LARGE] - The blur kernel size.
- */
- export class BlurPass {
- constructor(
- options?: Partial<{
- width?: number;
- height?: number;
- kernelSize?: KernelSize;
- }>
- );
- /**
- * The desired render resolution.
-
- It's recommended to set the height or the width to an absolute value for
- consistent results across different devices and resolutions.
-
- Use {@link Resizer.AUTO_SIZE} for the width or height to automatically
- calculate it based on its counterpart and the original aspect ratio.
- */
- resolution: Resizer;
- /**
- * Whether the blurred result should also be dithered using noise.
- */
- dithering: boolean;
- /**
- * The current width of the internal render targets.
- */
- width: number;
- /**
- * The current height of the internal render targets.
- */
- height: number;
- /**
- * The current blur scale.
- */
- scale: number;
- /**
- * The kernel size.
- */
- kernelSize: KernelSize;
- /**
- * Returns the current resolution scale.
- * @returns The resolution scale.
- */
- getResolutionScale(): number;
- /**
- * Sets the resolution scale.
- * @param scale - The new resolution scale.
- */
- setResolutionScale(scale: number): void;
- /**
- * Blurs the input buffer and writes the result to the output buffer. The
- input buffer remains intact, unless it's also the output buffer.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- /**
- * Updates the size of this pass.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- /**
- * An auto sizing flag.
- */
- static AUTO_SIZE: number;
- }
-
- /**
- * Constructs a new clear mask pass.
- */
- export class ClearMaskPass {
- /**
- * Disables the global stencil test.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- }
-
- /**
- * Constructs a new clear pass.
- * @param [color = true] - Determines whether the color buffer should be cleared.
- * @param [depth = true] - Determines whether the depth buffer should be cleared.
- * @param [stencil = false] - Determines whether the stencil buffer should be cleared.
- */
- export class ClearPass {
- constructor(color?: boolean, depth?: boolean, stencil?: boolean);
- /**
- * Indicates whether the color buffer should be cleared.
- */
- color: boolean;
- /**
- * Indicates whether the depth buffer should be cleared.
- */
- depth: boolean;
- /**
- * Indicates whether the stencil buffer should be cleared.
- */
- stencil: boolean;
- /**
- * An override clear alpha.
-
- The default value is -1.
- */
- overrideClearAlpha: number;
- /**
- * Clears the input buffer or the screen.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- }
-
- /**
- * Constructs a new render pass.
- * @param scene - The scene to render.
- * @param camera - The camera to use to render the scene.
- * @param [overrideMaterial = null] - An override material for the scene.
- */
- export class RenderPass extends Pass {
- constructor(scene: Scene, camera: Camera, overrideMaterial?: Material);
- /**
- * An override material.
- */
- overrideMaterial: Material;
- /**
- * Indicates whether the target buffer should be cleared before rendering.
- */
- clear: boolean;
- /**
- * Returns the clear pass.
- * @returns The clear pass.
- */
- getClearPass(): ClearPass;
- /**
- * Returns the current depth texture.
- * @returns The current depth texture, or null if there is none.
- */
- getDepthTexture(): Texture;
- /**
- * Sets the depth texture.
-
- The provided texture will be attached to the input buffer unless this pass
- renders to screen.
- * @param depthTexture - A depth texture.
- * @param [depthPacking = 0] - The depth packing.
- */
- setDepthTexture(depthTexture: DepthTexture, depthPacking?: number): void;
- /**
- * Renders the scene.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- }
-
- /**
- * Constructs a new depth pass.
- * @param scene - The scene to render.
- * @param camera - The camera to use to render the scene.
- * @param [options] - The options.
- * @param [options.width = Resizer.AUTO_SIZE] - The render width.
- * @param [options.height = Resizer.AUTO_SIZE] - The render height.
- * @param [options.renderTarget] - A custom render target.
- */
- export class DepthPass {
- constructor(
- scene: Scene,
- camera: Camera,
- options?: Partial<{
- width?: number;
- height?: number;
- renderTarget?: WebGLRenderTarget;
- }>
- );
- /**
- * A render target that contains the scene depth.
- */
- renderTarget: WebGLRenderTarget;
- /**
- * The desired render resolution.
-
- Use {@link Resizer.AUTO_SIZE} for the width or height to automatically
- calculate it based on its counterpart and the original aspect ratio.
- */
- resolution: Resizer;
- /**
- * Returns the current resolution scale.
- * @returns The resolution scale.
- */
- getResolutionScale(): number;
- /**
- * Sets the resolution scale.
- * @param scale - The new resolution scale.
- */
- setResolutionScale(scale: number): void;
- /**
- * Renders the scene depth.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- /**
- * Updates the size of this pass.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- }
-
- /**
- * A blend function enumeration.
- * @property SKIP - No blending. The effect will not be included in the final shader.
- * @property ADD - Additive blending. Fast, but may produce washed out results.
- * @property ALPHA - Alpha blending. Blends based on the alpha value of the new color.
- * @property AVERAGE - Average blending.
- * @property COLOR_BURN - Color burn.
- * @property COLOR_DODGE - Color dodge.
- * @property DARKEN - Prioritize darker colors.
- * @property DIFFERENCE - Color difference.
- * @property EXCLUSION - Color exclusion.
- * @property LIGHTEN - Prioritize lighter colors.
- * @property MULTIPLY - Color multiplication.
- * @property DIVIDE - Color division.
- * @property NEGATION - Color negation.
- * @property NORMAL - Normal blending. The new color overwrites the old one.
- * @property OVERLAY - Color overlay.
- * @property REFLECT - Color reflection.
- * @property SCREEN - Screen blending. The two colors are effectively projected on a white screen simultaneously.
- * @property SOFT_LIGHT - Soft light blending.
- * @property SUBTRACT - Color subtraction.
- */
- export enum BlendFunction {
- 'SKIP',
- 'ADD',
- 'ALPHA',
- 'AVERAGE',
- 'COLOR_BURN',
- 'COLOR_DODGE',
- 'DARKEN',
- 'DIFFERENCE',
- 'EXCLUSION',
- 'LIGHTEN',
- 'MULTIPLY',
- 'DIVIDE',
- 'NEGATION',
- 'NORMAL',
- 'OVERLAY',
- 'REFLECT',
- 'SCREEN',
- 'SOFT_LIGHT',
- 'SUBTRACT',
- }
-
- /**
- * Constructs a new blend mode.
- * @param blendFunction - The blend function to use.
- * @param opacity - The opacity of the color that will be blended with the base color.
- */
- export class BlendMode {
- constructor(blendFunction: BlendFunction, opacity?: number);
- /**
- * The blend function.
- */
- blendFunction: BlendFunction;
- /**
- * The opacity of the color that will be blended with the base color.
- */
- opacity: Uniform;
- /**
- * Returns the blend function shader code.
- * @returns The blend function shader code.
- */
- getShaderCode(): string;
- }
-
- /**
- * Constructs a new effect.
- * @param name - The name of this effect. Doesn't have to be unique.
- * @param fragmentShader - The fragment shader. This shader is required.
- * @param [options] - Additional options.
- * @param [options.attributes = EffectAttribute.NONE] - The effect attributes that determine the execution priority and resource requirements.
- * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
- * @param [options.defines] - Custom preprocessor macro definitions. Keys are names and values are code.
- * @param [options.uniforms] - Custom shader uniforms. Keys are names and values are uniforms.
- * @param [options.extensions] - WebGL extensions.
- * @param [options.vertexShader = null] - The vertex shader. Most effects don't need one.
- */
- export class Effect implements Initializable, Resizable, Disposable {
- constructor(
- name: string,
- fragmentShader: string,
- options?: {
- attributes?: EffectAttribute;
- blendFunction?: BlendFunction;
- defines?: Map<string, string>;
- uniforms?: Map<string, Uniform>;
- extensions?: Set<WebGLExtension>;
- vertexShader?: string;
- }
- );
- /**
- * The name of this effect.
- */
- name: string;
- /**
- * The effect attributes.
-
- Effects that have the same attributes will be executed in the order in
- which they were registered. Some attributes imply a higher priority.
- */
- attributes: EffectAttribute;
- /**
- * The fragment shader.
- */
- fragmentShader: string;
- /**
- * The vertex shader.
- */
- vertexShader: string;
- /**
- * Preprocessor macro definitions.
-
- You'll need to call {@link EffectPass#recompile} after changing a macro.
- */
- defines: Map<string, string>;
- /**
- * Shader uniforms.
-
- You may freely modify the values of these uniforms at runtime. However,
- uniforms must not be removed or added after the effect was created.
- */
- uniforms: Map<string, Uniform>;
- /**
- * WebGL extensions that are required by this effect.
-
- You'll need to call {@link EffectPass#recompile} after adding or removing
- an extension.
- */
- extensions: Set<WebGLExtension>;
- /**
- * The blend mode of this effect.
-
- The result of this effect will be blended with the result of the previous
- effect using this blend mode.
-
- Feel free to adjust the opacity of the blend mode at runtime. However,
- you'll need to call {@link EffectPass#recompile} if you change the blend
- function.
- */
- blendMode: BlendMode;
- /**
- * Sets the depth texture.
-
- You may override this method if your effect requires direct access to the
- depth texture that is bound to the associated {@link EffectPass}.
- * @param depthTexture - A depth texture.
- * @param [depthPacking = 0] - The depth packing.
- */
- setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
- /**
- * Updates the effect by performing supporting operations.
-
- This method is called by the {@link EffectPass} right before the main
- fullscreen render operation, even if the blend function is set to `SKIP`.
-
- You may override this method if you need to render additional off-screen
- textures or update custom uniforms.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- /**
- * Updates the size of this effect.
-
- You may override this method in case you want to be informed about the main
- render size.
-
- The {@link EffectPass} calls this method before this effect is initialized
- and every time its own size is updated.
- * @example
- * this.myRenderTarget.setSize(width, height);
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
-
- By overriding this method you gain access to the renderer. You'll also be
- able to configure your custom render targets to use the appropriate format
- (RGB or RGBA).
-
- The provided renderer can be used to warm up special off-screen render
- targets by performing a preliminary render operation.
-
- The {@link EffectPass} calls this method during its own initialization
- which happens after the size has been set.
- * @example
- * if(!alpha && frameBufferType === UnsignedByteType) { this.myRenderTarget.texture.format = RGBFormat; }
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- /**
- * Performs a shallow search for properties that define a dispose method and
- deletes them. The effect will be inoperative after this method was called!
-
- Disposable objects:
- - render targets
- - materials
- - textures
-
- The {@link EffectPass} calls this method when it is being destroyed. Do not
- call this method directly.
- */
- dispose(): void;
- }
-
- /**
- * An enumeration of effect attributes.
-
- Attributes can be concatenated using the bitwise OR operator.
- * @example
- * const attributes = EffectAttribute.CONVOLUTION | EffectAttribute.DEPTH;
- * @property CONVOLUTION - Describes effects that fetch additional samples from the input buffer. There cannot be more than one effect with this attribute per {@link EffectPass}.
- * @property DEPTH - Describes effects that require a depth texture.
- * @property NONE - No attributes. Most effects don't need to specify any attributes.
- */
- export const EffectAttribute: {
- CONVOLUTION: number;
- DEPTH: number;
- NONE: number;
- };
-
- /**
- * An enumeration of WebGL extensions.
- * @property DERIVATIVES - Enables derivatives by adding the functions dFdx, dFdy and fwidth.
- * @property FRAG_DEPTH - Enables gl_FragDepthEXT to set a depth value of a fragment from within the fragment shader.
- * @property DRAW_BUFFERS - Enables multiple render targets (MRT) support.
- * @property SHADER_TEXTURE_LOD - Enables explicit control of texture LOD.
- */
- export const WebGLExtension: {
- DERIVATIVES: string;
- FRAG_DEPTH: string;
- DRAW_BUFFERS: string;
- SHADER_TEXTURE_LOD: string;
- };
-
- /**
- * Constructs a new effect pass.
-
- The provided effects will be organized and merged for optimal performance.
- * @param camera - The main camera. The camera's type and settings will be available to all effects.
- * @param effects - The effects that will be rendered by this pass.
- */
- export class EffectPass extends Pass {
- constructor(camera: Camera, ...effects: Effect[]);
- /**
- * A time offset.
-
- Elapsed time will start at this value.
- */
- minTime: number;
- /**
- * The maximum time.
-
- If the elapsed time exceeds this value, it will be reset.
- */
- maxTime: number;
- /**
- * Indicates whether this pass encodes its output when rendering to screen.
- */
- encodeOutput: boolean;
- /**
- * Indicates whether dithering is enabled.
-
- Color quantization reduces banding artifacts but degrades performance.
- */
- dithering: boolean;
- /**
- * Updates the shader material.
-
- Warning: This method triggers a relatively expensive shader recompilation.
- */
- recompile(): void;
- /**
- * Returns the current depth texture.
- * @returns The current depth texture, or null if there is none.
- */
- getDepthTexture(): Texture;
- /**
- * Sets the depth texture.
- * @param depthTexture - A depth texture.
- * @param [depthPacking = 0] - The depth packing.
- */
- setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
- /**
- * Renders the effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- /**
- * Updates the size of this pass.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- /**
- * Deletes disposable objects.
-
- This pass will be inoperative after this method was called!
- */
- dispose(): void;
- }
-
- /**
- * Constructs a new mask pass.
- * @param scene - The scene to render.
- * @param camera - The camera to use.
- */
- export class MaskPass {
- constructor(scene: Scene, camera: Camera);
- /**
- * Inverse flag.
- */
- inverse: boolean;
- /**
- * Indicates whether this pass should clear the stencil buffer.
- */
- clear: boolean;
- /**
- * Renders the effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- }
-
- /**
- * Constructs a new normal pass.
- * @param scene - The scene to render.
- * @param camera - The camera to use to render the scene.
- * @param [options] - The options.
- * @param [options.width = Resizer.AUTO_SIZE] - The render width.
- * @param [options.height = Resizer.AUTO_SIZE] - The render height.
- * @param [options.renderTarget] - A custom render target.
- */
- export class NormalPass extends Pass {
- constructor(
- scene: Scene,
- camera: Camera,
- options?: Partial<{
- width: number;
- height: number;
- renderTarget: WebGLRenderTarget;
- }>
- );
- /**
- * A render target that contains the scene normals.
- */
- renderTarget: WebGLRenderTarget;
- /**
- * The desired render resolution.
-
- Use {@link Resizer.AUTO_SIZE} for the width or height to automatically
- calculate it based on its counterpart and the original aspect ratio.
- */
- resolution: Resizer;
- /**
- * Returns the current resolution scale.
- * @returns The resolution scale.
- */
- getResolutionScale(): number;
- /**
- * Sets the resolution scale.
- * @param scale - The new resolution scale.
- */
- setResolutionScale(scale: number): void;
- /**
- * Renders the scene normals.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- /**
- * Updates the size of this pass.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- }
-
- /**
- * Constructs a new save pass.
- * @param [renderTarget] - A render target.
- * @param [resize = true] - Whether the render target should adjust to the size of the input buffer.
- */
- export class SavePass {
- constructor(renderTarget?: WebGLRenderTarget, resize?: boolean);
- /**
- * The render target.
- */
- renderTarget: WebGLRenderTarget;
- /**
- * Indicates whether the render target should be resized automatically.
- */
- resize: boolean;
- /**
- * Saves the input buffer.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- /**
- * Updates the size of this pass.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
- * @param renderer - A renderer.
- * @param alpha - Whether the renderer uses the alpha channel.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- }
-
- /**
- * Constructs a new shader pass.
- * @param material - A shader material.
- * @param [input = "inputBuffer"] - The name of the input buffer uniform.
- */
- export class ShaderPass {
- constructor(material: ShaderMaterial, input?: string);
- /**
- * Sets the name of the input buffer uniform.
-
- Most fullscreen materials modify texels from an input texture. This pass
- automatically assigns the main input buffer to the uniform identified by
- the given name.
- * @param input - The name of the input buffer uniform.
- */
- setInput(input: string): void;
- /**
- * Renders the effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- * @param [stencilTest] - Indicates whether a stencil mask is active.
- */
- render(
- renderer: WebGLRenderer,
- inputBuffer: WebGLRenderTarget,
- outputBuffer: WebGLRenderTarget,
- deltaTime?: number,
- stencilTest?: boolean
- ): void;
- }
-
- export interface EffectComposer extends Resizable, Disposable { }
-
- /**
- * Constructs a new effect composer.
- * @param renderer - The renderer that should be used.
- * @param [options] - The options.
- * @param [options.depthBuffer = true] - Whether the main render targets should have a depth buffer.
- * @param [options.stencilBuffer = false] - Whether the main render targets should have a stencil buffer.
- * @param [options.multisampling = 0] - The number of samples used for multisample antialiasing. Requires WebGL 2.
- * @param [options.frameBufferType] - The type of the internal frame buffers. It's recommended to use HalfFloatType if possible.
- */
- export class EffectComposer implements Resizable, Disposable {
- constructor(
- renderer: WebGLRenderer,
- options?: {
- depthBuffer?: boolean;
- stencilBuffer?: boolean;
- multisampling?: number;
- frameBufferType?: TextureDataType;
- }
- );
- /**
- * The current amount of samples used for multisample antialiasing.
- */
- multisampling: number;
- /**
- * Returns the WebGL renderer.
-
- You may replace the renderer at any time by using
- {@link EffectComposer#replaceRenderer}.
- * @returns The renderer.
- */
- getRenderer(): WebGLRenderer;
- /**
- * Replaces the current renderer with the given one.
-
- The auto clear mechanism of the provided renderer will be disabled. If the
- new render size differs from the previous one, all passes will be updated.
-
- By default, the DOM element of the current renderer will automatically be
- removed from its parent node and the DOM element of the new renderer will
- take its place.
- * @param renderer - The new renderer.
- * @param updateDOM - Indicates whether the old canvas should be replaced by the new one in the DOM.
- * @returns The old renderer.
- */
- replaceRenderer(renderer: WebGLRenderer, updateDOM?: boolean): WebGLRenderer;
- /**
- * Creates a new render target by replicating the renderer's canvas.
-
- The created render target uses a linear filter for texel minification and
- magnification. Its render texture format depends on whether the renderer
- uses the alpha channel. Mipmaps are disabled.
-
- Note: The buffer format will also be set to RGBA if the frame buffer type
- is HalfFloatType because RGB16F buffers are not renderable.
- * @param depthBuffer - Whether the render target should have a depth buffer.
- * @param stencilBuffer - Whether the render target should have a stencil buffer.
- * @param type - The frame buffer type.
- * @param multisampling - The number of samples to use for antialiasing.
- * @returns A new render target that equals the renderer's canvas.
- */
- createBuffer(depthBuffer: boolean, stencilBuffer: boolean, type: number, multisampling: number): WebGLRenderTarget;
- /**
- * Adds a pass, optionally at a specific index.
- * @param pass - A new pass.
- * @param [index] - An index at which the pass should be inserted.
- */
- addPass(pass: Pass, index?: number): void;
- /**
- * Removes a pass.
- * @param pass - The pass.
- */
- removePass(pass: Pass): void;
- /**
- * Renders all enabled passes in the order in which they were added.
- * @param deltaTime - The time between the last frame and the current one in seconds.
- */
- render(deltaTime: number): void;
- /**
- * Sets the size of the buffers and the renderer's output canvas.
-
- Every pass will be informed of the new size. It's up to each pass how that
- information is used.
-
- If no width or height is specified, the render targets and passes will be
- updated with the current size of the renderer.
- * @param [width] - The width.
- * @param [height] - The height.
- * @param [updateStyle] - Determines whether the style of the canvas should be updated.
- */
- setSize(width?: number, height?: number, updateStyle?: boolean): void;
- /**
- * Resets this composer by deleting all passes and creating new buffers.
- */
- reset(): void;
- /**
- * Destroys this composer and all passes.
-
- This method deallocates all disposable objects created by the passes. It
- also deletes the main frame buffers of this composer.
- */
- dispose(): void;
- }
-
- /**
- * The Resizable contract.
-
- Implemented by objects that can be resized.
- */
- export interface Resizable {
- /**
- * Sets the size of this object.
- * @param width - The new width.
- * @param height - The new height.
- */
- setSize(width: number, height: number): void;
- }
-
- /**
- * Constructs a new selection.
- * @param [iterable] - A collection of objects that should be added to this selection.
- * @param [layer = 10] - A dedicated render layer for selected objects.
- */
- export class Selection {
- constructor(iterable?: Iterable<Object3D>, layer?: number);
- /**
- * A dedicated render layer for selected objects.
-
- This layer is set to 10 by default. If this collides with your own custom
- layers, please change it to a free layer before rendering!
- */
- layer: number;
- /**
- * Clears this selection.
- * @returns This selection.
- */
- clear(): Selection;
- /**
- * Clears this selection and adds the given objects.
- * @param objects - The objects that should be selected. This array will be copied.
- * @returns This selection.
- */
- set(objects: Iterable<Object3D>): Selection;
- /**
- * An alias for {@link has}.
- * @param object - An object.
- * @returns Returns 0 if the given object is currently selected, or -1 otherwise.
- */
- indexOf(object: Object3D): number;
- /**
- * Adds an object to this selection.
- * @param object - The object that should be selected.
- * @returns This selection.
- */
- add(object: Object3D): Selection;
- /**
- * Removes an object from this selection.
- * @param object - The object that should be deselected.
- * @returns Returns true if an object has successfully been removed from this selection; otherwise false.
- */
- delete(object: Object3D): boolean;
- /**
- * Sets the visibility of all selected objects.
-
- This method enables or disables render layer 0 of all selected objects.
- * @param visible - Whether the selected objects should be visible.
- * @returns This selection.
- */
- setVisible(visible: boolean): Selection;
- }
-
- /**
- * Constructs a new bloom effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
- * @param [options.luminanceThreshold = 0.9] - The luminance threshold. Raise this value to mask out darker elements in the scene. Range is [0, 1].
- * @param [options.luminanceSmoothing = 0.025] - Controls the smoothness of the luminance threshold. Range is [0, 1].
- * @param [options.intensity = 1.0] - The intensity.
- * @param [options.width = Resizer.AUTO_SIZE] - The render width.
- * @param [options.height = Resizer.AUTO_SIZE] - The render height.
- * @param [options.kernelSize = KernelSize.LARGE] - The blur kernel size.
- */
- export class BloomEffect extends Effect {
- constructor(options?: {
- blendFunction?: BlendFunction;
- luminanceThreshold?: number;
- luminanceSmoothing?: number;
- intensity?: number;
- width?: number;
- height?: number;
- kernelSize?: KernelSize;
- });
- /**
- * A blur pass.
- */
- blurPass: BlurPass;
- /**
- * A luminance shader pass.
-
- You may disable this pass to deactivate luminance filtering.
- */
- luminancePass: ShaderPass;
- /**
- * A texture that contains the intermediate result of this effect.
-
- This texture will be applied to the scene colors unless the blend function
- is set to `SKIP`.
- */
- texture: Texture;
- /**
- * The luminance material.
- */
- luminanceMaterial: LuminanceMaterial;
- /**
- * The resolution of this effect.
- */
- resolution: Resizer;
- /**
- * The current width of the internal render targets.
- */
- width: number;
- /**
- * The current height of the internal render targets.
- */
- height: number;
- /**
- * Indicates whether dithering is enabled.
- */
- dithering: boolean;
- /**
- * The blur kernel size.
- */
- kernelSize: KernelSize;
- distinction: number;
- /**
- * The bloom intensity.
- */
- intensity: number;
- /**
- * Returns the current resolution scale.
- * @returns The resolution scale.
- */
- getResolutionScale(): number;
- /**
- * Sets the resolution scale.
- * @param scale - The new resolution scale.
- */
- setResolutionScale(scale: number): void;
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- /**
- * Updates the size of internal render targets.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- }
-
- /**
- * Constructs a new brightness/contrast effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.brightness = 0.0] - The brightness factor, ranging from -1 to 1, where 0 means no change.
- * @param [options.contrast = 0.0] - The contrast factor, ranging from -1 to 1, where 0 means no change.
- */
- export class BrightnessContrastEffect extends Effect {
- constructor(options?: { blendFunction?: BlendFunction; brightness?: number; contrast?: number; });
- }
-
- /**
- * Constructs a new color average effect.
- * @param [blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- */
- export class ColorAverageEffect extends Effect {
- constructor(blendFunction?: BlendFunction);
- }
-
- /**
- * Constructs a new color depth effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.bits = 16] - The color bit depth.
- */
- export class ColorDepthEffect extends Effect {
- constructor(options?: { blendFunction?: BlendFunction; bits?: number; });
- /**
- * Returns the current color bit depth.
- * @returns The color bit depth.
- */
- getBitDepth(): number;
- /**
- * Sets the virtual amount of color bits.
-
- Each color channel will use a third of the available bits. The alpha
- channel remains unaffected.
-
- Note that the real color depth will not be altered by this effect.
- * @param bits - The new color bit depth.
- */
- setBitDepth(bits: number): void;
- }
-
- /**
- * Constructs a new chromatic aberration effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.offset] - The color offset.
- */
- export class ChromaticAberrationEffect extends Effect {
- constructor(options?: { blendFunction?: BlendFunction; offset?: Vector2; });
- /**
- * The color offset.
- */
- offset: Vector2;
- /**
- * Performs initialization tasks.
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- }
-
- /**
- * Constructs a new depth effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.inverted = false] - Whether the depth values should be inverted.
- */
- export class DepthEffect extends Effect {
- constructor(options?: { blendFunction?: BlendFunction; inverted?: boolean; });
- /**
- * Indicates whether depth will be inverted.
- */
- inverted: boolean;
- }
-
- /**
- * Constructs a new depth of field effect.
- * @param camera - The main camera.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.focusDistance = 0.0] - The normalized focus distance. Range is [0.0, 1.0].
- * @param [options.focalLength = 0.05] - The focal length. Range is [0.0, 1.0].
- * @param [options.bokehScale = 1.0] - The scale of the bokeh blur.
- * @param [options.width = Resizer.AUTO_SIZE] - The render width.
- * @param [options.height = Resizer.AUTO_SIZE] - The render height.
- */
- export class DepthOfFieldEffect extends Effect {
- constructor(
- camera: Camera,
- options?: {
- blendFunction?: BlendFunction;
- focusDistance?: number;
- focalLength?: number;
- bokehScale?: number;
- width?: number;
- height?: number;
- }
- );
- /**
- * This pass blurs the foreground CoC buffer to soften edges.
- */
- blurPass: BlurPass;
- /**
- * A target position that should be kept in focus.
-
- Set this to `null` to disable auto focus.
- */
- target: Vector3;
- /**
- * The circle of confusion material.
- */
- circleOfConfusionMaterial: CircleOfConfusionMaterial;
- /**
- * The resolution of this effect.
- */
- resolution: Resizer;
- /**
- * The current bokeh scale.
- */
- bokehScale: number;
- /**
- * Calculates the focus distance from the camera to the given position.
- * @param target - The target.
- * @returns The normalized focus distance.
- */
- calculateFocusDistance(target: Vector3): number;
- /**
- * Sets the depth texture.
- * @param depthTexture - A depth texture.
- * @param [depthPacking = 0] - The depth packing.
- */
- setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- /**
- * Updates the size of internal render targets.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- }
-
- /**
- * Constructs a new dot screen effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.angle = 1.57] - The angle of the dot pattern.
- * @param [options.scale = 1.0] - The scale of the dot pattern.
- */
- export class DotScreenEffect extends Effect {
- constructor(options?: { blendFunction?: BlendFunction; angle?: number; scale?: number; });
- /**
- * Sets the pattern angle.
- * @param [angle] - The angle of the dot pattern.
- */
- setAngle(angle?: number): void;
- }
-
- /**
- * Constructs a new glitch effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.chromaticAberrationOffset] - A chromatic aberration offset. If provided, the glitch effect will influence this offset.
- * @param [options.delay] - The minimum and maximum delay between glitch activations in seconds.
- * @param [options.duration] - The minimum and maximum duration of a glitch in seconds.
- * @param [options.strength] - The strength of weak and strong glitches.
- * @param [options.perturbationMap] - A perturbation map. If none is provided, a noise texture will be created.
- * @param [options.dtSize = 64] - The size of the generated noise map. Will be ignored if a perturbation map is provided.
- * @param [options.columns = 0.05] - The scale of the blocky glitch columns.
- * @param [options.ratio = 0.85] - The threshold for strong glitches.
- */
- export class GlitchEffect extends Effect {
- constructor(options?: {
- blendFunction?: BlendFunction;
- chromaticAberrationOffset?: Vector2;
- delay?: Vector2;
- duration?: Vector2;
- strength?: Vector2;
- perturbationMap?: Texture;
- dtSize?: number;
- columns?: number;
- ratio?: number;
- });
- /**
- * The minimum and maximum delay between glitch activations in seconds.
- */
- delay: Vector2;
- /**
- * The minimum and maximum duration of a glitch in seconds.
- */
- duration: Vector2;
- /**
- * The effect mode.
- */
- mode: GlitchMode;
- /**
- * The strength of weak and strong glitches.
- */
- strength: Vector2;
- /**
- * The threshold for strong glitches, ranging from 0 to 1 where 0 means no
- weak glitches and 1 means no strong ones. The default ratio of 0.85
- offers a decent balance.
- */
- ratio: number;
- /**
- * The chromatic aberration offset.
- */
- chromaticAberrationOffset: Vector2;
- /**
- * Indicates whether the glitch effect is currently active.
- */
- active: boolean;
- /**
- * Returns the current perturbation map.
- * @returns The current perturbation map.
- */
- getPerturbationMap(): Texture;
- /**
- * Replaces the current perturbation map with the given one.
-
- The current map will be disposed if it was generated by this effect.
- * @param perturbationMap - The new perturbation map.
- */
- setPerturbationMap(perturbationMap: Texture): void;
- /**
- * Generates a perturbation map.
- * @param [size = 64] - The texture size.
- * @returns The perturbation map.
- */
- generatePerturbationMap(size?: number): DataTexture;
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- }
-
- /**
- * A glitch mode enumeration.
- * @property DISABLED - No glitches.
- * @property SPORADIC - Sporadic glitches.
- * @property CONSTANT_MILD - Constant mild glitches.
- * @property CONSTANT_WILD - Constant wild glitches.
- */
- export const GlitchMode: {
- DISABLED: number;
- SPORADIC: number;
- CONSTANT_MILD: number;
- CONSTANT_WILD: number;
- };
-
- /**
- * Constructs a new god rays effect.
- * @param camera - The main camera.
- * @param lightSource - The light source. Must not write depth and has to be flagged as transparent.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
- * @param [options.samples = 60.0] - The number of samples per pixel.
- * @param [options.density = 0.96] - The density of the light rays.
- * @param [options.decay = 0.9] - An illumination decay factor.
- * @param [options.weight = 0.4] - A light ray weight factor.
- * @param [options.exposure = 0.6] - A constant attenuation coefficient.
- * @param [options.clampMax = 1.0] - An upper bound for the saturation of the overall effect.
- * @param [options.width = Resizer.AUTO_SIZE] - The render width.
- * @param [options.height = Resizer.AUTO_SIZE] - The render height.
- * @param [options.kernelSize = KernelSize.SMALL] - The blur kernel size. Has no effect if blur is disabled.
- * @param [options.blur = true] - Whether the god rays should be blurred to reduce artifacts.
- */
- export class GodRaysEffect extends Effect {
- constructor(
- camera: Camera,
- lightSource: Mesh | Points,
- options?: {
- blendFunction?: BlendFunction;
- samples?: number;
- density?: number;
- decay?: number;
- weight?: number;
- exposure?: number;
- clampMax?: number;
- width?: number;
- height?: number;
- kernelSize?: KernelSize;
- blur?: number;
- }
- );
- /**
- * A blur pass that reduces aliasing artifacts and makes the light softer.
-
- Disable this pass to improve performance.
- */
- blurPass: BlurPass;
- /**
- * A texture that contains the intermediate result of this effect.
-
- This texture will be applied to the scene colors unless the blend function
- is set to `SKIP`.
- */
- texture: Texture;
- /**
- * The internal god rays material.
- */
- godRaysMaterial: GodRaysMaterial;
- /**
- * The resolution of this effect.
- */
- resolution: Resizer;
- /**
- * The current width of the internal render targets.
- */
- width: number;
- /**
- * The current height of the internal render targets.
- */
- height: number;
- /**
- * Indicates whether dithering is enabled.
- */
- dithering: boolean;
- /**
- * Indicates whether the god rays should be blurred to reduce artifacts.
- */
- blur: boolean;
- /**
- * The blur kernel size.
- */
- kernelSize: KernelSize;
- /**
- * Returns the current resolution scale.
- * @returns The resolution scale.
- */
- getResolutionScale(): number;
- /**
- * Sets the resolution scale.
- * @param scale - The new resolution scale.
- */
- setResolutionScale(scale: number): void;
- /**
- * The number of samples per pixel.
- */
- samples: number;
- /**
- * Sets the depth texture.
- * @param depthTexture - A depth texture.
- * @param [depthPacking = 0] - The depth packing.
- */
- setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- /**
- * Updates the size of internal render targets.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- }
-
- /**
- * Constructs a new grid effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.OVERLAY] - The blend function of this effect.
- * @param [options.scale = 1.0] - The scale of the grid pattern.
- * @param [options.lineWidth = 0.0] - The line width of the grid pattern.
- */
- export class GridEffect extends Effect {
- constructor(
- options?: Partial<{
- blendFunction: BlendFunction;
- scale: number;
- lineWidth: number;
- }>
- );
- /**
- * Returns the current grid scale.
- * @returns The grid scale.
- */
- getScale(): number;
- /**
- * Sets the grid scale.
- * @param scale - The new grid scale.
- */
- setScale(scale: number): void;
- /**
- * Returns the current grid line width.
- * @returns The grid line width.
- */
- getLineWidth(): number;
- /**
- * Sets the grid line width.
- * @param lineWidth - The new grid line width.
- */
- setLineWidth(lineWidth: number): void;
- /**
- * Updates the size of this pass.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- }
-
- /**
- * Constructs a new hue/saturation effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.hue = 0.0] - The hue in radians.
- * @param [options.saturation = 0.0] - The saturation factor, ranging from -1 to 1, where 0 means no change.
- */
- export class HueSaturationEffect extends Effect {
- constructor(options?: { blendFunction?: BlendFunction; hue?: number; saturation?: number; });
- /**
- * Sets the hue.
- * @param hue - The hue in radians.
- */
- setHue(hue: number): void;
- }
-
- /**
- * Constructs a new noise effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
- * @param [options.premultiply = false] - Whether the noise should be multiplied with the input color.
- */
- export class NoiseEffect extends Effect {
- constructor(options?: { blendFunction?: BlendFunction; premultiply?: boolean; });
- /**
- * Indicates whether the noise should be multiplied with the input color.
- */
- premultiply: boolean;
- }
-
- /**
- * Constructs a new outline effect.
-
- If you want dark outlines, remember to use an appropriate blend function.
- * @param scene - The main scene.
- * @param camera - The main camera.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function. Set this to `BlendFunction.ALPHA` for dark outlines.
- * @param [options.patternTexture = null] - A pattern texture.
- * @param [options.edgeStrength = 1.0] - The edge strength.
- * @param [options.pulseSpeed = 0.0] - The pulse speed. A value of zero disables the pulse effect.
- * @param [options.visibleEdgeColor = 0xffffff] - The color of visible edges.
- * @param [options.hiddenEdgeColor = 0x22090a] - The color of hidden edges.
- * @param [options.width = Resizer.AUTO_SIZE] - The render width.
- * @param [options.height = Resizer.AUTO_SIZE] - The render height.
- * @param [options.kernelSize = KernelSize.VERY_SMALL] - The blur kernel size.
- * @param [options.blur = false] - Whether the outline should be blurred.
- * @param [options.xRay = true] - Whether occluded parts of selected objects should be visible.
- */
- export class OutlineEffect extends Effect {
- constructor(
- scene: Scene,
- camera: Camera,
- options?: Partial<{
- blendFunction: BlendFunction;
- patternTexture: number;
- edgeStrength: number;
- pulseSpeed: number;
- visibleEdgeColor: number;
- hiddenEdgeColor: number;
- width: number;
- height: number;
- kernelSize: KernelSize;
- blur: boolean;
- xRay: boolean;
- }>
- );
- /**
- * A blur pass.
- */
- blurPass: BlurPass;
- /**
- * A selection of objects that will be outlined.
- */
- selection: Selection;
- /**
- * The pulse speed. A value of zero disables the pulse effect.
- */
- pulseSpeed: number;
- /**
- * The resolution of this effect.
- */
- resolution: Resizer;
- /**
- * The current width of the internal render targets.
- */
- width: number;
- /**
- * The current height of the internal render targets.
- */
- height: number;
- selectionLayer: number;
- /**
- * Indicates whether dithering is enabled.
- */
- dithering: boolean;
- /**
- * The blur kernel size.
- */
- kernelSize: KernelSize;
- /**
- * Indicates whether the outlines should be blurred.
- */
- blur: boolean;
- /**
- * Indicates whether X-Ray outlines are enabled.
- */
- xRay: boolean;
- /**
- * Sets the pattern texture.
-
- You'll need to call {@link EffectPass#recompile} after changing the
- texture.
- * @param texture - The new texture.
- */
- setPatternTexture(texture: Texture): void;
- /**
- * Returns the current resolution scale.
- * @returns The resolution scale.
- */
- getResolutionScale(): number;
- /**
- * Sets the resolution scale.
- * @param scale - The new resolution scale.
- */
- setResolutionScale(scale: number): void;
- /**
- * Clears the current selection and selects a list of objects.
- * @param objects - The objects that should be outlined. This array will be copied.
- * @returns This pass.
- */
- setSelection(objects: Object3D[]): OutlinePass;
- /**
- * Clears the list of selected objects.
- * @returns This pass.
- */
- clearSelection(): OutlinePass;
- /**
- * Selects an object.
- * @param object - The object that should be outlined.
- * @returns This pass.
- */
- selectObject(object: Object3D): OutlinePass;
- /**
- * Deselects an object.
- * @param object - The object that should no longer be outlined.
- * @returns This pass.
- */
- deselectObject(object: Object3D): OutlinePass;
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- /**
- * Updates the size of internal render targets.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- }
-
- /**
- * Constructs a new pixelation effect.
- * @param [granularity = 30.0] - The pixel granularity.
- */
- export class PixelationEffect extends Effect {
- constructor(granularity?: any);
- /**
- * Returns the pixel granularity.
- * @returns The granularity.
- */
- getGranularity(): number;
- /**
- * Sets the pixel granularity.
-
- A higher value yields coarser visuals.
- * @param granularity - The new granularity.
- */
- setGranularity(granularity: number): void;
- /**
- * Updates the granularity.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- }
-
- /**
- * Constructs a new scanline effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.OVERLAY] - The blend function of this effect.
- * @param [options.density = 1.25] - The scanline density.
- */
- export class ScanlineEffect extends Effect {
- density: number;
- blendFunction: BlendFunction;
- constructor(options?: { blendFunction?: BlendFunction; density?: number; });
- /**
- * Returns the current scanline density.
- * @returns The scanline density.
- */
- getDensity(): number;
- /**
- * Sets the scanline density.
- * @param density - The new scanline density.
- */
- setDensity(density: number): void;
- /**
- * Updates the size of this pass.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- }
-
- /**
- * Constructs a new shock wave effect.
- * @param camera - The main camera.
- * @param [epicenter] - The world position of the shock wave epicenter.
- * @param [options] - The options.
- * @param [options.speed = 2.0] - The animation speed.
- * @param [options.maxRadius = 1.0] - The extent of the shock wave.
- * @param [options.waveSize = 0.2] - The wave size.
- * @param [options.amplitude = 0.05] - The distortion amplitude.
- */
- export class ShockWaveEffect extends Effect {
- constructor(
- camera: Camera,
- epicenter?: Vector3,
- options?: {
- speed?: number;
- maxRadius?: number;
- waveSize?: number;
- amplitude?: number;
- }
- );
- /**
- * The main camera.
- */
- camera: Camera;
- /**
- * The epicenter.
- * @example
- * shockWavePass.epicenter = myMesh.position;
- */
- epicenter: Vector3;
- /**
- * The speed of the shock wave animation.
- */
- speed: number;
- /**
- * Emits the shock wave.
- */
- explode(): void;
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [delta] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, delta?: number): void;
- }
-
- /**
- * Constructs a new selective bloom effect.
- * @param scene - The main scene.
- * @param camera - The main camera.
- * @param [options] - The options. See {@link BloomEffect} for details.
- */
- export class SelectiveBloomEffect extends Effect {
- constructor(scene: Scene, camera: Camera, options?: any);
- /**
- * A selection of objects.
- */
- selection: Selection;
- /**
- * Indicates whether the selection should be considered inverted.
- */
- inverted: boolean;
- /**
- * Indicates whether the scene background should be ignored.
- */
- ignoreBackground: boolean;
-
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- /**
- * Updates the size of internal render targets.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- }
-
- /**
- * Constructs a new sepia effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.intensity = 1.0] - The intensity of the effect.
- */
- export class SepiaEffect extends Effect {
- constructor(options?: { blendFunction?: BlendFunction; intensity?: number; });
- }
-
- /**
- * Constructs a new SMAA effect.
- * @param searchImage - The SMAA search image. Preload this image using the {@link SMAAImageLoader}.
- * @param areaImage - The SMAA area image. Preload this image using the {@link SMAAImageLoader}.
- * @param [preset = SMAAPreset.HIGH] - An SMAA quality preset.
- * @param [edgeDetectionMode = EdgeDetectionMode.COLOR] - The edge detection mode.
- */
- export class SMAAEffect extends Effect {
- constructor(searchImage: Image, areaImage: Image, preset?: SMAAPreset, edgeDetectionMode?: EdgeDetectionMode);
- /**
- * The internal edge detection material.
- */
- edgeDetectionMaterial: EdgeDetectionMaterial;
- /**
- * The internal edge detection material.
- */
- colorEdgesMaterial: EdgeDetectionMaterial;
- /**
- * The internal edge weights material.
- */
- weightsMaterial: SMAAWeightsMaterial;
- /**
- * Sets the edge detection sensitivity.
-
- See {@link EdgeDetectionMaterial#setEdgeDetectionThreshold} for more details.
- * @param threshold - The edge detection sensitivity. Range: [0.05, 0.5].
- */
- setEdgeDetectionThreshold(threshold: number): void;
- /**
- * Sets the maximum amount of horizontal/vertical search steps.
-
- See {@link SMAAWeightsMaterial#setOrthogonalSearchSteps} for more details.
- * @param steps - The search steps. Range: [0, 112].
- */
- setOrthogonalSearchSteps(steps: number): void;
- /**
- * Applies the given quality preset.
- * @param preset - The preset.
- */
- applyPreset(preset: SMAAPreset): void;
- /**
- * Sets the depth texture.
- * @param depthTexture - A depth texture.
- * @param [depthPacking = 0] - The depth packing.
- */
- setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- /**
- * Updates the size of internal render targets.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Deletes internal render targets and textures.
- */
- dispose(): void;
- /**
- * The SMAA search image, encoded as a base64 data URL.
-
- Use this image data to create an Image instance and use it together with
- the area image to create an {@link SMAAEffect}.
- * @example
- * const searchImage = new Image();
- searchImage.addEventListener("load", progress);
- searchImage.src = SMAAEffect.searchImageDataURL;
- */
- static searchImageDataURL: string;
- /**
- * The SMAA area image, encoded as a base64 data URL.
-
- Use this image data to create an Image instance and use it together with
- the search image to create an {@link SMAAEffect}.
- * @example
- * const areaImage = new Image();
- areaImage.addEventListener("load", progress);
- areaImage.src = SMAAEffect.areaImageDataURL;
- */
- static areaImageDataURL: string;
- }
-
- /**
- * An enumeration of SMAA presets.
- * @property LOW - Results in around 60% of the maximum quality.
- * @property MEDIUM - Results in around 80% of the maximum quality.
- * @property HIGH - Results in around 95% of the maximum quality.
- * @property ULTRA - Results in around 99% of the maximum quality.
- */
- export const SMAAPreset: {
- LOW: number;
- MEDIUM: number;
- HIGH: number;
- ULTRA: number;
- };
-
- /**
- * Constructs a new SSAO effect.
- * @param camera - The main camera.
- * @param normalBuffer - A texture that contains the scene normals. See {@link NormalPass}.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.MULTIPLY] - The blend function of this effect.
- * @param [options.samples = 11] - The amount of samples per pixel. Should not be a multiple of the ring count.
- * @param [options.rings = 4] - The amount of rings in the occlusion sampling pattern.
- * @param [options.distanceThreshold = 0.97] - A global distance threshold at which the occlusion effect starts to fade out. Range [0.0, 1.0].
- * @param [options.distanceFalloff = 0.03] - The distance falloff. Influences the smoothness of the overall occlusion cutoff. Range [0.0, 1.0].
- * @param [options.rangeThreshold = 0.0005] - A local occlusion range threshold at which the occlusion starts to fade out. Range [0.0, 1.0].
- * @param [options.rangeFalloff = 0.001] - The occlusion range falloff. Influences the smoothness of the proximity cutoff. Range [0.0, 1.0].
- * @param [options.luminanceInfluence = 0.7] - Determines how much the luminance of the scene influences the ambient occlusion.
- * @param [options.radius = 18.25] - The occlusion sampling radius.
- * @param [options.scale = 1.0] - The scale of the ambient occlusion.
- * @param [options.bias = 0.0] - An occlusion bias.
- */
- export class SSAOEffect extends Effect {
- constructor(
- camera: Camera,
- normalBuffer: Texture,
- options?: {
- blendFunction?: BlendFunction;
- samples?: number;
- rings?: number;
- distanceThreshold?: number;
- distanceFalloff?: number;
- rangeThreshold?: number;
- rangeFalloff?: number;
- luminanceInfluence?: number;
- radius?: number;
- scale?: number;
- bias?: number;
- }
- );
- /**
- * The amount of occlusion samples per pixel.
- */
- samples: number;
- /**
- * The amount of rings in the occlusion sampling spiral pattern.
- */
- rings: number;
- /**
- * The occlusion sampling radius.
- */
- radius: number;
- /**
- * Sets the occlusion distance cutoff.
- * @param threshold - The distance threshold. Range [0.0, 1.0].
- * @param falloff - The falloff. Range [0.0, 1.0].
- */
- setDistanceCutoff(threshold: number, falloff: number): void;
- /**
- * Sets the occlusion proximity cutoff.
- * @param threshold - The range threshold. Range [0.0, 1.0].
- * @param falloff - The falloff. Range [0.0, 1.0].
- */
- setProximityCutoff(threshold: number, falloff: number): void;
- /**
- * Updates the camera projection matrix uniforms.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- }
-
- /**
- * Constructs a new texture effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.texture] - A texture.
- */
- export class TextureEffect extends Effect {
- constructor(options?: Partial<{ blendFunction: BlendFunction; texture: Texture; }>);
- /**
- * The texture.
- */
- texture: Texture;
- /**
- * Indicates whether aspect correction is enabled.
-
- If enabled, the texture can be scaled using the `scale` uniform.
- */
- aspectCorrection: number;
- /**
- * Indicates whether the texture UV coordinates will be transformed using the
- transformation matrix of the texture.
-
- Cannot be used if aspect correction is enabled.
- */
- uvTransform: boolean;
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- }
-
- /**
- * Constructs a new tone mapping effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.adaptive = true] - Whether the tone mapping should use an adaptive luminance map.
- * @param [options.resolution = 256] - The render texture resolution of the luminance map.
- * @param [options.middleGrey = 0.6] - The middle grey factor.
- * @param [options.maxLuminance = 16.0] - The maximum luminance.
- * @param [options.averageLuminance = 1.0] - The average luminance.
- * @param [options.adaptationRate = 1.0] - The luminance adaptation rate.
- */
- export class ToneMappingEffect extends Effect {
- constructor(options?: {
- blendFunction?: BlendFunction;
- adaptive?: boolean;
- resolution?: number;
- middleGrey?: number;
- maxLuminance?: number;
- averageLuminance?: number;
- adaptationRate?: number;
- });
- /**
- * The resolution of the render targets.
- */
- resolution: number;
- /**
- * Indicates whether this pass uses adaptive luminance.
- */
- adaptive: boolean;
- /**
- * The luminance adaptation rate.
- */
- adaptationRate: number;
-
- distinction: number;
- /**
- * Updates this effect.
- * @param renderer - The renderer.
- * @param inputBuffer - A frame buffer that contains the result of the previous pass.
- * @param [deltaTime] - The time between the last frame and the current one in seconds.
- */
- update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
- /**
- * Updates the size of internal render targets.
- * @param width - The width.
- * @param height - The height.
- */
- setSize(width: number, height: number): void;
- /**
- * Performs initialization tasks.
- * @param renderer - The renderer.
- * @param alpha - Whether the renderer uses the alpha channel or not.
- * @param frameBufferType - The type of the main frame buffers.
- */
- initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
- }
-
- /**
- * Constructs a new vignette effect.
- * @param [options] - The options.
- * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
- * @param [options.eskil = false] - Enables Eskil's vignette technique.
- * @param [options.offset = 0.5] - The vignette offset.
- * @param [options.darkness = 0.5] - The vignette darkness.
- */
- export class VignetteEffect extends Effect {
- constructor(options?: { blendFunction?: BlendFunction; eskil?: boolean; offset?: number; darkness?: number; });
- /**
- * Indicates whether Eskil's vignette technique is enabled.
- */
- eskil: boolean;
- }
-
- /**
- * Constructs a new image data container.
- * @param [width = 0] - The width of the image.
- * @param [height = 0] - The height of the image.
- * @param [data = null] - The image data.
- */
- export class RawImageData {
- constructor(width?: number, height?: number, data?: Uint8ClampedArray);
- /**
- * The width of the image.
- */
- width: number;
- /**
- * The height of the image.
- */
- height: number;
- /**
- * The image data.
- */
- data: Uint8ClampedArray;
- /**
- * Creates a canvas from this image data.
- * @returns The canvas or null if it couldn't be created.
- */
- toCanvas(): Canvas;
- /**
- * Creates a new image data container.
- * @param data - Raw image data.
- * @returns The image data.
- */
- static from(data: any): RawImageData;
- }
-
- /**
- * Constructs a new SMAA image loader.
- * @param [manager] - A loading manager.
- */
- export class SMAAImageLoader extends Loader {
- constructor(manager?: LoadingManager);
- /**
- * Indicates whether data image caching is disabled.
- */
- disableCache: boolean;
- /**
- * Loads the SMAA data images.
- * @param [onLoad] - A function to call when the loading process is done.
- * @param [onError] - A function to call when an error occurs.
- * @returns A promise that returns the search image and area image as a pair.
- */
- load(
- url: string,
- onLoad?: (result: any) => void,
- onProgress?: (event: ProgressEvent) => void,
- onError?: (event: ErrorEvent) => void
- ): Promise<any, any>;
- }
-
- /**
- * SMAA area image data.
-
- This texture allows to obtain the area for a certain pattern and distances
- to the left and to the right of the identified line.
-
- Based on the official python scripts:
- https://github.com/iryoku/smaa/tree/master/Scripts
- */
- export class SMAAAreaImageData {
- /**
- * Creates a new area image.
- * @returns The generated image data.
- */
- static generate(): RawImageData;
- }
-
- /**
- * SMAA search image data.
-
- This image stores information about how many pixels the line search
- algorithm must advance in the last step.
-
- Based on the official python scripts:
- https://github.com/iryoku/smaa/tree/master/Scripts
- */
- export class SMAASearchImageData {
- /**
- * Creates a new search image.
- * @returns The generated image data.
- */
- static generate(): RawImageData;
- }
-}
diff --git a/packages/three/src/index.ts b/packages/three/src/index.ts
index cf1be044e1..cf919548ae 100644
--- a/packages/three/src/index.ts
+++ b/packages/three/src/index.ts
@@ -1,4 +1,3 @@
-export { SwirlEffect, SwirlEffectOptions } from './effects/SwirlEffect';
export { ThreeCanvas } from './RemotionThreeCanvas';
export { useRemotionThreeDomNode } from './RemotionThreeContext';
export { ThreeVideo, ThreeVideoProps } from './ThreeVideo';
diff --git a/packages/three/tsconfig.json b/packages/three/tsconfig.json
index 5a4e0b7d96..9985243f83 100644
--- a/packages/three/tsconfig.json
+++ b/packages/three/tsconfig.json
@@ -6,8 +6,9 @@
"outDir": "dist",
"skipLibCheck": true
},
- "include": ["src"],
- "references": [{
- "path": "../core"}
+ "references": [
+ {
+ "path": "../core"
+ }
]
}