Files
compiler-explorer/package.json
T
renovate[bot] fc8b9e0ed3 chore(deps): update dependency prettier to ^3.1.1 (#5870)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [prettier](https://prettier.io)
([source](https://togithub.com/prettier/prettier)) | [`^3.1.0` ->
`^3.1.1`](https://renovatebot.com/diffs/npm/prettier/3.1.0/3.1.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.1.0/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.1.0/3.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prettier/prettier (prettier)</summary>

###
[`v3.1.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#311)

[Compare
Source](https://togithub.com/prettier/prettier/compare/3.1.0...3.1.1)

[diff](https://togithub.com/prettier/prettier/compare/3.1.0...3.1.1)

##### Fix config file search
([#&#8203;15363](https://togithub.com/prettier/prettier/pull/15363) by
[@&#8203;fisker](https://togithub.com/fisker))

Previously, we start search for config files from the filePath as a
directory, if it happened to be a directory and contains config file, it
will be used by mistake.

```text
├─ .prettierrc
└─ test.js         (A directory)
  └─ .prettierrc
```

```js
// Prettier 3.1.0
await prettier.resolveConfigFile(new URL("./test.js", import.meta.url));
// <CWD>/test.js/.prettierrc

// Prettier 3.1.1
await prettier.resolveConfigFile(new URL("./test.js", import.meta.url));
// <CWD>/.prettierrc
```

##### Skip explicitly passed symbolic links with
`--no-error-on-unmatched-pattern`
([#&#8203;15533](https://togithub.com/prettier/prettier/pull/15533) by
[@&#8203;sanmai-NL](https://togithub.com/sanmai-NL))

Since Prettier v3, we stopped following symbolic links, however in some
use cases, the symbolic link patterns can't be filtered out, and there
is no way to prevent Prettier from throwing errors.

In Prettier 3.1.1, you can use `--no-error-on-unmatched-pattern` to
simply skip symbolic links.

##### Consistently use tabs in ternaries when `useTabs` is `true`
([#&#8203;15662](https://togithub.com/prettier/prettier/pull/15662) by
[@&#8203;auvred](https://togithub.com/auvred))

<!-- prettier-ignore -->

```jsx
// Input
aaaaaaaaaaaaaaa
	? bbbbbbbbbbbbbbbbbb
	: ccccccccccccccc
	  ? ddddddddddddddd
	  : eeeeeeeeeeeeeee
	    ? fffffffffffffff
	    : gggggggggggggggg;

// Prettier 3.1.0
aaaaaaaaaaaaaaa
	? bbbbbbbbbbbbbbbbbb
	: ccccccccccccccc
	  ? ddddddddddddddd
	  : eeeeeeeeeeeeeee
	    ? fffffffffffffff
	    : gggggggggggggggg;

// Prettier 3.1.1
aaaaaaaaaaaaaaa
	? bbbbbbbbbbbbbbbbbb
	: ccccccccccccccc
		? ddddddddddddddd
		: eeeeeeeeeeeeeee
			? fffffffffffffff
			: gggggggggggggggg;
```

##### Improve config file search
([#&#8203;15663](https://togithub.com/prettier/prettier/pull/15663) by
[@&#8203;fisker](https://togithub.com/fisker))

The Prettier config file search performance has been improved by more
effective cache strategy.

##### Fix unstable and ugly formatting for comments in destructuring
patterns
([#&#8203;15708](https://togithub.com/prettier/prettier/pull/15708) by
[@&#8203;sosukesuzuki](https://togithub.com/sosukesuzuki))

<!-- prettier-ignore -->

```tsx
// Input
const {
  foo,
  // bar
  // baz
}: Foo = expr;

// Prettier 3.1.0
const {
  foo1,
} // bar
// baz
: Foo = expr;

// Prettier 3.1.0 second output
const {
  foo1, // bar
} // baz
: Foo = expr;

// Prettier 3.1.1
const {
  foo1,
  // bar
  // baz
}: Foo = expr;
```

##### Support "Import Attributes"
([#&#8203;15718](https://togithub.com/prettier/prettier/pull/15718) by
[@&#8203;fisker](https://togithub.com/fisker))

[TypeScript
5.3](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/#import-attributes)
supports the latest updates to the [import
attributes](https://togithub.com/tc39/proposal-import-attributes)
proposal.

```tsx
import something from "./something.json" with { type: "json" };
```

##### Fix false claim in docs that cursorOffset is incompatible with
rangeStart/rangeEnd
([#&#8203;15750](https://togithub.com/prettier/prettier/pull/15750) by
[@&#8203;ExplodingCabbage](https://togithub.com/ExplodingCabbage))

The cursorOffset option has in fact been compatible with
rangeStart/rangeEnd for over 5 years, thanks to work by
[@&#8203;ds300](https://togithub.com/ds300). However, Prettier's
documentation (including the CLI `--help` text) continued to claim
otherwise, falsely. The documentation is now fixed.

##### Keep curly braces and `from` keyword in empty `import` statements
([#&#8203;15756](https://togithub.com/prettier/prettier/pull/15756) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```js
// Input
import { } from 'foo';
import { /* comment */ } from 'bar';

// Prettier 3.1.0
import {} from "foo";
import /* comment */ "bar";

// Prettier 3.1.1
import {} from "foo";
import {} from /* comment */ "bar";
```

##### Keep empty import attributes and assertions
([#&#8203;15757](https://togithub.com/prettier/prettier/pull/15757) by
[@&#8203;fisker](https://togithub.com/fisker))

<!-- prettier-ignore -->

```js
// Input
import foo from "foo" with {};
import bar from "bar" assert {};

// Prettier 3.1.0
import foo from "foo";
import bar from "bar";

// Prettier 3.1.1
import foo from "foo" with {};
import bar from "bar" assert {};
```

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 8pm on monday" in timezone
America/Chicago, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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://developer.mend.io/github/compiler-explorer/compiler-explorer).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-11 19:57:12 -06:00

191 lines
6.5 KiB
JSON

{
"name": "compiler-explorer",
"description": "Interactively investigate compiler output",
"type": "module",
"private": true,
"author": {
"name": "Matt Godbolt",
"email": "matt@godbolt.org",
"url": "https://xania.org"
},
"repository": {
"type": "git",
"url": "compiler-explorer/compiler-explorer"
},
"version": "0.0.3",
"engines": {
"node": ">=16"
},
"main": "./app.ts",
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.465.0",
"@aws-sdk/client-ec2": "^3.465.0",
"@aws-sdk/client-s3": "^3.465.0",
"@aws-sdk/client-ssm": "^3.465.0",
"@aws-sdk/credential-providers": "^3.465.0",
"@flatten-js/interval-tree": "^1.1.2",
"@fortawesome/fontawesome-free": "^6.5.1",
"@orchidjs/sifter": "^1.0.3",
"@sentry/browser": "^7.28.1",
"@sentry/node": "^7.28.1",
"@types/morgan": "^1.9.9",
"big-integer": "^1.6.52",
"body-parser": "^1.20.2",
"bootstrap": "^4.6.2",
"buffer": "^6.0.3",
"chart.js": "^4.4.1",
"clipboard": "^2.0.11",
"compression": "^1.7.4",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-prettier": "^5.0.1",
"events": "^3.3.0",
"express": "^4.18.2",
"file-saver": "^2.0.5",
"fs-extra": "^11.2.0",
"golden-layout": "^1.5.9",
"http-proxy": "^1.18.1",
"husky": "^8.0.3",
"jquery": "^3.7.1",
"js-cookie": "^3.0.5",
"jszip": "^3.10.1",
"lodash.clonedeep": "^4.5.0",
"lru-cache": "^10.1.0",
"lz-string": "^1.4.4",
"monaco-editor": "^0.43.0",
"monaco-vim": "^0.4.0",
"morgan": "^1.10.0",
"node-targz": "^0.2.0",
"nopt": "^7.0.0",
"p-queue": "^7.0.0",
"path-browserify": "^1.0.1",
"popper.js": "^1.16.1",
"profanities": "^3.0.1",
"prom-client": "^15.0.0",
"pug": "^3.0.2",
"request": "^2.88.2",
"response-time": "^2.3.2",
"sanitize-filename": "^1.6.3",
"scroll-into-view-if-needed": "^3.0.6",
"semver": "^7.3.5",
"serve-favicon": "^2.4.5",
"shell-quote": "^1.7.3",
"systemd-socket": "0.0.0",
"tar-stream": "^3.0.0",
"temp": "^0.9.4",
"tom-select": "^2.3.1",
"tree-kill": "^1.2.2",
"triple-beam": "^1.3.0",
"ts-node": "^10.4.0",
"underscore": "^1.13.2",
"url-join": "^5.0.0",
"whatwg-fetch": "^3.6.2",
"which": "^4.0.0",
"winston": "^3.3.3",
"winston-loki": "^6.0.3",
"winston-papertrail": "^1.0.5",
"winston-transport": "^4.4.1",
"yaml": "^2.2.2"
},
"devDependencies": {
"@babel/preset-typescript": "^7.23.3",
"@smithy/util-stream": "^2.0.23",
"@types/body-parser": "^1.19.5",
"@types/bootstrap": "^5.2.10",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/express": "^4.17.21",
"@types/file-saver": "^2.0.7",
"@types/fs-extra": "^11.0.4",
"@types/http-proxy": "^1.17.14",
"@types/jquery": "^3.5.29",
"@types/js-cookie": "^3.0.6",
"@types/mocha": "^10.0.6",
"@types/node-targz": "^0.2.4",
"@types/nopt": "^3.0.32",
"@types/request": "^2.48.12",
"@types/shell-quote": "^1.7.5",
"@types/temp": "^0.9.4",
"@types/underscore": "^1.11.15",
"@types/webpack-env": "^1.18.4",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"approvals": "^6.2.4",
"aws-sdk-client-mock": "^3.0.0",
"c8": "^8.0.1",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"chai-http": "^4.4.0",
"cheerio": "^1.0.0-rc.12",
"codecov": "^3.8.3",
"css-loader": "^6.8.1",
"css-minimizer-webpack-plugin": "^5.0.1",
"cypress": "^13.6.1",
"deep-equal-in-any-order": "^2.0.6",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-formatter-github": "^1.1.4",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.9.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-requirejs": "^4.0.1",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-unicorn": "^49.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"file-loader": "^6.2.0",
"lint-staged": "^15.2.0",
"mini-css-extract-plugin": "^2.7.6",
"mocha": "^10.2.0",
"mock-fs": "^5.2.0",
"monaco-editor-webpack-plugin": "^7.1.0",
"nock": "^13.4.0",
"prettier": "^3.1.1",
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
"sinon": "^17.0.0",
"source-map-loader": "^4.0.1",
"supervisor": "^0.12.0",
"terser-webpack-plugin": "^5.3.9",
"ts-loader": "^9.5.0",
"typescript": "^4.9.5",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^6.1.1",
"webpack-manifest-plugin": "^5.0.0"
},
"mocha": {
"require": [
"test/_setup.js"
]
},
"scripts": {
"ci-lint": "eslint --format github .",
"ci-test": "c8 npm run test",
"cypress": "cypress run",
"lint": "eslint --max-warnings=0 . --fix",
"lint-check": "eslint --max-warnings=0 .",
"lint-files": "eslint --max-warnings=0",
"test": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./node_modules/mocha/bin/mocha.js -b 'test/**/*.ts' 'test/**/*.js'",
"test-min": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./node_modules/mocha/bin/mocha.js -b --config .mocharc-min.yml",
"fix": "npm run lint && npm run format && npm run ts-check",
"check": "npm run ts-check && npm run lint-check && npm run test-min -- --reporter min",
"dev": "cross-env NODE_ENV=DEV node --no-warnings=ExperimentalWarning --loader ts-node/esm app.ts",
"debugger": "cross-env NODE_ENV=DEV node --loader ts-node/esm --inspect-brk app.ts",
"debug": "cross-env NODE_ENV=DEV node --no-warnings=ExperimentalWarning --loader ts-node/esm app.ts --debug",
"start": "npm run webpack && cross-env NODE_ENV=LOCAL node --no-warnings=ExperimentalWarning --loader ts-node/esm app.ts",
"codecov": "codecov --disable=gcov",
"sentry": "npx -p @sentry/cli sentry-cli",
"update-browserslist": "npx browserslist@latest -- --update-db",
"prepare": "husky install",
"format": "prettier --write .",
"format-files": "prettier --write --ignore-unknown",
"ts-compile": "tsc",
"ts-check": "tsc -p ./tsconfig.backend.json --noEmit && tsc -p ./tsconfig.frontend.json --noEmit",
"webpack": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./node_modules/webpack-cli/bin/cli.js --node-env=production --config webpack.config.esm.ts"
},
"license": "BSD-2-Clause"
}