Skip to content

Commit

Permalink
Updated dependencies and version.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed Oct 17, 2023
1 parent e084d3f commit 2de7c1d
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 59 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@formio/js",
"version": "5.0.0-rc.29",
"version": "5.0.0-rc.30",
"description": "JavaScript powered Forms with JSON Form Builder",
"main": "lib/cjs/index.js",
"exports": {
Expand Down Expand Up @@ -78,9 +78,9 @@
},
"homepage": "https://github.com/formio/formio.js#readme",
"dependencies": {
"@formio/bootstrap": "^3.0.0-rc.13",
"@formio/bootstrap": "^3.0.0-rc.15",
"@formio/choices.js": "^10.2.0",
"@formio/core": "^1.3.0-rc.21",
"@formio/core": "^1.3.0-rc.23",
"@formio/text-mask-addons": "^3.8.0-formio.2",
"@formio/vanilla-text-mask": "^5.1.1-formio.1",
"autocompleter": "^8.0.4",
Expand Down
14 changes: 7 additions & 7 deletions src/Embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,35 @@ export class Formio {
Formio._formioReadyReject = reject;
});
static version = 'FORMIO_VERSION';
static setBaseUrl(url, norecurse) {
static setBaseUrl(url, norecurse = false) {
Formio.baseUrl = url;
if (!norecurse && Formio.FormioClass) {
Formio.FormioClass.setBaseUrl(url);
}
}

static setApiUrl(url, norecurse) {
static setApiUrl(url, norecurse = false) {
Formio.baseUrl = url;
if (!norecurse && Formio.FormioClass) {
Formio.FormioClass.setApiUrl(url);
}
}

static setProjectUrl(url, norecurse) {
static setProjectUrl(url, norecurse = false) {
Formio.projectUrl = url;
if (!norecurse && Formio.FormioClass) {
Formio.FormioClass.setProjectUrl(url);
}
}

static setAppUrl(url, norecurse) {
static setAppUrl(url, norecurse = false) {
Formio.projectUrl = url;
if (!norecurse && Formio.FormioClass) {
Formio.FormioClass.setAppUrl(url);
}
}

static setPathType(type, norecurse) {
static setPathType(type, norecurse = false) {
Formio.pathType = type;
if (!norecurse && Formio.FormioClass) {
Formio.FormioClass.setPathType(type);
Expand Down Expand Up @@ -312,7 +312,7 @@ export class Formio {
return wrapper;
}

static async createForm(element, form, options) {
static async createForm(element, form, options = {}) {
const wrapper = await Formio.init(element, options);
return Formio.FormioClass.createForm(element, form, {
...options,
Expand Down Expand Up @@ -344,7 +344,7 @@ export class Formio {
});
}

static async builder(element, form, options) {
static async builder(element, form, options = {}) {
const wrapper = await Formio.init(element, options, true);
return Formio.FormioClass.builder(element, form, options).then((instance) => {
Formio.debug('Builder created', instance);
Expand Down
116 changes: 67 additions & 49 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,15 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"

"@eslint/js@8.50.0":
version "8.50.0"
resolved "https://registry.npmjs.org/@eslint/js/-/js-8.50.0.tgz#9e93b850f0f3fa35f5fa59adfd03adae8488e484"
integrity sha512-NCC3zz2+nvYd+Ckfh87rA47zfu2QsQpvc6k1yzTk+b9KzRj0wkGa8LSoGOXN6Zv4lRf/EIoZ80biDh9HOI+RNQ==
"@eslint/js@8.51.0":
version "8.51.0"
resolved "https://registry.npmjs.org/@eslint/js/-/js-8.51.0.tgz#6d419c240cfb2b66da37df230f7e7eef801c32fa"
integrity sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg==

"@formio/bootstrap@^3.0.0-rc.13":
version "3.0.0-rc.13"
resolved "https://registry.npmjs.org/@formio/bootstrap/-/bootstrap-3.0.0-rc.13.tgz#d4ddedabc4fe9ffc2fa589750cdcc8efb8f9e0ae"
integrity sha512-3UWb1dmNUj9R9ZB0zdvsOoUM5aHkjx8cdv6pIfjF9wTe+1pVwaU9jTxL9elb503IEMhcEmAZ0gmWBVfFxfkxEQ==
"@formio/bootstrap@^3.0.0-rc.15":
version "3.0.0-rc.15"
resolved "https://registry.npmjs.org/@formio/bootstrap/-/bootstrap-3.0.0-rc.15.tgz#5593108f4caddbcec4c71eec66d44acb2c568279"
integrity sha512-3BaI7E/GTvNXfT9wmD/BEmX5ZLYVQjFWvis1uB1bOKO1LF8Oavy6QrzK/lWSIo1QADp6OyAopY1G5UwZo9aSbg==

"@formio/choices.js@^10.2.0":
version "10.2.0"
Expand All @@ -264,10 +264,10 @@
fuse.js "^6.6.2"
redux "^4.2.0"

"@formio/core@^1.3.0-rc.21":
version "1.3.0-rc.21"
resolved "https://registry.npmjs.org/@formio/core/-/core-1.3.0-rc.21.tgz#914da90015d143d824f2e19578ec173863f48f18"
integrity sha512-DxM7+kt0XQUvjQB+y456HfE0M+IzBvqwiV3yH2XRvF8W55hJV6meYoY7mtWl5Hjg8WyUY2lqWSbk8lsircAgWw==
"@formio/core@^1.3.0-rc.23":
version "1.3.0-rc.23"
resolved "https://registry.npmjs.org/@formio/core/-/core-1.3.0-rc.23.tgz#b8d4d3276cb0fe000b7e51a0f7507b75b8732e51"
integrity sha512-ceoPYEQ6sDpRUO8sCoWJeuxPu2eviPoHKS4tznCYOt7MtpFj8icZfF1AhcNjoUQjbqkFK9cXPhdZQw/2FFX/8A==
dependencies:
"@formio/lodash" "0.1.0"
"@types/json-logic-js" "^2.0.1"
Expand Down Expand Up @@ -488,9 +488,9 @@
"@types/estree" "*"

"@types/eslint@*":
version "8.44.3"
resolved "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.3.tgz#96614fae4875ea6328f56de38666f582d911d962"
integrity sha512-iM/WfkwAhwmPff3wZuPLYiHX18HI24jU8k1ZSH7P8FHwxTjZ2P6CoX2wnF43oprR+YXJM6UUxATkNvyv/JHd+g==
version "8.44.4"
resolved "https://registry.npmjs.org/@types/eslint/-/eslint-8.44.4.tgz#28eaff82e1ca0a96554ec5bb0188f10ae1a74c2f"
integrity sha512-lOzjyfY/D9QR4hY9oblZ76B90MYTB3RrQ4z2vBIJKj9ROCRqdkYl2gSUx1x1a4IWPjKJZLL4Aw1Zfay7eMnmnA==
dependencies:
"@types/estree" "*"
"@types/json-schema" "*"
Expand Down Expand Up @@ -520,7 +520,14 @@
resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40"
integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==

"@types/node@*", "@types/node@>=10.0.0":
"@types/node@*":
version "20.8.6"
resolved "https://registry.npmjs.org/@types/node/-/node-20.8.6.tgz#0dbd4ebcc82ad0128df05d0e6f57e05359ee47fa"
integrity sha512-eWO4K2Ji70QzKUqRy6oyJWUeB7+g2cRagT3T/nxYibYcT4y2BDL8lqolRXjTHmkZCdJfIPaY73KbJAZmcryxTQ==
dependencies:
undici-types "~5.25.1"

"@types/node@>=10.0.0":
version "20.8.2"
resolved "https://registry.npmjs.org/@types/node/-/node-20.8.2.tgz#d76fb80d87d0d8abfe334fc6d292e83e5524efc4"
integrity sha512-Vvycsc9FQdwhxE3y3DzeIxuEJbWGDsnrxvMADzTDF/lcdR9/K+AQIeAghTQsHtotg/q0j3WEOYS/jQgSdWue3w==
Expand Down Expand Up @@ -1595,9 +1602,9 @@ camelcase@^6.0.0:
integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==

caniuse-lite@^1.0.30001541:
version "1.0.30001543"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001543.tgz#478a3e9dddbb353c5ab214b0ecb0dbed529ed1d8"
integrity sha512-qxdO8KPWPQ+Zk6bvNpPeQIOH47qZSYdFZd6dXQzb2KzhnSXju4Kd7H1PkSJx6NICSMgo/IhRZRhhfPTHYpJUCA==
version "1.0.30001549"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001549.tgz#7d1a3dce7ea78c06ed72c32c2743ea364b3615aa"
integrity sha512-qRp48dPYSCYaP+KurZLhDYdVE+yEyht/3NlmcJgVQ2VMGt6JL36ndQ/7rgspdZsJuxDPFIo/OzBT2+GmIJ53BA==

caseless@~0.12.0:
version "0.12.0"
Expand Down Expand Up @@ -2606,9 +2613,9 @@ ejs-loader@^0.5.0:
lodash "^4.17.15"

electron-to-chromium@^1.4.535:
version "1.4.540"
resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.540.tgz#c685f2f035e93eb21dd6a9cfe2c735bad8f77401"
integrity sha512-aoCqgU6r9+o9/S7wkcSbmPRFi7OWZWiXS9rtjEd+Ouyu/Xyw5RSq2XN8s5Qp8IaFOLiRrhQCphCIjAxgG3eCAg==
version "1.4.556"
resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.556.tgz#97385917eb6ea3ac6a3378cf87bb39ee1db96e76"
integrity sha512-6RPN0hHfzDU8D56E72YkDvnLw5Cj2NMXZGg3UkgyoHxjVhG99KZpsKgBWMmTy0Ei89xwan+rbRsVB9yzATmYzQ==

emoji-regex@^7.0.1:
version "7.0.3"
Expand Down Expand Up @@ -3012,14 +3019,14 @@ eslint@^6.0.0:
v8-compile-cache "^2.0.3"

eslint@^8.43.0:
version "8.50.0"
resolved "https://registry.npmjs.org/eslint/-/eslint-8.50.0.tgz#2ae6015fee0240fcd3f83e1e25df0287f487d6b2"
integrity sha512-FOnOGSuFuFLv/Sa+FDVRZl4GGVAAFFi8LecRsI5a1tMO5HIE8nCm4ivAlzt4dT3ol/PaaGC0rJEEXQmHJBGoOg==
version "8.51.0"
resolved "https://registry.npmjs.org/eslint/-/eslint-8.51.0.tgz#4a82dae60d209ac89a5cff1604fea978ba4950f3"
integrity sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA==
dependencies:
"@eslint-community/eslint-utils" "^4.2.0"
"@eslint-community/regexpp" "^4.6.1"
"@eslint/eslintrc" "^2.1.2"
"@eslint/js" "8.50.0"
"@eslint/js" "8.51.0"
"@humanwhocodes/config-array" "^0.11.11"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"
Expand Down Expand Up @@ -3505,11 +3512,11 @@ flat-cache@^2.0.1:
write "1.0.3"

flat-cache@^3.0.4:
version "3.1.0"
resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.0.tgz#0e54ab4a1a60fe87e2946b6b00657f1c99e1af3f"
integrity sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==
version "3.1.1"
resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-3.1.1.tgz#a02a15fdec25a8f844ff7cc658f03dd99eb4609b"
integrity sha512-/qM2b3LUIaIgviBQovTLvijfyOQXPtSRnRK26ksj2J7rzPIecePUIpJsZ4T02Qg+xiAEKIs5K8dsHEd+VaKa/Q==
dependencies:
flatted "^3.2.7"
flatted "^3.2.9"
keyv "^4.5.3"
rimraf "^3.0.2"

Expand All @@ -3528,7 +3535,7 @@ flatted@^2.0.0:
resolved "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==

flatted@^3.2.7:
flatted@^3.2.7, flatted@^3.2.9:
version "3.2.9"
resolved "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf"
integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==
Expand Down Expand Up @@ -3874,9 +3881,9 @@ globals@^12.1.0:
type-fest "^0.8.1"

globals@^13.19.0:
version "13.22.0"
resolved "https://registry.npmjs.org/globals/-/globals-13.22.0.tgz#0c9fcb9c48a2494fbb5edbfee644285543eba9d8"
integrity sha512-H1Ddc/PbZHTDVJSnj8kWptIRSD6AM3pK+mKytuIVF4uoBV7rshFlhhvA58ceJ5wp3Er58w6zj7bykMpYXt3ETw==
version "13.23.0"
resolved "https://registry.npmjs.org/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02"
integrity sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==
dependencies:
type-fest "^0.20.2"

Expand Down Expand Up @@ -5181,9 +5188,9 @@ kew@^0.7.0:
integrity sha512-IG6nm0+QtAMdXt9KvbgbGdvY50RSrw+U4sGZg+KlrSKPJEwVE5JVoI3d7RWfSMdBQneRheeAOj3lIjX5VL/9RQ==

keyv@^4.5.3:
version "4.5.3"
resolved "https://registry.npmjs.org/keyv/-/keyv-4.5.3.tgz#00873d2b046df737963157bd04f294ca818c9c25"
integrity sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug==
version "4.5.4"
resolved "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93"
integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==
dependencies:
json-buffer "3.0.1"

Expand Down Expand Up @@ -7086,9 +7093,9 @@ safe-regex@^1.1.0:
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==

sass@^1.63.6:
version "1.68.0"
resolved "https://registry.npmjs.org/sass/-/sass-1.68.0.tgz#0034b0cc9a50248b7d1702ac166fd25990023669"
integrity sha512-Lmj9lM/fef0nQswm1J2HJcEsBUba4wgNx2fea6yJHODREoMFnwRpZydBnX/RjyXw2REIwdkbqE4hrTo4qfDBUA==
version "1.69.3"
resolved "https://registry.npmjs.org/sass/-/sass-1.69.3.tgz#f8a0c488697e6419519834a13335e7b65a609c11"
integrity sha512-X99+a2iGdXkdWn1akFPs0ZmelUzyAQfvqYc2P/MPTrJRuIRoTffGzT9W9nFqG00S+c8hXzVmgxhUuHFdrwxkhQ==
dependencies:
chokidar ">=3.0.0 <4.0.0"
immutable "^4.0.0"
Expand Down Expand Up @@ -7381,6 +7388,11 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1:
resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==

source-map@^0.7.4:
version "0.7.4"
resolved "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656"
integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==

spark-md5@^2.0.2:
version "2.0.2"
resolved "https://registry.npmjs.org/spark-md5/-/spark-md5-2.0.2.tgz#37b763847763ae7e7acef2ca5233d01e649a78b7"
Expand Down Expand Up @@ -7710,9 +7722,9 @@ terser-webpack-plugin@^5.3.7:
terser "^5.16.8"

terser@^5.16.8:
version "5.21.0"
resolved "https://registry.npmjs.org/terser/-/terser-5.21.0.tgz#d2b27e92b5e56650bc83b6defa00a110f0b124b2"
integrity sha512-WtnFKrxu9kaoXuiZFSGrcAvvBqAdmKx0SFNmVNYdJamMu9yyN3I/QF0FbH4QcqJQ+y1CJnzxGIKH0cSj+FGYRw==
version "5.22.0"
resolved "https://registry.npmjs.org/terser/-/terser-5.22.0.tgz#4f18103f84c5c9437aafb7a14918273310a8a49d"
integrity sha512-hHZVLgRA2z4NWcN6aS5rQDc+7Dcy58HOf2zbYwmFcQ+ua3h6eEFf5lIDKTzbWwlazPyOZsFQO8V80/IjVNExEw==
dependencies:
"@jridgewell/source-map" "^0.3.3"
acorn "^8.8.2"
Expand Down Expand Up @@ -7908,14 +7920,15 @@ trim-right@^1.0.1:
integrity sha512-WZGXGstmCWgeevgTL54hrCuw1dyMQIzWy7ZfqRJfSmJZBwklI15egmQytFP6bPidmw3M8d5yEowl1niq4vmqZw==

ts-loader@^9.4.4:
version "9.4.4"
resolved "https://registry.npmjs.org/ts-loader/-/ts-loader-9.4.4.tgz#6ceaf4d58dcc6979f84125335904920884b7cee4"
integrity sha512-MLukxDHBl8OJ5Dk3y69IsKVFRA/6MwzEqBgh+OXMPB/OD01KQuWPFd1WAQP8a5PeSCAxfnkhiuWqfmFJzJQt9w==
version "9.5.0"
resolved "https://registry.npmjs.org/ts-loader/-/ts-loader-9.5.0.tgz#f0a51dda37cc4d8e43e6cb14edebbc599b0c3aa2"
integrity sha512-LLlB/pkB4q9mW2yLdFMnK3dEHbrBjeZTYguaaIfusyojBgAGf5kF+O6KcWqiGzWqHk0LBsoolrp4VftEURhybg==
dependencies:
chalk "^4.1.0"
enhanced-resolve "^5.0.0"
micromatch "^4.0.0"
semver "^7.3.4"
source-map "^0.7.4"

ts-node@^10.9.1:
version "10.9.1"
Expand Down Expand Up @@ -8063,6 +8076,11 @@ undertaker@^1.2.1:
object.reduce "^1.0.0"
undertaker-registry "^1.0.0"

undici-types@~5.25.1:
version "5.25.3"
resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz#e044115914c85f0bcbb229f346ab739f064998c3"
integrity sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==

union-value@^1.0.0:
version "1.0.1"
resolved "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"
Expand Down Expand Up @@ -8436,9 +8454,9 @@ webpack-stream@^7.0.0:
vinyl "^2.2.1"

webpack@^5.88.1:
version "5.88.2"
resolved "https://registry.npmjs.org/webpack/-/webpack-5.88.2.tgz#f62b4b842f1c6ff580f3fcb2ed4f0b579f4c210e"
integrity sha512-JmcgNZ1iKj+aiR0OvTYtWQqJwq37Pf683dY9bVORwVbUrDhLhdn/PlO2sHsFHPkj7sHNQF3JwaAkp49V+Sq1tQ==
version "5.89.0"
resolved "https://registry.npmjs.org/webpack/-/webpack-5.89.0.tgz#56b8bf9a34356e93a6625770006490bf3a7f32dc"
integrity sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==
dependencies:
"@types/eslint-scope" "^3.7.3"
"@types/estree" "^1.0.0"
Expand Down

0 comments on commit 2de7c1d

Please sign in to comment.