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

@arnaud-barre/prettier-plugin-sort-imports

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arnaud-barre/prettier-plugin-sort-imports - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

index.js

@@ -74,3 +74,3 @@ // src/index.ts

const relative = node.source.value.startsWith(".");
if (!relative && builtinModules.includes(node.source.value)) {
if (!relative && builtinModules.includes(node.source.value) && node.source.value !== "ws") {
node.source.value = `node:${node.source.value}`;

@@ -77,0 +77,0 @@ node.source.raw = `"${node.source.value}"`;

@@ -5,3 +5,3 @@ {

"type": "module",
"version": "0.1.2",
"version": "0.1.3",
"author": "Arnaud Barré (https://github.com/ArnaudBarre)",

@@ -12,4 +12,4 @@ "license": "MIT",

"peerDependencies": {
"prettier": "^3.0.1"
"prettier": "^3"
}
}
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