@fullhuman/purgecss-from-tsx 5.0.0 → 6.0.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.
@@ -1,4 +1,4 @@
1
- import { default as acorn_2 } from 'acorn';
1
+ import acorn from 'acorn';
2
2
  import * as ts from 'typescript';
3
3
 
4
4
  /**
@@ -10,7 +10,7 @@ import * as ts from 'typescript';
10
10
  * @public
11
11
  */
12
12
  declare function purgeFromTsx(options?: {
13
- acornOptions?: acorn_2.Options;
13
+ acornOptions?: acorn.Options;
14
14
  tsOptions?: ts.CompilerOptions;
15
15
  }): (content: string) => string[];
16
16
  export default purgeFromTsx;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fullhuman/purgecss-from-tsx",
3
- "version": "5.0.0",
3
+ "version": "6.0.0",
4
4
  "description": "TSX extractor for PurgeCSS",
5
5
  "author": "Ffloriel",
6
6
  "homepage": "https://github.com/FullHuman/purgecss#readme",
@@ -27,7 +27,7 @@
27
27
  "url": "https://github.com/FullHuman/purgecss/issues"
28
28
  },
29
29
  "dependencies": {
30
- "@fullhuman/purgecss-from-jsx": "^5.0.0",
30
+ "@fullhuman/purgecss-from-jsx": "^6.0.0",
31
31
  "acorn": "^8.7.0",
32
32
  "typescript": "^4.5.3"
33
33
  },