1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-28 19:06:12 +01:00
unleash.unleash/package.json
renovate[bot] 9238919ae3
chore(deps): update swc monorepo (#6194)
[![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.102` ->
`1.3.107`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.102/1.3.107)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.3.107?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.3.107?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.102/1.3.107?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.102/1.3.107?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@swc/jest](https://togithub.com/swc-project/pkgs/tree/main/packages/jest)
([source](https://togithub.com/swc-project/pkgs)) | [`0.2.29` ->
`0.2.34`](https://renovatebot.com/diffs/npm/@swc%2fjest/0.2.29/0.2.34) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fjest/0.2.34?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fjest/0.2.34?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fjest/0.2.29/0.2.34?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fjest/0.2.29/0.2.34?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

###
[`v1.3.107`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13107---2024-01-28)

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

##### Bug Fixes

- **(es/codegen)** Do not produce octal literals
([#&#8203;8565](https://togithub.com/swc-project/swc/issues/8565))
([07634a0](07634a05ba))

- **(es/decorator)** Skip TypeScript class method/prop declarations
([#&#8203;8555](https://togithub.com/swc-project/swc/issues/8555))
([6a8dd8c](6a8dd8cbb3))

- **(es/decorator)** Preserve state while traversing the `module_items`
scope ([#&#8203;8556](https://togithub.com/swc-project/swc/issues/8556))
([f416aff](f416aff7d7))

- **(es/loader)** Make `tsc` resolver work for bare specifier
([#&#8203;8550](https://togithub.com/swc-project/swc/issues/8550))
([d6a4615](d6a4615898))

###
[`v1.3.106`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13106---2024-01-25)

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

##### Bug Fixes

- **(binding/types)** Add `bugfixes` field to EnvConfig
([#&#8203;8538](https://togithub.com/swc-project/swc/issues/8538))
([49ebdf9](49ebdf9fb7))

- **(common)** Fix source map generation with `inputSourceMap`
([#&#8203;8546](https://togithub.com/swc-project/swc/issues/8546))
([043ee85](043ee85d08))

- **(es/ast)** Add `definite` and `is_override` to `AutoAccessor`
([#&#8203;8436](https://togithub.com/swc-project/swc/issues/8436))
([572bcae](572bcaefc1))

- **(es/ast)** Fix definition of `SetterProp`
([#&#8203;8314](https://togithub.com/swc-project/swc/issues/8314))
([bc38ac9](bc38ac906c))

- **(es/codegen)** Set `sourceRoot` of sourcemaps
([#&#8203;6086](https://togithub.com/swc-project/swc/issues/6086))
([ae78669](ae786692a0))

- **(es/compat)** Support vars from `reserved_word` pass
([#&#8203;8543](https://togithub.com/swc-project/swc/issues/8543))
([fc929e9](fc929e962b))

- **(es/loader)** Don't use browser versions for `jsc.paths`
([#&#8203;8548](https://togithub.com/swc-project/swc/issues/8548))
([fab27da](fab27dabed))

- **(es/minifier)** Fix a bug related to inliner and the variable
scoping
([#&#8203;8542](https://togithub.com/swc-project/swc/issues/8542))
([aa70131](aa70131c55))

- **(es/module)** Fix resolving of dependencies
([#&#8203;8533](https://togithub.com/swc-project/swc/issues/8533))
([71fb5c1](71fb5c12a7))

- **(es/module)** Fix handling of `*` in `jsc.paths`
([#&#8203;8535](https://togithub.com/swc-project/swc/issues/8535))
([2d8bd9e](2d8bd9ed89))

- **(es/quote)** Add support for import phase to quote macro
([#&#8203;8536](https://togithub.com/swc-project/swc/issues/8536))
([71930ff](71930ffb56))

##### Features

- **(css/parser)** Implement error reporting for `@value` of CSS Modules
([#&#8203;8547](https://togithub.com/swc-project/swc/issues/8547))
([00619b1](00619b1708))

- **(es/ast)** Support import phase
([#&#8203;8279](https://togithub.com/swc-project/swc/issues/8279))
([72048ae](72048ae1ce))

- **(swc_core)** Expose `preset_env_base`
([#&#8203;8537](https://togithub.com/swc-project/swc/issues/8537))
([793f265](793f2651a8))

##### Miscellaneous Tasks

- **(common)** Update `sourcemap`
([#&#8203;8544](https://togithub.com/swc-project/swc/issues/8544))
([4630426](4630426d6a))

###
[`v1.3.105`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13105---2024-01-21)

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

##### Bug Fixes

- **(common)** Remove `<` and `>` from `Display` impl of
`FileName::Custom`
([#&#8203;8530](https://togithub.com/swc-project/swc/issues/8530))
([014a6cd](014a6cda82))

- **(es/codegen)** Fix codegen of `\\0`
([#&#8203;8433](https://togithub.com/swc-project/swc/issues/8433))
([9f1ce3a](9f1ce3acd6))

- **(es/minifier)** Fix a bug in tpl string <-> string logic
([#&#8203;8510](https://togithub.com/swc-project/swc/issues/8510))
([4946a11](4946a11137))

- **(es/typescript)** Fix panic on invalid jsx pragma
([#&#8203;8513](https://togithub.com/swc-project/swc/issues/8513))
([f40f59b](f40f59bd70))

##### Miscellaneous Tasks

- **(preset-env)** Update `browserslist-rs`
([#&#8203;8524](https://togithub.com/swc-project/swc/issues/8524))
([5e40dc7](5e40dc7d8c))

##### Testing

- **(es/codegen)** Add tests for `@ctrl/tinycolor`
([#&#8203;8518](https://togithub.com/swc-project/swc/issues/8518))
([1c4eb1f](1c4eb1f54f))

- **(es/codegen)** Add a JS test for ascii-only mode
([#&#8203;8519](https://togithub.com/swc-project/swc/issues/8519))
([974c6a0](974c6a0036))

- **(es/minifier)** Add a test for a fixed issue
([#&#8203;8520](https://togithub.com/swc-project/swc/issues/8520))
([8fac2bb](8fac2bb03c))

- **(es/module)** Add a test for a fixed issue
([#&#8203;8521](https://togithub.com/swc-project/swc/issues/8521))
([4b4a0a2](4b4a0a244d))

###
[`v1.3.104`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13104---2024-01-17)

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

##### Bug Fixes

- **(es)** Fix plugin template & restore `test!` as `test_inline!`
([#&#8203;8508](https://togithub.com/swc-project/swc/issues/8508))
([10449e0](10449e08d9))

- **(es/systemjs)** Handle top level this
([#&#8203;8506](https://togithub.com/swc-project/swc/issues/8506))
([0f94c8c](0f94c8cf05))

- **(plugin)** Set `swc_common::errors::HANDLER` while invoking plugins
([#&#8203;8511](https://togithub.com/swc-project/swc/issues/8511))
([ba753f1](ba753f1288))

###
[`v1.3.103`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13103---2024-01-15)

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

##### Bug Fixes

- **(binding/types)** Add type for `decoratorVersion`
([#&#8203;8468](https://togithub.com/swc-project/swc/issues/8468))
([79438e6](79438e6dc2))

- **(es/codegen)** Emit abstract keyword
([#&#8203;8479](https://togithub.com/swc-project/swc/issues/8479))
([a12eaae](a12eaae0e5))

- **(es/codegen)** Emit declare keyword for class properties
([#&#8203;8478](https://togithub.com/swc-project/swc/issues/8478))
([2076ef8](2076ef8f35))

- **(es/codegen)** Emit implements clause with commas
([#&#8203;8477](https://togithub.com/swc-project/swc/issues/8477))
([d98a282](d98a28290b))

- **(es/codegen)** Emit `?` for an optional computed property
([#&#8203;8481](https://togithub.com/swc-project/swc/issues/8481))
([e0bdc0f](e0bdc0f7c2))

- **(es/codegen)** Fix codegen of a property key in ascii-only mode
([#&#8203;8493](https://togithub.com/swc-project/swc/issues/8493))
([8d9bf4c](8d9bf4cfaa))

- **(es/compat)** Set inserted var inside export class in destructing
([#&#8203;8470](https://togithub.com/swc-project/swc/issues/8470))
([4416077](4416077f4a))

- **(es/compat)** Correctly handle `this` in arrow function parameters
([#&#8203;8489](https://togithub.com/swc-project/swc/issues/8489))
([52a8f05](52a8f05fe4))

- **(es/minifier)** Correctly escape more characters
([#&#8203;8490](https://togithub.com/swc-project/swc/issues/8490))
([f7c4934](f7c4934e59))

- **(es/module)** Fix resolving of `.js` files
([#&#8203;8480](https://togithub.com/swc-project/swc/issues/8480))
([b70e96f](b70e96ffe9))

- **(es/parser)** Correctly parse the keyword
([#&#8203;8483](https://togithub.com/swc-project/swc/issues/8483))
([740e6f3](740e6f390a))

- **(es/resolver)** Resolve top-level `undefined`, `NaN`, and `Infinity`
correctly
([#&#8203;8471](https://togithub.com/swc-project/swc/issues/8471))
([82bd807](82bd8070cb))

##### Documentation

- Replace `string_cache` with `hstr` in `ARCHITECTURE.md`
([#&#8203;8487](https://togithub.com/swc-project/swc/issues/8487))
([abd7c51](abd7c51583))

##### Features

- **(html/parser)** Allow self-closing `/>` on non-void HTML elements
via a flag
([#&#8203;8460](https://togithub.com/swc-project/swc/issues/8460))
([566063d](566063dca5))

##### Refactor

- **(css/parser)** Remove value normalization
([#&#8203;8434](https://togithub.com/swc-project/swc/issues/8434))
([85be8a4](85be8a4de1))

##### Testing

- **(es/minifier)** Enable non esm mode for tests
([#&#8203;8472](https://togithub.com/swc-project/swc/issues/8472))
([1120336](1120336f23))

- **(es/minifier)** Enable script mode for `terser_exec` and `mangle`
([#&#8203;8474](https://togithub.com/swc-project/swc/issues/8474))
([b676e75](b676e75cdd))

</details>

<details>
<summary>swc-project/pkgs (@&#8203;swc/jest)</summary>

###
[`v0.2.32`](c7bdf28503...ed4e70a901)

[Compare
Source](c7bdf28503...ed4e70a901)

###
[`v0.2.31`](cb47d616ec...c7bdf28503)

[Compare
Source](cb47d616ec...c7bdf28503)

###
[`v0.2.30`](163127e4b6...cb47d616ec)

[Compare
Source](163127e4b6...cb47d616ec)

</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 becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-09 21:43:41 +00:00

222 lines
8.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "unleash-server",
"description": "Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.",
"version": "5.9.0+main",
"keywords": ["unleash", "feature toggle", "feature", "toggle"],
"files": [
"dist",
"docs",
"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": ">=18 <21"
},
"license": "Apache-2.0",
"main": "./dist/lib/server-impl.js",
"scripts": {
"start": "TZ=UTC node ./dist/server.js",
"copy-templates": "copyfiles -u 1 src/mailtemplates/**/*.mustache dist/",
"build:backend": "tsc --pretty --strictNullChecks false",
"build:frontend": "yarn --cwd ./frontend run build",
"build:frontend:if-needed": "if [ ! -d ./frontend/build ]; then yarn install --cwd ./frontend --frozen-lockfile --ignore-scripts && yarn build:frontend; fi",
"build": "concurrently \"yarn:copy-templates\" \"yarn:build:frontend\" \"yarn:build:backend\"",
"dev:backend": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
"dev:frontend": "wait-on tcp:4242 && yarn --cwd ./frontend run dev",
"dev": "concurrently \"yarn:dev:backend\" \"yarn:dev:frontend\"",
"prepare": "node scripts/husky-install && yarn --cwd ./frontend install && if [ ! -d ./dist ]; then yarn build; fi",
"prepare:backend": "concurrently \"yarn:copy-templates\" \"yarn:build:backend\"",
"prestart:dev": "yarn run clean",
"start:dev": "TZ=UTC NODE_ENV=development tsc-watch --strictNullChecks false --onSuccess \"node dist/server-dev.js\"",
"db-migrate": "db-migrate --migrations-dir ./src/migrations",
"lint": "biome check .",
"lint:fix": "biome check . --apply",
"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 --strictNullChecks false",
"prebuild": "yarn run clean",
"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:report": "NODE_ENV=test PORT=4243 jest --reporters=\"default\" --reporters=\"jest-junit\"",
"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 --compilerOptions '{\"strictNullChecks\": false}' 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-junit": {
"suiteName": "Unleash Unit Tests",
"outputDirectory": "./reports",
"outputName": "jest-junit.xml",
"uniqueOutputName": "false",
"classNameTemplate": "{classname}-{title}",
"titleTemplate": "{classname}-{title}",
"ancestorSeparator": " ",
"usePathForSuiteName": "true"
},
"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": {
"@slack/web-api": "^6.10.0",
"@wesleytodd/openapi": "^0.3.0",
"ajv": "^8.12.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.6",
"cookie-session": "^2.0.0-rc.1",
"cors": "^2.8.5",
"date-fns": "^2.25.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.18.2",
"express-rate-limit": "^7.1.2",
"express-session": "^1.17.3",
"fast-json-patch": "^3.1.0",
"hash-sum": "^2.0.0",
"helmet": "^6.0.0",
"http-errors": "^2.0.0",
"ip": "^1.1.8",
"joi": "^17.3.0",
"js-sha256": "^0.10.0",
"js-yaml": "^4.1.0",
"json-schema-to-ts": "2.12.0",
"json2csv": "^5.0.7",
"knex": "^2.5.1",
"lodash.get": "^4.4.2",
"lodash.groupby": "^4.6.0",
"lodash.sortby": "^4.7.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",
"sanitize-filename": "^1.6.3",
"semver": "^7.5.4",
"serve-favicon": "^2.5.0",
"stoppable": "^1.1.0",
"ts-toolbelt": "^9.6.0",
"type-is": "^1.6.18",
"unleash-client": "5.5.0-beta.1",
"uuid": "^9.0.0"
},
"devDependencies": {
"@apidevtools/swagger-parser": "10.1.0",
"@babel/core": "7.23.9",
"@biomejs/biome": "1.5.1",
"@swc/core": "1.3.107",
"@swc/jest": "0.2.34",
"@types/bcryptjs": "2.4.6",
"@types/cors": "2.8.17",
"@types/express": "4.17.21",
"@types/express-session": "1.17.10",
"@types/faker": "5.5.9",
"@types/hash-sum": "^1.0.0",
"@types/jest": "29.5.12",
"@types/js-yaml": "4.0.9",
"@types/lodash.groupby": "4.6.9",
"@types/make-fetch-happen": "10.0.4",
"@types/memoizee": "0.4.11",
"@types/mime": "3.0.4",
"@types/node": "18.19.14",
"@types/nodemailer": "6.4.14",
"@types/owasp-password-strength-test": "1.3.2",
"@types/pg": "8.10.9",
"@types/semver": "7.5.6",
"@types/stoppable": "1.1.3",
"@types/supertest": "6.0.2",
"@types/type-is": "1.6.6",
"@types/uuid": "9.0.8",
"concurrently": "^8.0.1",
"copyfiles": "2.4.1",
"coveralls": "3.1.1",
"del-cli": "5.1.0",
"faker": "5.5.3",
"fast-check": "3.15.1",
"fetch-mock": "9.11.0",
"husky": "8.0.3",
"jest": "29.7.0",
"jest-junit": "^16.0.0",
"lint-staged": "13.2.3",
"nock": "13.4.0",
"openapi-enforcer": "1.22.3",
"proxyquire": "2.1.3",
"source-map-support": "0.5.21",
"superagent": "8.1.2",
"supertest": "6.3.4",
"ts-node": "10.9.2",
"tsc-watch": "6.0.4",
"typescript": "4.8.4",
"wait-on": "^7.2.0"
},
"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",
"semver": "^7.5.3",
"tough-cookie": "4.1.3"
},
"lint-staged": {
"*.{js,ts}": ["biome check --apply"],
"*.json": ["biome format --write --no-errors-on-unmatched"]
}
}