zulip/package.json

162 lines
4.9 KiB
JSON
Raw Normal View History

{
"private": true,
"packageManager": "pnpm@8.6.12+sha256.3ed40ffc6cbb00790ab325e9d3ff5517a3ed5b763ec53a411707b1702a411174",
"dependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-typescript": "^7.15.0",
"@babel/register": "^7.6.2",
"@formatjs/intl": "^2.0.0",
"@giphy/js-components": "^5.0.5",
"@giphy/js-fetch-api": "^5.0.0",
"@sentry/browser": "^7.51.2",
"@sentry/integrations": "^7.51.2",
"@uppy/core": "^3.0.2",
"@uppy/progress-bar": "^3.0.1",
"@uppy/xhr-upload": "^3.0.2",
"@zxcvbn-ts/core": "^3.0.1",
"@zxcvbn-ts/language-common": "^3.0.2",
"@zxcvbn-ts/language-en": "^3.0.1",
"autosize": "^5.0.2",
"babel-loader": "^9.1.0",
"babel-plugin-formatjs": "^10.2.6",
"babel-plugin-istanbul": "^6.1.1",
"blueimp-md5": "^2.10.0",
"clean-css": "^5.1.0",
"clipboard": "^2.0.4",
"colord": "^2.9.3",
"core-js": "^3.31.1",
"css-loader": "^6.2.0",
"css-minimizer-webpack-plugin": "^5.0.0",
"date-fns": "^2.16.1",
"date-fns-tz": "^2.0.0",
"email-addresses": "^5.0.0",
"emoji-datasource-google": "^15.0.1",
"emoji-datasource-google-blob": "npm:emoji-datasource-google@^3.0.0",
"emoji-datasource-twitter": "^15.0.1",
"error-stack-parser": "^2.0.2",
"expose-loader": "^4.0.0",
"flatpickr": "^4.5.7",
"font-awesome": "^4.7.0",
"font-subset-loader2": "^1.1.7",
"ga-gtag": "^1.0.1",
"handlebars": "^4.7.2",
"handlebars-loader": "^1.7.1",
"html-webpack-plugin": "^5.3.2",
"intl-messageformat": "^10.3.0",
"is-url": "^1.2.4",
"jquery": "^3.6.3",
"jquery-caret-plugin": "^1.5.2",
"jquery-validation": "^1.19.0",
"js-cookie": "^3.0.1",
"katex": "^0.16.2",
"lodash": "^4.17.19",
"micromodal": "^0.4.6",
"mini-css-extract-plugin": "^2.2.2",
"minimalistic-assert": "^1.0.1",
"panzoom": "^9.4.2",
"plotly.js": "^2.0.0",
"postcss": "^8.0.3",
"postcss-extend-rule": "^4.0.0",
"postcss-import": "^15.0.0",
"postcss-loader": "^7.0.0",
"postcss-prefixwrap": "^1.24.0",
"postcss-preset-env": "^9.0.0",
"postcss-simple-vars": "^7.0.0",
"regenerator-runtime": "^0.14.0",
"shebang-loader": "^0.0.1",
"simplebar": "^6.2.0",
"sortablejs": "^1.9.0",
"sorttable": "^1.0.2",
"source-code-pro": "^2.38.0",
"source-sans": "^3.28.0",
"spectrum-colorpicker": "^1.8.1",
"stackframe": "^1.3.4",
"stacktrace-gps": "^3.0.4",
"style-loader": "^3.2.1",
"text-field-edit": "^3.2.0",
"tippy.js": "^6.3.7",
"turndown": "^7.0.0",
"url-loader": "^4.1.1",
linkifier: Support URL templates for linkifiers. This swaps out url_format_string from all of our APIs and replaces it with url_template. Note that the documentation changes in the following commits will be squashed with this commit. We change the "url_format" key to "url_template" for the realm_linkifiers events in event_schema, along with updating LinkifierDict. "url_template" is the name chosen to normalize mixed usages of "url_format_string" and "url_format" throughout the backend. The markdown processor is updated to stop handling the format string interpolation and delegate the task template expansion to the uri_template library instead. This change affects many test cases. We mostly just replace "%(name)s" with "{name}", "url_format_string" with "url_template" to make sure that they still pass. There are some test cases dedicated for testing "%" escaping, which aren't relevant anymore and are subject to removal. But for now we keep most of them as-is, and make sure that "%" is always escaped since we do not use it for variable substitution any more. Since url_format_string is not populated anymore, a migration is created to remove this field entirely, and make url_template non-nullable since we will always populate it. Note that it is possible to have url_template being null after migration 0422 and before 0424, but in practice, url_template will not be None after backfilling and the backend now is always setting url_template. With the removal of url_format_string, RealmFilter model will now be cleaned with URL template checks, and the old checks for escapes are removed. We also modified RealmFilter.clean to skip the validation when the url_template is invalid. This avoids raising mulitple ValidationError's when calling full_clean on a linkifier. But we might eventually want to have a more centric approach to data validation instead of having the same validation in both the clean method and the validator. Fixes #23124. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-10-05 20:55:31 +02:00
"url-template": "2.0.8",
"webfonts-loader": "^8.0.0",
"webpack": "^5.61.0",
"webpack-bundle-tracker": "^2.0.0",
"webpack-cli": "^5.0.1",
"winchan": "^0.2.1",
"zod": "^3.21.4"
},
"devDependencies": {
"@babel/eslint-parser": "^7.11.3",
"@babel/plugin-transform-modules-commonjs": "^7.19.6",
"@formatjs/cli": "^6.0.0",
"@types/autosize": "^4.0.1",
"@types/blueimp-md5": "^2.18.0",
"@types/clean-css": "^4.2.2",
"@types/jquery": "^3.3.31",
"@types/jquery.validation": "^1.16.7",
"@types/katex": "^0.16.0",
"@types/lodash": "^4.14.172",
"@types/micromodal": "^0.3.3",
"@types/minimalistic-assert": "^1.0.1",
"@types/node": "^18.8.3",
"@types/plotly.js": "^2.12.20",
"@types/sortablejs": "^1.15.1",
"@types/turndown": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"babel-plugin-rewire-ts": "^1.4.0",
"callsites": "^3.1.0",
"cldr-annotations-derived-modern": "^43.0.0",
"cldr-annotations-modern": "^43.0.0",
"commander": "^11.0.0",
"css.escape": "^1.5.1",
"diff": "^5.0.0",
"difflib": "^0.2.4",
"enhanced-resolve": "^5.8.2",
"es-check": "^7.0.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-webpack": "^0.13.4",
"eslint-plugin-formatjs": "^4.0.2",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-no-jquery": "^2.7.0",
"eslint-plugin-unicorn": "^48.0.0",
"jsdom": "^22.0.0",
"minimist": "^1.2.6",
"mkdirp": "^3.0.1",
"mockdate": "^3.0.2",
"nyc": "^15.0.0",
"openapi-examples-validator": "^5.0.0",
"openapi-types": "^12.0.0",
"prettier": "^3.0.0",
"puppeteer": "^21.0.3",
"source-map": "npm:source-map-js@1.0.1",
"stylelint": "^15.2.0",
"stylelint-config-standard": "^34.0.0",
"svgo": "^3.0.0",
"swagger-parser": "^10.0.0",
"ts-node": "^10.0.0",
"typescript": "^5.0.2",
"vnu-jar": "^23.4.11",
"webpack-dev-server": "^4.2.0",
"xvfb": "^0.4.0",
"yaml": "^2.0.0-8",
"yargs": "^17.1.1",
"zulip-js": "^2.0.8"
},
"pnpm": {
"overrides": {
"source-map@^0.6": "npm:source-map-js@1.0.1"
},
"patchedDependencies": {
"source-sans@3.46.0": "patches/source-sans@3.46.0.patch"
}
},
"nyc": {
"exclude": [
"**/node_modules/**"
]
}
}