@sdata/web-vue-auto-import-resolver 2.5.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +2 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as node_url from 'node:url';
1
+ import * as url from 'url';
2
2
  import { ComponentResolver } from 'unplugin-vue-components/types';
3
3
  import { Plugin } from 'vite';
4
4
 
@@ -41,7 +41,7 @@ declare function SdDesignResolver(options?: SdDesignResolverOptions): ComponentR
41
41
  * ```
42
42
  */
43
43
  declare function createSdDesignScssImporter(options?: SdDesignScssImporterOptions): {
44
- canonicalize(url: string): node_url.URL | null;
44
+ canonicalize(url: string): url.URL | null;
45
45
  load(canonicalUrl: URL): Promise<{
46
46
  contents: string;
47
47
  syntax: "css" | "scss" | "indented";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdata/web-vue-auto-import-resolver",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "description": "Auto import resolver for @sdata/web-vue and unplugin-vue-components.",
5
5
  "homepage": "https://sd-design.js.org",
6
6
  "bugs": {