New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@amedia/prettier-config

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amedia/prettier-config - npm Package Compare versions

Comparing version 0.0.0-SNAPSHOT-20240830181555 to 0.0.0-flatconf-20241107121126

configs/base.js

46

CHANGELOG.md
# @amedia/prettier-config
## 0.0.0-SNAPSHOT-20240830181555
## 0.0.0-flatconf-20241107121126
### Major Changes
- b75c21c: configuration overhaul
this migrates all configuration to ESM where applicable, this causes
breaking changes for configuration files.
there are no cli changes.
E.g. new eslint configuration file is:
eslint.config.js
And looks like:
```
import eslintConfig from '@amedia/eslint-config';
export default eslintConfig();
```
An object can be passed to `eslintConfig()` to enable or disable project
configuration.
- cc0bb37: break out eslint-config-prettier to its own package
- c758e8f: move to esm configuration for prettier
Prettier 3.x has support for ESM configuration, and at Amedia we have
standardised on using ESM. This change aligns Prettier with our
standards.
Clients that reference `prettier.config.cjs` will require updates, and
situations where ESM wil fail, need to make adjustments.
Generally this should be a transparent change, but marked as major as it
does remove CJS files and resolution.
### Patch Changes
- 2722a78: bump prettier-plugin-svelte to 3.2.6
- eee534f: add recommended eslint config for eslintrc
- Updated dependencies [b75c21c]
- Updated dependencies [cc0bb37]
- Updated dependencies [eee534f]
- Updated dependencies [c758e8f]
- @amedia/prettier-config-base@0.0.0-flatconf-20241107121126

@@ -9,0 +51,0 @@ ## 1.0.6

19

package.json
{
"name": "@amedia/prettier-config",
"version": "0.0.0-SNAPSHOT-20240830181555",
"version": "0.0.0-flatconf-20241107121126",
"description": "Prettier config for Amedia",
"type": "commonjs",
"main": "./index.cjs",
"type": "module",
"module": "./index.js",
"exports": {
".": {
"import": "./index.js"
}
},
"author": "",
"license": "ISC",
"dependencies": {
"@amedia/kragl-utils": "1.2.1",
"@amedia/prettier-config-base": "1.0.2",
"prettier-plugin-svelte": "3.2.6"
"@amedia/prettier-config-base": "0.0.0-flatconf-20241107121126",
"prettier-plugin-svelte": "3.2.7"
},
"devDependencies": {
"prettier": "3.1.0"
},
"peerDependencies": {

@@ -18,0 +19,0 @@ "prettier": "3.x"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc