import-sort icon indicating copy to clipboard operation
import-sort copied to clipboard

Sort ES2015 (aka ES6) imports. Both JavaScript and TypeScript are supported.

Results 69 import-sort issues
Sort by recently updated
recently updated
newest added

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.12.1 to 3.13.1. Changelog *Sourced from [js-yaml's changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md).* > 3.13.1 / 2019-04-05 > ------------------- > > - Fix possible code execution in (already unsafe) `.load()`, [#480](https://github-redirect.dependabot.com/nodeca/js-yaml/issues/480). >...

dependencies

Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12. Commits - [`4235459`](https://github.com/npm/fstream/commit/42354590e23bb514eb5c869eea64406be2947c6c) 1.0.12 - [`6a77d2f`](https://github.com/npm/fstream/commit/6a77d2fa6e1462693cf8e46f930da96ec1b0bb22) Clobber a Link if it's in the way of a File - See full diff in [compare view](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)...

dependencies

It can be desirable to group `import type` statements together, e.g.: ```js import a from "a"; import b from "./b"; import c from "./c"; import type { ta, tb }...

At the moment, `import-sort` will not correctly process `typeof` imports that are valid when using flow. I implemented the necessary changes, and added a couple of tests for it.

`./.importsortrc` ```json { ".js": { "parser": "babylon", "style": "./internals/import-sort" } } ``` `./internals/import-sort.js` ```js module.exports = (styleApi) => { return [...] }; ``` Then I run ```bash yarn import-sort app/app.js...

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...

dependencies

Bumps [json5](https://github.com/json5/json5) from 2.1.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

``` /usr/local/bin/npx import-sort-cli --write src/somefile.tsx ``` or ``` /usr/local/bin/npx import-sort --write src/somefile.tsx ``` now gives: ``` TypeError: Cannot set properties of undefined (setting 'id') ``` Node version v16.17.1 Output of...