File tree Expand file tree Collapse file tree 5 files changed +1051
-25
lines changed Expand file tree Collapse file tree 5 files changed +1051
-25
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ hostname = "0.4.1"
17
17
lang_handler = { path = " ../lang_handler" , features = [" c" ] }
18
18
libc = " 0.2.171"
19
19
once_cell = " 1.21.0"
20
- ext-php-rs = { git = " ssh ://git@ github.com/platformatic/ext-php-rs.git" }
20
+ ext-php-rs = { git = " https ://github.com/platformatic/ext-php-rs.git" }
21
21
# ext-php-rs = { path = "../../../ext-php-rs" }
22
22
23
23
[build-dependencies ]
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ path = "src/lib.rs"
9
9
10
10
[dependencies ]
11
11
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
12
- napi = { version = " 3.0.0-beta.3 " , default-features = false , features = [" napi4" ] }
13
- napi-derive = " 3.0.0-beta.3 "
12
+ napi = { version = " 3.0.0-beta.5 " , default-features = false , features = [" napi4" ] }
13
+ napi-derive = " 3.0.0-beta.5 "
14
14
php = { path = " ../php" }
15
15
16
16
[build-dependencies ]
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ export interface PhpOptions {
56
56
/** Throw request errors */
57
57
throwRequestErrors ?: boolean
58
58
}
59
- undefinedundefined
60
59
export type PhpHeaders = Headers
61
60
/**
62
61
* A multi-map of HTTP headers.
@@ -223,7 +222,7 @@ export declare class Headers {
223
222
* }
224
223
* ```
225
224
*/
226
- entries ( ) : Array < Entry < string , string > >
225
+ entries ( ) : Array < Entry >
227
226
/**
228
227
* Get an iterator over the header keys.
229
228
*
Original file line number Diff line number Diff line change 4
4
"main" : " index.js" ,
5
5
"types" : " index.d.ts" ,
6
6
"napi" : {
7
- "name" : " php" ,
8
- "triples" : {
9
- "additional" : [
10
- " aarch64-apple-darwin" ,
11
- " x86_64-apple-darwin" ,
12
- " x86_64-unknown-linux-gnu" ,
13
- " universal-apple-darwin"
14
- ]
15
- }
7
+ "binaryName" : " php" ,
8
+ "targets" : [
9
+ " aarch64-apple-darwin" ,
10
+ " x86_64-apple-darwin" ,
11
+ " x86_64-unknown-linux-gnu" ,
12
+ " universal-apple-darwin"
13
+ ]
16
14
},
17
15
"license" : " MIT" ,
18
16
"devDependencies" : {
19
- "@napi-rs/cli" : " ^2.18.4 " ,
17
+ "@napi-rs/cli" : " ^3.0.0-alpha.84 " ,
20
18
"@oxc-node/core" : " ^0.0.23" ,
21
19
"ava" : " ^6.0.1" ,
22
20
"oxlint" : " ^0.16.0"
28
26
"node" : " >= 10"
29
27
},
30
28
"scripts" : {
31
- "build" : " napi build --cargo-name php_node --platform --js false --release" ,
32
- "build:debug" : " napi build --cargo-name php_node --platform --js false" ,
29
+ "build" : " napi build --manifest-path ./crates/ php_node/Cargo.toml --platform --js false --release" ,
30
+ "build:debug" : " napi build --manifest-path ./crates/ php_node/Cargo.toml --platform --js false" ,
33
31
"lint" : " oxlint" ,
34
32
"test" : " ava __test__/**.spec.mjs" ,
35
33
"universal" : " napi universal" ,
You can’t perform that action at this time.
0 commit comments