mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-04 11:17:02 +02:00
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@swc/core](https://swc.rs) ([source](https://redirect.github.com/swc-project/swc)) | [`1.11.24` -> `1.11.29`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.11.24/1.11.29) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>swc-project/swc (@​swc/core)</summary> ### [`v1.11.29`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#11129---2025-05-21) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.11.24...v1.11.29) ##### Bug Fixes - **([@​swc/types](https://redirect.github.com/swc/types))** Add `transform.nativeClassProperties` ([#​10418](https://redirect.github.com/swc-project/swc/issues/10418)) ([f3af44c](f3af44c154
)) - **([@​swc/types](https://redirect.github.com/swc/types))** Add `resolveFully` to `BaseModuleConfig` ([#​10426](https://redirect.github.com/swc-project/swc/issues/10426)) ([164cbaa](164cbaa2c0
)) - **(ci)** Remove wasmer override ([425eeb9](425eeb9056
)) - **(es/compat)** Properly handle rest assignment in for-in/of head ([#​10489](https://redirect.github.com/swc-project/swc/issues/10489)) ([b9c0446](b9c04468f1
)) - **(es/jest)** Hoisting vars with names starting with mock ([#​10410](https://redirect.github.com/swc-project/swc/issues/10410)) ([a29eb29](a29eb29733
)) - **(es/jest)** Revert [#​10410](https://redirect.github.com/swc-project/swc/issues/10410) ([#​10452](https://redirect.github.com/swc-project/swc/issues/10452)) ([bc756f8](bc756f84c9
)) - **(es/minifier)** Properly handle object shorthand syntax during compression ([#​10467](https://redirect.github.com/swc-project/swc/issues/10467)) ([bae4940](bae494039d
)) - **(es/module)** Handle `__proto__` export name ([#​10420](https://redirect.github.com/swc-project/swc/issues/10420)) ([1b94c7a](1b94c7a7fb
)) - **(es/optimization)** Support decimal numbers in `jsonify` ([#​10424](https://redirect.github.com/swc-project/swc/issues/10424)) ([affdec2](affdec2be8
)) - **(es/react-compiler)** Mark function components declared as a var interesting ([#​10437](https://redirect.github.com/swc-project/swc/issues/10437)) ([5eac076](5eac076b77
)) - **(es/renamer)** Fix (broken) identifier preserving API ([#​10474](https://redirect.github.com/swc-project/swc/issues/10474)) ([06c64cf](06c64cf9ed
)) - **(ts/fast-dts)** Emit `readonly` for Object getter prop ([#​10492](https://redirect.github.com/swc-project/swc/issues/10492)) ([6c03e20](6c03e20a98
)) - **(ts/fast-dts)** Align object getter/setter emit behavior with TypeScript ([#​10502](https://redirect.github.com/swc-project/swc/issues/10502)) ([78c754e](78c754e7a6
)) ##### Features - **(common)** Allow using `build_sourcemap` with multiple `SourceMap` ([#​10438](https://redirect.github.com/swc-project/swc/issues/10438)) ([2a07c8a](2a07c8a9c2
)) - **(common)** Add `ignoreList` support for sourcemap ([#​10442](https://redirect.github.com/swc-project/swc/issues/10442)) ([6750459](6750459d91
)) - **(config)** Allow using glob in some places ([#​10445](https://redirect.github.com/swc-project/swc/issues/10445)) ([f7a6359](f7a635985e
)) - **(config)** Use `globset` instead ([#​10446](https://redirect.github.com/swc-project/swc/issues/10446)) ([7bbaef8](7bbaef8b17
)) - **(es/module)** Add support for stripping "node:" prefix in imports and exports ([#​10461](https://redirect.github.com/swc-project/swc/issues/10461)) ([ae2ff62](ae2ff627a1
)) - **(es/react-compiler)** Initialize support crate ([#​10422](https://redirect.github.com/swc-project/swc/issues/10422)) ([1e88e6b](1e88e6b414
)) - Initialize `@swc/react-compiler` ([#​10475](https://redirect.github.com/swc-project/swc/issues/10475)) ([883b24c](883b24c624
)) ##### Miscellaneous Tasks - **(es/minifier)** Remove useless check ([#​10471](https://redirect.github.com/swc-project/swc/issues/10471)) ([ca85958](ca85958403
)) ##### Performance - **(common)** Accept owned instance of `sourcemap::SourceMap` ([#​10463](https://redirect.github.com/swc-project/swc/issues/10463)) ([6ee439a](6ee439aa7a
)) - **(es/minifier)** Use fxhash for DCE ([#​10440](https://redirect.github.com/swc-project/swc/issues/10440)) ([c0ddd96](c0ddd96f69
)) - **(es/minifier)** Remove needless `collect_decls` call ([#​10450](https://redirect.github.com/swc-project/swc/issues/10450)) ([8e4b6ce](8e4b6ce881
)) - **(es/minifier)** Clear graph eagerly in DCE ([#​10455](https://redirect.github.com/swc-project/swc/issues/10455)) ([31e21d7](31e21d7cbc
)) - **(es/minifier)** Perform full analysis only once for DCE ([#​10454](https://redirect.github.com/swc-project/swc/issues/10454)) ([61baf84](61baf84942
)) - **(es/minifier)** Use `bitflags` for var info ([#​10459](https://redirect.github.com/swc-project/swc/issues/10459)) ([36f8385](36f8385256
)) - **(es/optimization)** Rely on `resolver` from `inline_globals` ([#​10449](https://redirect.github.com/swc-project/swc/issues/10449)) ([1978809](197880946a
)) - **(es/renamer)** Merge Id/Def collector ([#​10487](https://redirect.github.com/swc-project/swc/issues/10487)) ([73377f0](73377f09dc
)) - **(es/utils)** Make `IdentUsageFinder` parallel ([#​10444](https://redirect.github.com/swc-project/swc/issues/10444)) ([d074bca](d074bcaf20
)) - **(es/utils)** Stop visiting once found in `EvalFinder` ([#​10483](https://redirect.github.com/swc-project/swc/issues/10483)) ([3402270](3402270edc
)) ##### Refactor - **(common)** Remove useless `&mut` ([#​10405](https://redirect.github.com/swc-project/swc/issues/10405)) ([edbeb49](edbeb4947a
)) - **(common)** Remove unused methods ([#​10469](https://redirect.github.com/swc-project/swc/issues/10469)) ([b77311a](b77311adfc
)) - **(ecma/transform)** Cleanup rename analyzer ([#​10500](https://redirect.github.com/swc-project/swc/issues/10500)) ([de51be1](de51be1a78
)) - **(es)** Remove unused code ([#​10460](https://redirect.github.com/swc-project/swc/issues/10460)) ([d344133](d34413338b
)) - **(es)** Deduplicate `EvalFinder` ([#​10472](https://redirect.github.com/swc-project/swc/issues/10472)) ([9f104af](9f104af508
)) - **(es/minifier)** Remove unused file ([#​10465](https://redirect.github.com/swc-project/swc/issues/10465)) ([7d49097](7d49097825
)) - **(es/minifier)** Merge label/private name renamer ([#​10480](https://redirect.github.com/swc-project/swc/issues/10480)) ([5add84d](5add84dffc
)) - **(es/parser)** Split parser into also-lex/parse-only ([#​10399](https://redirect.github.com/swc-project/swc/issues/10399)) ([26289ab](26289ab766
)) - **(es/parser)** Parse shebang and cleanup ([#​10481](https://redirect.github.com/swc-project/swc/issues/10481)) ([619873a](619873a2cf
)) - **(es/parser)** Cleanup usage of `is!` and `bump!` ([#​10490](https://redirect.github.com/swc-project/swc/issues/10490)) ([b695b68](b695b6830e
)) - **(es/renamer)** Inline `get_unresolved` ([#​10493](https://redirect.github.com/swc-project/swc/issues/10493)) ([0f5d9c1](0f5d9c1ac7
)) - **(es/transforms)** Unify `preset_env` and `es_version` transform ([#​10451](https://redirect.github.com/swc-project/swc/issues/10451)) ([6546c27](6546c27fab
)) ##### Build - **(plugin)** Update `wasmer` to `v6.0.0` ([#​10439](https://redirect.github.com/swc-project/swc/issues/10439)) ([b9eff3c](b9eff3c92b
)) - Update `rustc` to `nightly-2025-05-06` ([#​10443](https://redirect.github.com/swc-project/swc/issues/10443)) ([a7cbde7](a7cbde7fdb
)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
221 lines
7.3 KiB
JSON
221 lines
7.3 KiB
JSON
{
|
|
"name": "unleash-server",
|
|
"type": "module",
|
|
"description": "Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.",
|
|
"version": "7.0.0",
|
|
"keywords": [
|
|
"unleash",
|
|
"feature flag",
|
|
"flag",
|
|
"feature toggle",
|
|
"feature",
|
|
"toggle"
|
|
],
|
|
"files": [
|
|
"dist",
|
|
"openapi-static",
|
|
"frontend/build",
|
|
"frontend/build/*",
|
|
"frontend/build/**/*",
|
|
"frontend/index.js",
|
|
"frontend/package.json"
|
|
],
|
|
"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": ">=20"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"exports": "./dist/lib/server-impl.js",
|
|
"scripts": {
|
|
"start": "TZ=UTC node ./dist/server.js",
|
|
"copy-templates": "copyfiles -u 1 src/mailtemplates/**/* dist/",
|
|
"build:backend": "tsc --pretty && copyfiles -u 2 src/migrations/package.json dist/migrations",
|
|
"build:frontend": "yarn --cwd ./frontend run build",
|
|
"build:frontend:if-needed": "./scripts/build-frontend-if-needed.sh",
|
|
"build": "yarn run clean && concurrently \"yarn:copy-templates\" \"yarn:build:frontend\" \"yarn:build:backend\"",
|
|
"dev:vite": "TZ=UTC NODE_ENV=development vite-node src/server-dev.ts",
|
|
"dev:backend": "TZ=UTC NODE_ENV=development tsc-watch --onEmit \"copyfiles -u 2 src/migrations/package.json dist/migrations\" --onSuccess \"node dist/server-dev.js\"",
|
|
"dev:frontend": "wait-on tcp:4242 && yarn --cwd ./frontend run dev",
|
|
"dev:frontend:cloud": "UNLEASH_BASE_PATH=/demo/ yarn run dev:frontend",
|
|
"dev": "concurrently \"yarn:dev:backend\" \"yarn:dev:frontend\"",
|
|
"prepare:backend": "concurrently \"yarn:copy-templates\" \"yarn:build:backend\"",
|
|
"start:dev": "yarn run clean && yarn dev:backend",
|
|
"db-migrate": "db-migrate --migrations-dir ./src/migrations",
|
|
"lint": "biome check .",
|
|
"lint:fix": "biome check . --write",
|
|
"local:package": "del-cli --force build && mkdir build && cp -r dist openapi-static CHANGELOG.md LICENSE README.md package.json build",
|
|
"build:watch": "tsc -w",
|
|
"prepare": "husky && yarn --cwd ./frontend install && if [ ! -d ./dist ]; then yarn build; fi",
|
|
"test": "PORT=4243 vitest run",
|
|
"test:unit": "PORT=4243 vitest --exclude src/test/e2e",
|
|
"test:docker": "./scripts/docker-postgres.sh",
|
|
"test:report": "PORT=4243 vitest --reporter=junit",
|
|
"test:docker:cleanup": "docker rm -f unleash-postgres",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "PORT=4243 vitest run --coverage --outputFile=\"coverage/report.json\"",
|
|
"test:updateSnapshot": "PORT=4243 vitest run -u",
|
|
"test:ui": "vitest --ui",
|
|
"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",
|
|
"heroku-postbuild": "cd frontend && yarn && yarn build",
|
|
"prepack": "./scripts/prepack.sh",
|
|
"schema:update": "node ./.husky/update-openapi-spec-list.js"
|
|
},
|
|
"dependencies": {
|
|
"@slack/web-api": "^7.9.1",
|
|
"@wesleytodd/openapi": "^1.1.0",
|
|
"ajv": "^8.17.1",
|
|
"ajv-formats": "^3.0.1",
|
|
"async": "^3.2.4",
|
|
"bcryptjs": "^2.4.3",
|
|
"compression": "^1.7.4",
|
|
"connect-session-knex": "^5.0.0",
|
|
"cookie-parser": "^1.4.6",
|
|
"cookie-session": "^2.0.0-rc.1",
|
|
"cors": "^2.8.5",
|
|
"date-fns": "^2.30.0",
|
|
"db-migrate": "0.11.14",
|
|
"db-migrate-pg": "1.5.2",
|
|
"db-migrate-shared": "1.2.0",
|
|
"deep-object-diff": "^1.1.9",
|
|
"deepmerge": "^4.3.1",
|
|
"errorhandler": "^1.5.1",
|
|
"express": "^4.21.2",
|
|
"express-rate-limit": "^7.3.1",
|
|
"express-session": "^1.17.3",
|
|
"fast-json-patch": "^3.1.0",
|
|
"hash-sum": "^2.0.0",
|
|
"helmet": "^8.0.0",
|
|
"http-errors": "^2.0.0",
|
|
"hyperloglog-lite": "^1.0.2",
|
|
"ip-address": "^10.0.1",
|
|
"joi": "^17.13.3",
|
|
"js-sha256": "^0.11.0",
|
|
"js-yaml": "^4.1.0",
|
|
"json-diff": "^1.0.6",
|
|
"json-schema-to-ts": "2.12.0",
|
|
"json2csv": "^5.0.7",
|
|
"knex": "^3.1.0",
|
|
"lodash.get": "^4.4.2",
|
|
"lodash.groupby": "^4.6.0",
|
|
"lodash.sortby": "^4.7.0",
|
|
"log4js": "^6.0.0",
|
|
"make-fetch-happen": "^13.0.1",
|
|
"memoizee": "^0.4.17",
|
|
"mime": "^4.0.4",
|
|
"murmurhash3js": "^3.0.1",
|
|
"mustache": "^4.1.0",
|
|
"nodemailer": "^6.9.9",
|
|
"normalize-url": "^6.1.0",
|
|
"openapi-types": "^12.1.3",
|
|
"owasp-password-strength-test": "^1.3.0",
|
|
"parse-database-url": "^0.3.0",
|
|
"pg": "^8.12.0",
|
|
"pg-connection-string": "^2.5.0",
|
|
"pkginfo": "^0.4.1",
|
|
"prom-client": "^14.0.0",
|
|
"sanitize-filename": "^1.6.3",
|
|
"semver": "^7.6.3",
|
|
"serve-favicon": "^2.5.0",
|
|
"slug": "^9.0.0",
|
|
"stoppable": "^1.1.0",
|
|
"tldts": "7.0.6",
|
|
"ts-toolbelt": "^9.6.0",
|
|
"type-is": "^1.6.18",
|
|
"ulidx": "^2.4.1",
|
|
"unleash-client": "^6.6.0",
|
|
"uuid": "^9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@apidevtools/swagger-parser": "10.1.1",
|
|
"@babel/core": "7.26.10",
|
|
"@biomejs/biome": "^1.9.4",
|
|
"@cyclonedx/yarn-plugin-cyclonedx": "^2.0.0",
|
|
"@fast-check/vitest": "^0.2.1",
|
|
"@swc/core": "1.11.29",
|
|
"@types/bcryptjs": "2.4.6",
|
|
"@types/cors": "2.8.17",
|
|
"@types/express": "4.17.21",
|
|
"@types/express-session": "1.18.1",
|
|
"@types/faker": "5.5.9",
|
|
"@types/hash-sum": "^1.0.0",
|
|
"@types/js-yaml": "4.0.9",
|
|
"@types/lodash.groupby": "4.6.9",
|
|
"@types/lodash.isequal": "^4.5.8",
|
|
"@types/make-fetch-happen": "10.0.4",
|
|
"@types/memoizee": "0.4.11",
|
|
"@types/mime": "4.0.0",
|
|
"@types/murmurhash3js": "^3.0.7",
|
|
"@types/mustache": "^4.2.5",
|
|
"@types/node": "22.15.18",
|
|
"@types/nodemailer": "6.4.17",
|
|
"@types/owasp-password-strength-test": "1.3.2",
|
|
"@types/pg": "8.11.11",
|
|
"@types/semver": "7.5.8",
|
|
"@types/slug": "^5.0.8",
|
|
"@types/stoppable": "1.1.3",
|
|
"@types/supertest": "6.0.2",
|
|
"@types/type-is": "1.6.7",
|
|
"@types/uuid": "9.0.8",
|
|
"@vitest/coverage-v8": "^3.1.3",
|
|
"@vitest/ui": "^3.1.3",
|
|
"concurrently": "^9.0.0",
|
|
"copyfiles": "2.4.1",
|
|
"coveralls": "^3.1.1",
|
|
"del-cli": "5.1.0",
|
|
"faker": "5.5.3",
|
|
"fast-check": "3.23.2",
|
|
"fetch-mock": "^12.0.0",
|
|
"husky": "^9.0.11",
|
|
"lint-staged": "15.4.3",
|
|
"nock": "13.5.6",
|
|
"openapi-enforcer": "1.23.0",
|
|
"proxyquire": "2.1.3",
|
|
"source-map-support": "0.5.21",
|
|
"superagent": "10.2.0",
|
|
"supertest": "7.0.0",
|
|
"ts-node": "10.9.2",
|
|
"tsc-watch": "6.2.1",
|
|
"typescript": "5.8.3",
|
|
"vite-node": "^3.1.3",
|
|
"vitest": "^3.1.3",
|
|
"wait-on": "^8.0.0"
|
|
},
|
|
"resolutions": {
|
|
"async": "^3.2.4",
|
|
"es5-ext": "0.10.64",
|
|
"node-forge": "^1.0.0",
|
|
"set-value": "^4.0.1",
|
|
"ansi-regex": "^5.0.1",
|
|
"ssh2": "^1.4.0",
|
|
"json-schema": "^0.4.0",
|
|
"ip": "^2.0.1",
|
|
"tar": "7.4.3",
|
|
"semver": "^7.6.2",
|
|
"tough-cookie": "4.1.4",
|
|
"@wesleytodd/openapi/path-to-regexp": "6.3.0",
|
|
"router/path-to-regexp": "1.9.0",
|
|
"prompt": "link:./node_modules/.cache/null"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": [
|
|
"yarn biome check --write --no-errors-on-unmatched"
|
|
],
|
|
"*.{jsx,tsx}": [
|
|
"yarn biome check --write --no-errors-on-unmatched"
|
|
],
|
|
"*.json": [
|
|
"yarn biome format --write --no-errors-on-unmatched"
|
|
]
|
|
},
|
|
"packageManager": "yarn@4.9.1"
|
|
}
|