File tree Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Expand file tree Collapse file tree 3 files changed +4
-15
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ crc32c = {version = "0.6"}
12
12
crc32fast = {version = " 1.3" , features = [" nightly" ]}
13
13
global_alloc = {path = " ../../crates/alloc" }
14
14
napi = {version = " 2" }
15
- napi-derive = {version = " 2" }
15
+ napi-derive = {version = " 2" , default-features = false }
16
16
17
17
[build-dependencies ]
18
18
napi-build = " 1"
Original file line number Diff line number Diff line change 1
- /* tslint:disable */
2
- /* eslint-disable */
3
-
4
- /* auto-generated by NAPI-RS */
5
-
6
- export class ExternalObject < T > {
7
- readonly '' : {
8
- readonly '' : unique symbol
9
- [ K : symbol ] : T
10
- }
11
- }
12
1
export function crc32c ( input : string | Buffer , initialState ?: number | undefined | null ) : number
13
- export function crc32 ( inputData : string | Buffer , initialState ?: number | undefined | null ) : number
2
+ export function crc32 ( input : string | Buffer , initialState ?: number | undefined | null ) : number
Original file line number Diff line number Diff line change 52
52
"scripts" : {
53
53
"artifacts" : " napi artifacts -d ../../artifacts" ,
54
54
"bench" : " cross-env NODE_ENV=production node benchmark/crc32.js" ,
55
- "build" : " napi build --platform --release --pipe \" prettier -w\" " ,
56
- "build:debug" : " napi build --platform --pipe \" prettier -w\" " ,
55
+ "build" : " napi build --platform --release --pipe \" prettier -w\" --js false " ,
56
+ "build:debug" : " napi build --platform --pipe \" prettier -w\" --js false " ,
57
57
"prepublishOnly" : " napi prepublish" ,
58
58
"version" : " napi version"
59
59
},
You can’t perform that action at this time.
0 commit comments