1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/package.json
renovate[bot] 18a05bf30e
chore(deps): update dependency @swc/core to v1.3.24 (#2741)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://togithub.com/swc-project/swc)) | [`1.3.22` ->
`1.3.24`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.22/1.3.24) |
[![age](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.24/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.24/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.24/compatibility-slim/1.3.22)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@swc%2fcore/1.3.24/confidence-slim/1.3.22)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc</summary>

###
[`v1.3.24`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1324---2022-12-21)

[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.3.23...v1.3.24)

##### Bug Fixes

- **(css/minifier)** Don't remove custom variables with different case
([#&#8203;6655](https://togithub.com/swc-project/swc/issues/6655))
([dd7280d](dd7280d5bd))

- **(css/minifier)** Fix a bug with a modern hash
([#&#8203;6664](https://togithub.com/swc-project/swc/issues/6664))
([1d3e06a](1d3e06aa88))

- **(es/helpers)** Fix loose mode
([#&#8203;6691](https://togithub.com/swc-project/swc/issues/6691))
([5016ebe](5016ebed8f))

- **(es/minifier)** Abort IIFE invoker completely on eval
([#&#8203;6659](https://togithub.com/swc-project/swc/issues/6659))
([bb9fab8](bb9fab8d03))

- **(es/minifier)** Don't inline invalid LHS into an update argument
([#&#8203;6680](https://togithub.com/swc-project/swc/issues/6680))
([7e6ec8d](7e6ec8d587))

- **(es/preset-env)** Align polyfills with
`@babel/plugin-polyfill-corejs3`
([#&#8203;6673](https://togithub.com/swc-project/swc/issues/6673))
([5fed222](5fed222829))

##### Features

- **(css/compat)** Support function notation
([#&#8203;6651](https://togithub.com/swc-project/swc/issues/6651))
([39afc46](39afc4627e))

- **(css/compat)** Support `not` with multiple arguments
([#&#8203;6668](https://togithub.com/swc-project/swc/issues/6668))
([352896f](352896f4cb))

- **(css/compat)** Support `hwb` color
([#&#8203;6687](https://togithub.com/swc-project/swc/issues/6687))
([b23cf50](b23cf50f4f))

- **(css/minifier)** Compress alpha in a hex
([#&#8203;6653](https://togithub.com/swc-project/swc/issues/6653))
([f6292e6](f6292e63b5))

- **(css/minifier)** Improve compression of media at-rules
([#&#8203;6665](https://togithub.com/swc-project/swc/issues/6665))
([2fd3ced](2fd3ced40c))

- **(css/parser)** Normalize hex colors
([#&#8203;6652](https://togithub.com/swc-project/swc/issues/6652))
([b257d5d](b257d5d591))

- **(css/parser)** Normalize selector AST
([#&#8203;6657](https://togithub.com/swc-project/swc/issues/6657))
([649438b](649438b76a))

- **(css/parser)** Normalize declaration and important
([#&#8203;6663](https://togithub.com/swc-project/swc/issues/6663))
([1fc97a7](1fc97a7cea))

- **(css/parser)** Normalize dimension
([#&#8203;6654](https://togithub.com/swc-project/swc/issues/6654))
([3d3863d](3d3863dc1f))

- **(css/parser)** Normalize URL functions
([#&#8203;6675](https://togithub.com/swc-project/swc/issues/6675))
([c01464e](c01464e452))

- **(css/parser)** Normalize at-rule names
([#&#8203;6676](https://togithub.com/swc-project/swc/issues/6676))
([7f8ba9c](7f8ba9c22c))

- **(css/parser)** Normalize keyframe selectors
([#&#8203;6688](https://togithub.com/swc-project/swc/issues/6688))
([d7a0524](d7a0524fb6))

- **(css/parser)** Normalize and improve function name
([#&#8203;6667](https://togithub.com/swc-project/swc/issues/6667))
([2571070](2571070148))

- **(css/prefixer)** Support font-face format
([#&#8203;6644](https://togithub.com/swc-project/swc/issues/6644))
([199ac74](199ac74618))

- **(css/prefixer)** Support `word-wrap`
([#&#8203;6679](https://togithub.com/swc-project/swc/issues/6679))
([46241b4](46241b4e55))

- **(css/prefixer)** Support `place-*` properties
([#&#8203;6685](https://togithub.com/swc-project/swc/issues/6685))
([d8df1b5](d8df1b53d1))

- **(css/prefixer)** Support `overflow`
([#&#8203;6678](https://togithub.com/swc-project/swc/issues/6678))
([1c7f003](1c7f003779))

- **(es/minifier)** Improve simplification of `?.`
([#&#8203;6681](https://togithub.com/swc-project/swc/issues/6681))
([707b1e3](707b1e3cd2))

##### Miscellaneous Tasks

- **(ci)** Fix upload of cli binaries
([#&#8203;6701](https://togithub.com/swc-project/swc/issues/6701))
([025d626](025d6268cd))

- **(helpers)** Fix license
([#&#8203;6690](https://togithub.com/swc-project/swc/issues/6690))
([8a71dbc](8a71dbca6d))

##### Performance

- **(css/prefixer)** Use `JsWord` instead of `&str`
([#&#8203;6658](https://togithub.com/swc-project/swc/issues/6658))
([d27a270](d27a270fec))

- **(es/minifier)** Use rope-like structure for the name mangler
([#&#8203;6661](https://togithub.com/swc-project/swc/issues/6661))
([cb4173a](cb4173aa73))

##### Refactor

- **(css/compat)** Merge nesting into the compiler
([#&#8203;6686](https://togithub.com/swc-project/swc/issues/6686))
([1840e74](1840e748af))

- **(css/prefixer)** Use `eq_ignore_span`
([#&#8203;6656](https://togithub.com/swc-project/swc/issues/6656))
([d4660a4](d4660a4673))

##### Testing

- **(css/parser)** Add a test
([#&#8203;6666](https://togithub.com/swc-project/swc/issues/6666))
([87e1efd](87e1efd98c))

##### Build

- **(bindings)** Crash in GraalVM
([#&#8203;6689](https://togithub.com/swc-project/swc/issues/6689))
([e7849db](e7849dbc6a))

###
[`v1.3.23`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#&#8203;1323---2022-12-14)

[Compare
Source](https://togithub.com/swc-project/swc/compare/v1.3.22...v1.3.23)

##### Bug Fixes

- **(css/minifier)** Fix compressions of transform functions
([#&#8203;6617](https://togithub.com/swc-project/swc/issues/6617))
([208fd55](208fd559ba))

- **(css/minifier)** Fix compression of timing functions
([#&#8203;6618](https://togithub.com/swc-project/swc/issues/6618))
([59e8bf4](59e8bf4976))

- **(css/minifier)** Fix minification of `@supports` at-rule
([#&#8203;6632](https://togithub.com/swc-project/swc/issues/6632))
([d3fbfff](d3fbfffb32))

- **(es/codegen)** Don't print trailing coma for a rest argument
([#&#8203;6610](https://togithub.com/swc-project/swc/issues/6610))
([68d76af](68d76afe5d))

- **(es/codegen)** Fix codegen of TypeScript mapped types
([#&#8203;6621](https://togithub.com/swc-project/swc/issues/6621))
([5c53a74](5c53a74f55))

- **(es/fixer)** Add correct parens to `OptChainExpr` in `MemberExpr`
([#&#8203;6639](https://togithub.com/swc-project/swc/issues/6639))
([be5ea7f](be5ea7fe17))

- **(es/minifier)** Abort IIFE invoker on `eval`
([#&#8203;6478](https://togithub.com/swc-project/swc/issues/6478))
([8b2e1d1](8b2e1d17e5))

- **(es/minifier)** Abort sequential inliner on optional chaining
([#&#8203;6637](https://togithub.com/swc-project/swc/issues/6637))
([e4e4d6c](e4e4d6cf6b))

- **(es/parser)** Parse types in `CallExpression` inside templates
([#&#8203;6611](https://togithub.com/swc-project/swc/issues/6611))
([c44f1d0](c44f1d0a7f))

- **(html/parser)** Fix parsing of CDATA in the svg context
([#&#8203;6620](https://togithub.com/swc-project/swc/issues/6620))
([19c2ee5](19c2ee593d))

- **(node-swc)** Add missing `const_to_let` to the type
([#&#8203;6615](https://togithub.com/swc-project/swc/issues/6615))
([7e841a5](7e841a5d30))

##### Features

- **(css/compat)** Add `Compiler`
([#&#8203;6626](https://togithub.com/swc-project/swc/issues/6626))
([b3bbd74](b3bbd742bf))

- **(css/compat)** Support custom media queries
([#&#8203;6625](https://togithub.com/swc-project/swc/issues/6625))
([a5f7b4b](a5f7b4b8aa))

- **(css/compat)** Implement compat pass for media ranges
([#&#8203;6631](https://togithub.com/swc-project/swc/issues/6631))
([704b3ce](704b3ceb9c))

- **(css/compat)** Support color with hex alpha
([#&#8203;6643](https://togithub.com/swc-project/swc/issues/6643))
([fe06b80](fe06b8061c))

- **(css/minifier)** Support `to` and `from` with `initial`
([#&#8203;6613](https://togithub.com/swc-project/swc/issues/6613))
([cb49fa6](cb49fa6f1d))

- **(css/minifier)** Remove adjacent identical declarations
([#&#8203;6619](https://togithub.com/swc-project/swc/issues/6619))
([fb94694](fb94694cf3))

- **(css/prefixer)** Prefix percentage with `opacity`
([#&#8203;6638](https://togithub.com/swc-project/swc/issues/6638))
([2fee4d1](2fee4d167a))

- **(css/prefixer)** Support `display`
([#&#8203;6640](https://togithub.com/swc-project/swc/issues/6640))
([c8b724f](c8b724f14d))

- **(css/prefixer)** Support nested calc
([#&#8203;6645](https://togithub.com/swc-project/swc/issues/6645))
([5d0dc6e](5d0dc6e731))

- **(dbg-swc)** Kill `creduce` on drop
([#&#8203;6614](https://togithub.com/swc-project/swc/issues/6614))
([2bf7805](2bf7805980))

##### Miscellaneous Tasks

- **(atoms)** Make `sort.sh` cross-platform
([#&#8203;6629](https://togithub.com/swc-project/swc/issues/6629))
([3f469ff](3f469fff0b))

- **(ci)** Adjust upload of cli binaries
([#&#8203;6624](https://togithub.com/swc-project/swc/issues/6624))
([81b352d](81b352d966))

- **(es/minifier)** Expose `globals_defs` pass
([#&#8203;6633](https://togithub.com/swc-project/swc/issues/6633))
([08ccb83](08ccb8384c))

##### Performance

- **(html/codegen)** Reduce allocations
([#&#8203;6622](https://togithub.com/swc-project/swc/issues/6622))
([bfdafdb](bfdafdbb89))

- **(html/minifier)** Reduce allocations
([#&#8203;6623](https://togithub.com/swc-project/swc/issues/6623))
([7d3aa66](7d3aa66bb8))

##### Refactor

- **(dbg-swc)** Cleanup and document reducer
([#&#8203;6647](https://togithub.com/swc-project/swc/issues/6647))
([b13a079](b13a079481))

##### Testing

- **(es/minifier)** Enable size tests created from `creduce`
([#&#8203;6646](https://togithub.com/swc-project/swc/issues/6646))
([7f3e698](7f3e6983e5))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43My4zIiwidXBkYXRlZEluVmVyIjoiMzQuNzMuMyJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-27 12:59:11 +01:00

230 lines
6.9 KiB
JSON

{
"name": "unleash-server",
"description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
"version": "4.19.1",
"keywords": [
"unleash",
"feature toggle",
"feature",
"toggle"
],
"files": [
"dist",
"docs",
"frontend/build"
],
"repository": {
"type": "git",
"url": "ssh://git@github.com:unleash/unleash.git"
},
"bugs": {
"url": "https://github.com/unleash/unleash/issues"
},
"types": "./dist/lib/server-impl.d.ts",
"engines": {
"node": ">=14"
},
"license": "Apache-2.0",
"main": "./dist/lib/server-impl.js",
"scripts": {
"start": "node ./dist/server.js",
"prestart:dev": "yarn run clean",
"start:dev": "NODE_ENV=development tsc-watch --onSuccess \"node dist/server-dev.js\"",
"copy-templates": "copyfiles -u 1 src/mailtemplates/**/*.mustache dist/",
"db-migrate": "db-migrate --migrations-dir ./src/migrations",
"lint": "eslint ./src",
"local:package": "del-cli --force build && mkdir build && cp -r dist docs CHANGELOG.md LICENSE README.md package.json build",
"prebuild:watch": "yarn run clean",
"build:watch": "tsc -w",
"prebuild": "yarn run clean",
"build": "yarn run copy-templates && tsc --pretty",
"prepare": "node scripts/husky-install && cd frontend && yarn && cd .. && yarn run build",
"test": "NODE_ENV=test PORT=4243 jest",
"test:unit": "NODE_ENV=test PORT=4243 jest --testPathIgnorePatterns=src/test/e2e --testPathIgnorePatterns=dist",
"test:docker": "./scripts/docker-postgres.sh",
"test:docker:cleanup": "docker rm -f unleash-postgres",
"test:watch": "yarn test --watch",
"test:coverage": "NODE_ENV=test PORT=4243 jest --coverage --testLocationInResults --outputFile=\"coverage/report.json\" --forceExit --testTimeout=10000",
"test:coverage:jest": "NODE_ENV=test PORT=4243 jest --silent --ci --json --coverage --testLocationInResults --outputFile=\"report.json\" --forceExit --testTimeout=10000",
"seed:setup": "ts-node src/test/e2e/seed/segment.seed.ts",
"seed:serve": "UNLEASH_DATABASE_NAME=unleash_test UNLEASH_DATABASE_SCHEMA=seed yarn run start:dev",
"clean": "del-cli --force dist",
"preversion": "./scripts/check-release.sh",
"heroku-postbuild": "cd frontend && yarn && yarn build"
},
"jest": {
"automock": false,
"maxWorkers": 4,
"testTimeout": 10000,
"globalSetup": "./scripts/jest-setup.js",
"transform": {
"^.+\\.tsx?$": [
"@swc/jest"
]
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"/dist/",
"/node_modules/",
"/frontend/"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/src/migrations",
"/src/test"
]
},
"dependencies": {
"@unleash/express-openapi": "^0.2.1",
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1",
"async": "^3.2.4",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"connect-session-knex": "^3.0.0",
"cookie-parser": "^1.4.5",
"cookie-session": "^2.0.0-rc.1",
"cors": "^2.8.5",
"date-fns": "^2.25.0",
"db-migrate": "0.11.13",
"db-migrate-pg": "1.2.2",
"db-migrate-shared": "1.2.0",
"deepmerge": "^4.2.2",
"errorhandler": "^1.5.1",
"express": "^4.18.2",
"express-rate-limit": "^6.6.0",
"express-session": "^1.17.1",
"fast-json-patch": "^3.1.0",
"gravatar-url": "^3.1.0",
"helmet": "^6.0.0",
"ip": "^1.1.8",
"joi": "^17.3.0",
"js-sha256": "^0.9.0",
"js-yaml": "^4.1.0",
"json-schema-to-ts": "2.6.0",
"json2csv": "^5.0.7",
"knex": "^2.0.0",
"log4js": "^6.0.0",
"make-fetch-happen": "^11.0.0",
"memoizee": "^0.4.15",
"mime": "^3.0.0",
"multer": "^1.4.5-lts.1",
"murmurhash3js": "^3.0.1",
"mustache": "^4.1.0",
"nodemailer": "^6.5.0",
"openapi-types": "^12.0.0",
"owasp-password-strength-test": "^1.3.0",
"parse-database-url": "^0.3.0",
"pg": "^8.7.3",
"pg-connection-string": "^2.5.0",
"pkginfo": "^0.4.1",
"prom-client": "^14.0.0",
"response-time": "^2.3.2",
"semver": "^7.3.5",
"serve-favicon": "^2.5.0",
"stoppable": "^1.1.0",
"ts-toolbelt": "^9.6.0",
"type-is": "^1.6.18",
"unleash-client": "3.16.0",
"use-deep-compare-effect": "^1.8.1",
"uuid": "^9.0.0"
},
"devDependencies": {
"@apidevtools/swagger-parser": "10.1.0",
"@babel/core": "7.20.7",
"@swc/core": "1.3.24",
"@swc/jest": "0.2.24",
"@types/bcryptjs": "2.4.2",
"@types/cors": "2.8.13",
"@types/express": "4.17.15",
"@types/express-session": "1.17.5",
"@types/faker": "5.5.9",
"@types/jest": "29.2.4",
"@types/js-yaml": "4.0.5",
"@types/make-fetch-happen": "10.0.1",
"@types/memoizee": "0.4.8",
"@types/mime": "3.0.1",
"@types/node": "16.18.11",
"@types/nodemailer": "6.4.6",
"@types/owasp-password-strength-test": "1.3.0",
"@types/semver": "7.3.13",
"@types/stoppable": "1.1.1",
"@types/supertest": "2.0.12",
"@types/type-is": "1.6.3",
"@types/uuid": "9.0.0",
"@typescript-eslint/eslint-plugin": "5.47.1",
"@typescript-eslint/parser": "5.47.1",
"copyfiles": "2.4.1",
"coveralls": "3.1.1",
"del-cli": "5.0.0",
"eslint": "8.29.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "4.2.1",
"faker": "5.5.3",
"fast-check": "3.3.0",
"fetch-mock": "9.11.0",
"husky": "8.0.2",
"jest": "29.3.1",
"lint-staged": "13.1.0",
"nock": "13.2.9",
"openapi-enforcer": "1.22.2",
"prettier": "2.8.1",
"proxyquire": "2.1.3",
"source-map-support": "0.5.21",
"superagent": "8.0.6",
"supertest": "6.3.3",
"ts-node": "10.9.1",
"tsc-watch": "5.0.3",
"typescript": "4.8.4"
},
"resolutions": {
"async": "^3.2.4",
"db-migrate/rc/minimist": "^1.2.5",
"es5-ext": "0.10.62",
"knex/liftoff/object.map/**/kind-of": "^6.0.3",
"knex/liftoff/findup-sync/micromatc/kind-of": "^6.0.3",
"knex/liftoff/findup-sync/micromatc/nanomatch/kind-of": "^6.0.3",
"knex/liftoff/findup-sync/micromatch/define-property/**/kind-of": "^6.0.3",
"node-forge": "^1.0.0",
"set-value": "^4.0.1",
"ansi-regex": "^5.0.1",
"ssh2": "^1.4.0",
"json-schema": "^0.4.0",
"minimatch": "^5.0.0"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix"
],
"*.{json,yaml,md}": [
"prettier --write"
]
},
"prettier": {
"proseWrap": "never",
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all",
"overrides": [
{
"files": "*.{json,yaml,yml,md}",
"options": {
"tabWidth": 2
}
}
]
}
}