From 32f4dc04c0890a47b6f28e466fc4f61155e9a1a0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Oct 2020 15:28:44 +0800 Subject: [PATCH 01/17] chore(deps-dev): bump ts-jest from 26.3.0 to 26.4.1 (#496) Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.3.0 to 26.4.1. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.3.0...v26.4.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 37 +++++++++++++++++++++---------------- package.json | 2 +- 2 files changed, 22 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0787f17b5b..1be6333132 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16437,12 +16437,12 @@ } }, "jest-util": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.3.0.tgz", - "integrity": "sha512-4zpn6bwV0+AMFN0IYhH/wnzIQzRaYVrz1A8sYnRnj4UXDXbOVtWmlaZkO9mipFqZ13okIfN87aDoJWB7VH6hcw==", + "version": "26.6.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.6.0.tgz", + "integrity": "sha512-/cUGqcnKeZMjvTQLfJo65nBOEZ/k0RB/8usv2JpfYya05u0XvBmKkIH5o5c4nCh9DD61B1YQjMGGqh1Ha0aXdg==", "dev": true, "requires": { - "@jest/types": "^26.3.0", + "@jest/types": "^26.6.0", "@types/node": "*", "chalk": "^4.0.0", "graceful-fs": "^4.2.4", @@ -16451,9 +16451,9 @@ }, "dependencies": { "@jest/types": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.3.0.tgz", - "integrity": "sha512-BDPG23U0qDeAvU4f99haztXwdAg3hz4El95LkAM+tHAqqhiVzRpEGHHU8EDxT/AnxOrA65YjLBwDahdJ9pTLJQ==", + "version": "26.6.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.6.0.tgz", + "integrity": "sha512-8pDeq/JVyAYw7jBGU83v8RMYAkdrRxLG3BGnAJuqaQAUd6GWBmND2uyl+awI88+hit48suLoLjNFtR+ZXxWaYg==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -16473,12 +16473,11 @@ } }, "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, @@ -25285,22 +25284,22 @@ } }, "ts-jest": { - "version": "26.3.0", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.3.0.tgz", - "integrity": "sha512-Jq2uKfx6bPd9+JDpZNMBJMdMQUC3sJ08acISj8NXlVgR2d5OqslEHOR2KHMgwymu8h50+lKIm0m0xj/ioYdW2Q==", + "version": "26.4.1", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-26.4.1.tgz", + "integrity": "sha512-F4aFq01aS6mnAAa0DljNmKr/Kk9y4HVZ1m6/rtJ0ED56cuxINGq3Q9eVAh+z5vcYKe5qnTMvv90vE8vUMFxomg==", "dev": true, "requires": { "@types/jest": "26.x", "bs-logger": "0.x", "buffer-from": "1.x", "fast-json-stable-stringify": "2.x", - "jest-util": "26.x", + "jest-util": "^26.1.0", "json5": "2.x", "lodash.memoize": "4.x", "make-error": "1.x", "mkdirp": "1.x", "semver": "7.x", - "yargs-parser": "18.x" + "yargs-parser": "20.x" }, "dependencies": { "json5": { @@ -25323,6 +25322,12 @@ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", "dev": true + }, + "yargs-parser": { + "version": "20.2.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.3.tgz", + "integrity": "sha512-emOFRT9WVHw03QSvN5qor9QQT9+sw5vwxfYweivSMHTcAXPefwVae2FjO7JJjj8hCE4CzPOPeFM83VwT29HCww==", + "dev": true } } }, diff --git a/package.json b/package.json index 6da8edc113..37f222bf9f 100644 --- a/package.json +++ b/package.json @@ -241,7 +241,7 @@ "supertest-session": "^4.1.0", "terser-webpack-plugin": "^1.2.3", "testcafe": "^1.8.6", - "ts-jest": "^26.3.0", + "ts-jest": "^26.4.1", "ts-loader": "^7.0.5", "ts-mock-imports": "^1.3.0", "ts-node": "^9.0.0", From 8476a17087d31cfa35d651de7fb1aa339bee1588 Mon Sep 17 00:00:00 2001 From: LoneRifle Date: Tue, 20 Oct 2020 16:15:55 +0800 Subject: [PATCH 02/17] docs(readme): acknowledge TellForm, others (#495) Acknowledge the contributions made by TellForm and its lead, as well as those who have worked on FormSG who are not in the commit log Co-authored-by: Antariksh Mahajan --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index f00489325e..e51e0212d1 100755 --- a/README.md +++ b/README.md @@ -192,3 +192,19 @@ We welcome all contributions, bug reports, bug fixes, documentation improvements ## Support Please contact FormSG (formsg@tech.gov.sg) for any details. + +## Acknowledgements + +FormSG acknowledges the work done by [Arielle Baldwynn](https://github.com/whitef0x0) to build and maintain [TellForm](https://github.com/tellform), on which FormSG is based. + +Contributions have also been made by: +[@RyanAngJY](https://github.com/RyanAngJY) +[@jeantanzy](https://github.com/jeantanzy) +[@yong-jie](https://github.com/yong-jie) +[@pregnantboy](https://github.com/pregnantboy) +[@namnguyen08](https://github.com/namnguyen08) +[@zioul123](https://github.com/zioul123) +[@JoelWee](https://github.com/JoelWee) +[@limli](https://github.com/limli) +[@tankevan](https://github.com/tankevan) +[@LoneRifle](https://github.com/LoneRifle) From 6c499f4e7a041966dd380bc010bb9bdf6f041391 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Oct 2020 20:17:02 +0800 Subject: [PATCH 03/17] fix(deps): bump angular-sanitize from 1.8.0 to 1.8.1 (#494) Bumps [angular-sanitize](https://github.com/angular/angular.js) from 1.8.0 to 1.8.1. - [Release notes](https://github.com/angular/angular.js/releases) - [Changelog](https://github.com/angular/angular.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/angular/angular.js/compare/v1.8.0...v1.8.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1be6333132..ac776aa525 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5463,9 +5463,9 @@ "integrity": "sha512-N3NmT+3qrfq6w4THWwNYiOVBjQp0U4AomRYyc7zd6QXFll+dQVNe/IfqzAHdSfYRg0EUAZflJzjsoWjVf5VqrA==" }, "angular-sanitize": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/angular-sanitize/-/angular-sanitize-1.8.0.tgz", - "integrity": "sha512-j5GiOPCvfcDWK5svEOVoPb11X3UDVy/mdHPRWuy14Iyw86xaq+Bb+x/em2sAOa5MQQeY5ciLXbF3RRp8iCKcNg==" + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/angular-sanitize/-/angular-sanitize-1.8.1.tgz", + "integrity": "sha512-kDtbAQkN+biyvBMJ8mgFIDZureng5yl6qegFCQ+bUw50n3KOx4FCsZ9S5tNAQ/rjYYTC5tP4hREv7+2ha+8M2w==" }, "angular-translate": { "version": "2.18.2", diff --git a/package.json b/package.json index 37f222bf9f..babb37552e 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "angular-moment": "~1.2.0", "angular-permission": "~1.1.1", "angular-resource": "^1.8.1", - "angular-sanitize": "^1.8.0", + "angular-sanitize": "^1.8.1", "angular-translate": "^2.18.2", "angular-translate-loader-partial": "^2.18.3", "angular-ui-bootstrap": "~2.5.6", From 48f90353dcd717e8b2b3f79510ab09ec6cd4c359 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2020 19:38:45 +0800 Subject: [PATCH 04/17] fix(deps): bump selectize from 0.12.4 to 0.12.6 (#500) Bumps [selectize](https://github.com/selectize/selectize.js) from 0.12.4 to 0.12.6. - [Release notes](https://github.com/selectize/selectize.js/releases) - [Changelog](https://github.com/selectize/selectize.js/blob/master/CHANGELOG.md) - [Commits](https://github.com/selectize/selectize.js/compare/v0.12.4...v0.12.6) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 24 +++++++++++------------- package.json | 2 +- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index d8aff78172..896485fd2a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5781,6 +5781,14 @@ "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", "dev": true }, + "async": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", + "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", + "requires": { + "lodash": "^4.17.14" + } + }, "async-each": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", @@ -22417,9 +22425,9 @@ "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=" }, "selectize": { - "version": "0.12.4", - "resolved": "https://registry.npmjs.org/selectize/-/selectize-0.12.4.tgz", - "integrity": "sha1-UMaXUmtgneoR2hU89yUrmJSPTA4=", + "version": "0.12.6", + "resolved": "https://registry.npmjs.org/selectize/-/selectize-0.12.6.tgz", + "integrity": "sha512-bWO5A7G+I8+QXyjLfQUgh31VI4WKYagUZQxAXlDyUmDDNrFxrASV0W9hxCOl0XJ/XQ1dZEu3G9HjXV4Wj0yb6w==", "requires": { "microplugin": "0.0.3", "sifter": "^0.5.1" @@ -22594,16 +22602,6 @@ "csv-parse": "^4.6.5", "humanize": "^0.0.9", "optimist": "^0.6.1" - }, - "dependencies": { - "async": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", - "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", - "requires": { - "lodash": "^4.17.14" - } - } } }, "signal-exit": { diff --git a/package.json b/package.json index f7f739ac87..84ae71cef4 100644 --- a/package.json +++ b/package.json @@ -144,7 +144,7 @@ "opossum": "^5.0.1", "promise-retry": "^2.0.1", "puppeteer-core": "3.1.0", - "selectize": "0.12.4", + "selectize": "0.12.6", "slick-carousel": "1.8.1", "sortablejs": "~1.10.2", "text-encoding": "^0.7.0", From 24e77005f5a8baf396bafa275f397ad572677637 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2020 09:50:40 +0800 Subject: [PATCH 05/17] chore(deps-dev): bump @typescript-eslint/parser from 4.0.1 to 4.5.0 (#501) Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.0.1 to 4.5.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.5.0/packages/parser) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 74 ++++++++++++++++++++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 65 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 896485fd2a..a0816c6a4a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5002,25 +5002,79 @@ } }, "@typescript-eslint/parser": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.0.1.tgz", - "integrity": "sha512-1+qLmXHNAWSQ7RB6fdSQszAiA7JTwzakj5cNYjBTUmpH2cqilxMZEIV+DRKjVZs8NzP3ALmKexB0w/ExjcK9Iw==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.5.0.tgz", + "integrity": "sha512-xb+gmyhQcnDWe+5+xxaQk5iCw6KqXd8VQxGiTeELTMoYeRjpocZYYRP1gFVM2C8Yl0SpUvLa1lhprwqZ00w3Iw==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "4.0.1", - "@typescript-eslint/types": "4.0.1", - "@typescript-eslint/typescript-estree": "4.0.1", + "@typescript-eslint/scope-manager": "4.5.0", + "@typescript-eslint/types": "4.5.0", + "@typescript-eslint/typescript-estree": "4.5.0", "debug": "^4.1.1" }, "dependencies": { + "@typescript-eslint/scope-manager": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.5.0.tgz", + "integrity": "sha512-C0cEO0cTMPJ/w4RA/KVe4LFFkkSh9VHoFzKmyaaDWAnPYIEzVCtJ+Un8GZoJhcvq+mPFXEsXa01lcZDHDG6Www==", + "dev": true, + "requires": { + "@typescript-eslint/types": "4.5.0", + "@typescript-eslint/visitor-keys": "4.5.0" + } + }, + "@typescript-eslint/types": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.5.0.tgz", + "integrity": "sha512-n2uQoXnyWNk0Les9MtF0gCK3JiWd987JQi97dMSxBOzVoLZXCNtxFckVqt1h8xuI1ix01t+iMY4h4rFMj/303g==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.5.0.tgz", + "integrity": "sha512-gN1mffq3zwRAjlYWzb5DanarOPdajQwx5MEWkWCk0XvqC8JpafDTeioDoow2L4CA/RkYZu7xEsGZRhqrTsAG8w==", + "dev": true, + "requires": { + "@typescript-eslint/types": "4.5.0", + "@typescript-eslint/visitor-keys": "4.5.0", + "debug": "^4.1.1", + "globby": "^11.0.1", + "is-glob": "^4.0.1", + "lodash": "^4.17.15", + "semver": "^7.3.2", + "tsutils": "^3.17.1" + } + }, + "@typescript-eslint/visitor-keys": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.5.0.tgz", + "integrity": "sha512-UHq4FSa55NDZqscRU//O5ROFhHa9Hqn9KWTEvJGTArtTQp5GKv9Zqf6d/Q3YXXcFv4woyBml7fJQlQ+OuqRcHA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "4.5.0", + "eslint-visitor-keys": "^2.0.0" + } + }, "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", + "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", "dev": true, "requires": { - "ms": "^2.1.1" + "ms": "2.1.2" } + }, + "eslint-visitor-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz", + "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", + "dev": true + }, + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "dev": true } } }, diff --git a/package.json b/package.json index 84ae71cef4..92c177edb4 100644 --- a/package.json +++ b/package.json @@ -194,7 +194,7 @@ "@types/uuid": "^8.3.0", "@types/validator": "^13.1.0", "@typescript-eslint/eslint-plugin": "^4.0.1", - "@typescript-eslint/parser": "^4.0.0", + "@typescript-eslint/parser": "^4.5.0", "auto-changelog": "^2.2.1", "axios-mock-adapter": "^1.18.2", "babel-loader": "^8.0.5", From 5844618204c10873f1f4655242070eff1c07e5fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2020 09:51:49 +0800 Subject: [PATCH 06/17] fix(deps): bump mongoose from 5.10.0 to 5.10.9 (#449) Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.10.0 to 5.10.9. - [Release notes](https://github.com/Automattic/mongoose/releases) - [Changelog](https://github.com/Automattic/mongoose/blob/master/History.md) - [Commits](https://github.com/Automattic/mongoose/compare/5.10.0...5.10.9) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index a0816c6a4a..73549f4a8d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19001,13 +19001,13 @@ "integrity": "sha1-D3ca0W9IOuZfQoeWlCjp+8SqYYE=" }, "mongoose": { - "version": "5.10.0", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.10.0.tgz", - "integrity": "sha512-5itAvBMVDG4+zTDtuLg/IyoTxEMgvpOSHnigQ9Cyh8LR4BEgMAChJj7JSaGkg+tr1AjCSY9DgSdU8bHqCOoxXg==", + "version": "5.10.9", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.10.9.tgz", + "integrity": "sha512-7dkr1d6Uyk87hELzoc6B7Zo7kkPTx8rKummk51Y0je2V2Ttsw0KFPwTp1G8JIbBta7Wpw8j15PJi0d33Ode2nw==", "requires": { "bson": "^1.1.4", "kareem": "2.3.1", - "mongodb": "3.6.0", + "mongodb": "3.6.2", "mongoose-legacy-pluralize": "1.0.2", "mpath": "0.7.0", "mquery": "3.2.2", @@ -19024,11 +19024,11 @@ "integrity": "sha512-kDuEzldR21lHciPQAIulLs1LZlCXdLziXI6Mb/TDkwXhb//UORJNPXgcRs2CuO4H0DcMkpfT3/ySsP3unoZjBg==" }, "mongodb": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.0.tgz", - "integrity": "sha512-/XWWub1mHZVoqEsUppE0GV7u9kanLvHxho6EvBxQbShXTKYF9trhZC2NzbulRGeG7xMJHD8IOWRcdKx5LPjAjQ==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.2.tgz", + "integrity": "sha512-sSZOb04w3HcnrrXC82NEh/YGCmBuRgR+C1hZgmmv4L6dBz4BkRse6Y8/q/neXer9i95fKUBbFi4KgeceXmbsOA==", "requires": { - "bl": "^2.2.0", + "bl": "^2.2.1", "bson": "^1.1.4", "denque": "^1.4.1", "require_optional": "^1.0.1", diff --git a/package.json b/package.json index 92c177edb4..8d42e116e5 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "lodash": "^4.17.20", "moment-timezone": "0.5.31", "mongodb-uri": "^0.9.7", - "mongoose": "^5.10.0", + "mongoose": "^5.10.9", "multiparty": ">=4.2.2", "neverthrow": "^2.7.1", "ng-infinite-scroll": "^1.3.0", From a6ac8ef67dbdaefbab0a1fecc1173fc4f6a70399 Mon Sep 17 00:00:00 2001 From: Yuan Ruo Date: Thu, 22 Oct 2020 11:58:08 +0800 Subject: [PATCH 07/17] build: revert "fix(deps): bump mongoose from 5.10.0 to 5.10.9" This reverts commit 5844618204c10873f1f4655242070eff1c07e5fd. --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 73549f4a8d..a0816c6a4a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19001,13 +19001,13 @@ "integrity": "sha1-D3ca0W9IOuZfQoeWlCjp+8SqYYE=" }, "mongoose": { - "version": "5.10.9", - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.10.9.tgz", - "integrity": "sha512-7dkr1d6Uyk87hELzoc6B7Zo7kkPTx8rKummk51Y0je2V2Ttsw0KFPwTp1G8JIbBta7Wpw8j15PJi0d33Ode2nw==", + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.10.0.tgz", + "integrity": "sha512-5itAvBMVDG4+zTDtuLg/IyoTxEMgvpOSHnigQ9Cyh8LR4BEgMAChJj7JSaGkg+tr1AjCSY9DgSdU8bHqCOoxXg==", "requires": { "bson": "^1.1.4", "kareem": "2.3.1", - "mongodb": "3.6.2", + "mongodb": "3.6.0", "mongoose-legacy-pluralize": "1.0.2", "mpath": "0.7.0", "mquery": "3.2.2", @@ -19024,11 +19024,11 @@ "integrity": "sha512-kDuEzldR21lHciPQAIulLs1LZlCXdLziXI6Mb/TDkwXhb//UORJNPXgcRs2CuO4H0DcMkpfT3/ySsP3unoZjBg==" }, "mongodb": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.2.tgz", - "integrity": "sha512-sSZOb04w3HcnrrXC82NEh/YGCmBuRgR+C1hZgmmv4L6dBz4BkRse6Y8/q/neXer9i95fKUBbFi4KgeceXmbsOA==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.0.tgz", + "integrity": "sha512-/XWWub1mHZVoqEsUppE0GV7u9kanLvHxho6EvBxQbShXTKYF9trhZC2NzbulRGeG7xMJHD8IOWRcdKx5LPjAjQ==", "requires": { - "bl": "^2.2.1", + "bl": "^2.2.0", "bson": "^1.1.4", "denque": "^1.4.1", "require_optional": "^1.0.1", diff --git a/package.json b/package.json index 8d42e116e5..92c177edb4 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "lodash": "^4.17.20", "moment-timezone": "0.5.31", "mongodb-uri": "^0.9.7", - "mongoose": "^5.10.9", + "mongoose": "^5.10.0", "multiparty": ">=4.2.2", "neverthrow": "^2.7.1", "ng-infinite-scroll": "^1.3.0", From 4fe70dec02f5ac9f403c57af524202aee992330f Mon Sep 17 00:00:00 2001 From: Yuan Ruo Date: Thu, 22 Oct 2020 12:37:57 +0800 Subject: [PATCH 08/17] build: pin mongoose version to 5.10.0 (#504) Co-authored-by: Yuanruo Liang --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 92c177edb4..fd37143e4b 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "lodash": "^4.17.20", "moment-timezone": "0.5.31", "mongodb-uri": "^0.9.7", - "mongoose": "^5.10.0", + "mongoose": "5.10.0", "multiparty": ">=4.2.2", "neverthrow": "^2.7.1", "ng-infinite-scroll": "^1.3.0", From 1d3213aa99ff7e97dc17a6d43c3a6c987f71e33a Mon Sep 17 00:00:00 2001 From: Kar Rui Lau Date: Mon, 26 Oct 2020 10:12:49 +0800 Subject: [PATCH 09/17] feat: require non-empty domains if restrict domain is toggled on (#507) * feat: require non-empty domains if restrict domain is toggled on * style: add red border to edit panel textareas if input is invalid --- src/public/modules/forms/admin/css/edit-form.css | 4 ++++ .../forms/admin/views/edit-fields.client.modal.html | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/public/modules/forms/admin/css/edit-form.css b/src/public/modules/forms/admin/css/edit-form.css index 4f5d70d8e8..fe52d24398 100644 --- a/src/public/modules/forms/admin/css/edit-form.css +++ b/src/public/modules/forms/admin/css/edit-form.css @@ -961,6 +961,10 @@ resize: vertical; } +.edit-modal-window .edit-panel textarea.ng-invalid { + border: 2px solid #a94442 !important; +} + #admin-form .ui-sortable-placeholder { visibility: visible !important; border: none; diff --git a/src/public/modules/forms/admin/views/edit-fields.client.modal.html b/src/public/modules/forms/admin/views/edit-fields.client.modal.html index b93c8efdb0..f55d3bf29f 100644 --- a/src/public/modules/forms/admin/views/edit-fields.client.modal.html +++ b/src/public/modules/forms/admin/views/edit-fields.client.modal.html @@ -635,13 +635,14 @@