@tarojs/parse-css-to-stylesheet 1.0.22 → 1.1.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 +6 -1
  2. package/package.json +12 -12
package/index.d.ts CHANGED
@@ -3,10 +3,15 @@
3
3
 
4
4
  /* auto-generated by NAPI-RS */
5
5
 
6
+ export interface OutputOptions {
7
+ isBin?: boolean
8
+ }
6
9
  export interface ParseOptions {
7
10
  platformString: string
11
+ output?: OutputOptions
8
12
  }
9
13
  export interface ParseResult {
10
- code: string
14
+ code?: string
15
+ buffer?: Buffer
11
16
  }
12
17
  export declare function parse(styles: Array<string>, options: ParseOptions): ParseResult
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/parse-css-to-stylesheet",
3
- "version": "1.0.22",
3
+ "version": "1.1.0",
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "napi": {
@@ -54,16 +54,16 @@
54
54
  "packageManager": "pnpm@9.11.0",
55
55
  "repository": "https://github.com/NervJS/parse-css-to-stylesheet",
56
56
  "optionalDependencies": {
57
- "@tarojs/parse-css-to-stylesheet-win32-x64-msvc": "1.0.22",
58
- "@tarojs/parse-css-to-stylesheet-darwin-x64": "1.0.22",
59
- "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "1.0.22",
60
- "@tarojs/parse-css-to-stylesheet-darwin-arm64": "1.0.22",
61
- "@tarojs/parse-css-to-stylesheet-android-arm64": "1.0.22",
62
- "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "1.0.22",
63
- "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "1.0.22",
64
- "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "1.0.22",
65
- "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "1.0.22",
66
- "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "1.0.22",
67
- "@tarojs/parse-css-to-stylesheet-darwin-universal": "1.0.22"
57
+ "@tarojs/parse-css-to-stylesheet-win32-x64-msvc": "1.1.0",
58
+ "@tarojs/parse-css-to-stylesheet-darwin-x64": "1.1.0",
59
+ "@tarojs/parse-css-to-stylesheet-linux-x64-gnu": "1.1.0",
60
+ "@tarojs/parse-css-to-stylesheet-darwin-arm64": "1.1.0",
61
+ "@tarojs/parse-css-to-stylesheet-android-arm64": "1.1.0",
62
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu": "1.1.0",
63
+ "@tarojs/parse-css-to-stylesheet-linux-arm64-musl": "1.1.0",
64
+ "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf": "1.1.0",
65
+ "@tarojs/parse-css-to-stylesheet-linux-x64-musl": "1.1.0",
66
+ "@tarojs/parse-css-to-stylesheet-android-arm-eabi": "1.1.0",
67
+ "@tarojs/parse-css-to-stylesheet-darwin-universal": "1.1.0"
68
68
  }
69
69
  }