Skip to content

Commit

Permalink
Create large-terms-rush.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 10, 2023
1 parent 383f6df commit 3e37bb3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/large-terms-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"stylelint": patch
---

Fixed: `ERR_UNSUPPORTED_ESM_URL_SCHEME` error on Windows
4 changes: 2 additions & 2 deletions lib/getPostcssResult.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
'use strict';

const node_url = require('node:url');
const promises = require('node:fs/promises');
const node_path = require('node:path');
const node_url = require('node:url');
const LazyResult = require('postcss/lib/lazy-result');
const postcss = require('postcss');
const getModulePath = require('./utils/getModulePath.cjs');
const node_path = require('node:path');

/** @typedef {import('postcss').Result} Result */
/** @typedef {import('postcss').Syntax} Syntax */
Expand Down
5 changes: 3 additions & 2 deletions lib/getPostcssResult.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { pathToFileURL } from 'node:url';
import { readFile } from 'node:fs/promises';

import { isAbsolute } from 'node:path';
import { pathToFileURL } from 'node:url';

import LazyResult from 'postcss/lib/lazy-result';
import postcss from 'postcss';

import getModulePath from './utils/getModulePath.mjs';
import { isAbsolute } from 'node:path';

/** @typedef {import('postcss').Result} Result */
/** @typedef {import('postcss').Syntax} Syntax */
Expand Down

0 comments on commit 3e37bb3

Please sign in to comment.