Skip to content

Commit 9fd6b93

Browse files
committed
chore: update deps
1 parent 8bd06a3 commit 9fd6b93

File tree

15 files changed

+85
-38
lines changed

15 files changed

+85
-38
lines changed

.changeset/tall-waves-sing.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"esbuild-plugin-minify-html-literals": patch
3+
"web-dev-server-plugin-lit-css": patch
4+
"esbuild-plugin-lit-css": patch
5+
"rollup-plugin-lit-css": patch
6+
---
7+
8+
Update dependencies

build.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* eslint-disable easy-loops/easy-loops */
22
import esbuild from 'esbuild';
33
import { globby } from 'globby';
4-
import { readFile } from 'fs/promises';
5-
import { dirname, resolve } from 'path';
6-
import { createRequire } from 'module';
4+
import { readFile } from 'node:fs/promises';
5+
import { dirname, resolve } from 'node:path';
6+
import { createRequire } from 'node:module';
77

88
const nativeNodeModulesPlugin = {
99
name: 'native-node-modules',

package-lock.json

Lines changed: 57 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"@microsoft/fast-element": "^1.10.0",
3535
"@pwrs/eslint-config": "^0.0.26",
3636
"@rollup/plugin-alias": "^3.1.9",
37+
"@types/node": "^18.11.18",
3738
"@types/uglifycss": "0.0.7",
3839
"arraybuffer-to-string": "^1.0.2",
3940
"cross-env": "^7.0.3",

packages/esbuild-plugin-lit-css/esbuild-plugin-lit-css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Plugin } from 'esbuild';
22
import type { Options } from '@pwrs/lit-css/lit-css';
33
import { transform } from '@pwrs/lit-css';
4-
import { readFile } from 'fs/promises';
4+
import { readFile } from 'node:fs/promises';
55

66
export interface LitCSSOptions extends Omit<Options, 'css'> {
77
filter: RegExp;

packages/esbuild-plugin-minify-html-literals/esbuild-plugin-minify-html-literals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Plugin } from 'esbuild';
22

33
import { minifyHTMLLiterals, DefaultOptions as MinifyOptions } from 'minify-html-literals';
4-
import { readFile } from 'fs/promises';
4+
import { readFile } from 'node:fs/promises';
55

66
export interface Options extends MinifyOptions {
77
/** filter to apply to file paths */

packages/rollup-plugin-lit-css/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
],
3333
"dependencies": {
3434
"@pwrs/lit-css": "^2.0.0",
35-
"@rollup/pluginutils": "^4.2.1"
35+
"@rollup/pluginutils": "^5.0.2"
3636
}
3737
}

packages/rollup-plugin-lit-css/rollup-plugin-lit-css.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { Options } from '@pwrs/lit-css/lit-css';
33

44
import { createFilter } from '@rollup/pluginutils';
55
import { transform } from '@pwrs/lit-css';
6-
import { resolve } from 'path';
6+
import { resolve } from 'node:path';
77

88
export interface LitCSSOptions extends Omit<Options, 'css'> {
99
include?: RegExp | string[];

packages/web-dev-server-plugin-lit-css/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"web-dev-server-plugin-lit-css.d.ts"
3232
],
3333
"dependencies": {
34+
"@rollup/pluginutils": "^5.0.2",
3435
"@web/dev-server-rollup": "^0.3.17",
3536
"rollup-plugin-lit-css": "^4.0.0"
3637
}

test/esbuild-plugin-lit-css/esbuild-plugin-lit-css.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { litCssPlugin } from 'esbuild-plugin-lit-css';
22
import esbuild from 'esbuild';
33
import aliasPlugin from 'esbuild-plugin-alias';
44

5-
import { dirname, resolve } from 'path';
6-
import { fileURLToPath } from 'url';
5+
import { dirname, resolve } from 'node:path';
6+
import { fileURLToPath } from 'node:url';
77

88
import { run } from '../test.js';
99
import ab2str from 'arraybuffer-to-string';

test/esbuild-plugin-minify-html-literals/esbuild-plugin-minify-html-literals.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { minifyHTMLLiteralsPlugin } from 'esbuild-plugin-minify-html-literals';
22

3-
import { fileURLToPath } from 'url';
3+
import { fileURLToPath } from 'node:url';
44

55
import esbuild from 'esbuild';
66
import ab2str from 'arraybuffer-to-string';

test/lit-css-loader/compiler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
import webpack from 'webpack';
44

5-
import { fileURLToPath } from 'url';
6-
import { resolve, join, dirname } from 'path';
5+
import { fileURLToPath } from 'node:url';
6+
import { resolve, join, dirname } from 'node:path';
77
import { createFsFromVolume, Volume } from 'memfs';
88

99
const __dirname = dirname(fileURLToPath(import.meta.url));

test/lit-css-loader/lit-css-loader.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { compiler } from './compiler.js';
2-
import { dirname } from 'path';
3-
import { fileURLToPath } from 'url';
2+
import { dirname } from 'node:path';
3+
import { fileURLToPath } from 'node:url';
44
import { run } from '../test.js';
55

66
const dir = dirname(fileURLToPath(import.meta.url));

test/rollup-plugin-lit-css/rollup-plugin-lit-css.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import litcss from 'rollup-plugin-lit-css';
22
import aliasPlugin from '@rollup/plugin-alias';
33

4-
import { dirname, resolve } from 'path';
5-
import { fileURLToPath } from 'url';
4+
import { dirname, resolve } from 'node:path';
5+
import { fileURLToPath } from 'node:url';
66
import { rollup } from 'rollup';
77

88
import { run } from '../test.js';

test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import postcss from 'postcss';
55
import postcssNesting from 'postcss-nesting';
66
import Sass from 'sass';
77

8-
import { resolve } from 'path';
9-
import { readFile } from 'fs/promises';
8+
import { resolve } from 'node:path';
9+
import { readFile } from 'node:fs/promises';
1010

1111
const processor = postcss(postcssNesting());
1212

0 commit comments

Comments
 (0)