Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trivago/prettier-plugin-sort-imports

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trivago/prettier-plugin-sort-imports - npm Package Compare versions

Comparing version 5.0.1 to 5.1.0

lib/src/utils/create-svelte-parsers.js

5

CHANGELOG.md

@@ -5,4 +5,7 @@ ## Changelog

---
### v5.1.0
- Fix svelte packages being required all the time [#327](https://github.com/trivago/prettier-plugin-sort-imports/pull/327) by [@byara](https://github.com/byara)
### v5.0.1
- Clean up unwanted packages and unpin dependencies [#322](https://github.com/trivago/prettier-plugin-sort-imports/pull/322)
- Clean up unwanted packages and unpin dependencies [#322](https://github.com/trivago/prettier-plugin-sort-imports/pull/322) by [@byara](https://github.com/byara)

@@ -9,0 +12,0 @@ ### v5.0.0

7

lib/src/index.js

@@ -21,3 +21,4 @@ "use strict";

var vue_preprocessor_1 = require("./preprocessors/vue-preprocessor");
var svelteParsers = require('prettier-plugin-svelte').parsers;
var create_svelte_parsers_1 = require("./utils/create-svelte-parsers");
var svelteParsers = (0, create_svelte_parsers_1.createSvelteParsers)();
var options = {

@@ -75,3 +76,3 @@ importOrder: {

description: 'Provide a keyword for import attributes',
}
},
};

@@ -84,5 +85,5 @@ module.exports = {

vue: __assign(__assign({}, html_1.parsers.vue), { preprocess: vue_preprocessor_1.vuePreprocessor }),
svelte: __assign(__assign({}, svelteParsers.svelte), { preprocess: svelte_preprocessor_1.sveltePreprocessor }),
svelte: __assign(__assign({}, svelteParsers.parsers.svelte), { preprocess: svelte_preprocessor_1.sveltePreprocessor }),
},
options: options,
};
{
"name": "@trivago/prettier-plugin-sort-imports",
"version": "5.0.1",
"version": "5.1.0",
"description": "A prettier plugins to sort imports in provided RegEx order",

@@ -5,0 +5,0 @@ "main": "lib/src/index.js",

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