File tree Expand file tree Collapse file tree 8 files changed +72
-4
lines changed Expand file tree Collapse file tree 8 files changed +72
-4
lines changed Original file line number Diff line number Diff line change
1
+ // Node.js 10.x, ignore
2
+ if ( ! process . report || typeof process . report . getReport !== 'function' ) {
3
+ process . exit ( 0 )
4
+ }
5
+
6
+ // Only GNU system has this field
7
+ const { glibcVersionRuntime } = process . report . getReport ( ) . header
8
+
9
+ if ( glibcVersionRuntime ) {
10
+ process . exit ( 0 )
11
+ } else {
12
+ process . exit ( 1 )
13
+ }
Original file line number Diff line number Diff line change 9
9
],
10
10
"main" : " skia.linux-arm64-gnu.node" ,
11
11
"files" : [
12
- " skia.linux-arm64-gnu.node"
12
+ " skia.linux-arm64-gnu.node" ,
13
+ " install.js"
13
14
],
15
+ "scripts" : {
16
+ "install" : " node install.js"
17
+ },
14
18
"description" : " Canvas for Node.js with skia backend" ,
15
19
"keywords" : [
16
20
" napi-rs" ,
Original file line number Diff line number Diff line change
1
+ // Node.js 10.x, ignore
2
+ if ( ! process . report || typeof process . report . getReport !== 'function' ) {
3
+ process . exit ( 0 )
4
+ }
5
+
6
+ // Only GNU system has this field
7
+ const { glibcVersionRuntime } = process . report . getReport ( ) . header
8
+
9
+ if ( glibcVersionRuntime ) {
10
+ process . exit ( 1 )
11
+ } else {
12
+ process . exit ( 0 )
13
+ }
Original file line number Diff line number Diff line change 9
9
],
10
10
"main" : " skia.linux-arm64-musl.node" ,
11
11
"files" : [
12
- " skia.linux-arm64-musl.node"
12
+ " skia.linux-arm64-musl.node" ,
13
+ " install.js"
13
14
],
15
+ "scripts" : {
16
+ "install" : " node install.js"
17
+ },
14
18
"description" : " Canvas for Node.js with skia backend" ,
15
19
"keywords" : [
16
20
" napi-rs" ,
Original file line number Diff line number Diff line change
1
+ // Node.js 10.x, ignore
2
+ if ( ! process . report || typeof process . report . getReport !== 'function' ) {
3
+ process . exit ( 0 )
4
+ }
5
+
6
+ // Only GNU system has this field
7
+ const { glibcVersionRuntime } = process . report . getReport ( ) . header
8
+
9
+ if ( glibcVersionRuntime ) {
10
+ process . exit ( 0 )
11
+ } else {
12
+ process . exit ( 1 )
13
+ }
Original file line number Diff line number Diff line change 9
9
],
10
10
"main" : " skia.linux-x64-gnu.node" ,
11
11
"files" : [
12
- " skia.linux-x64-gnu.node"
12
+ " skia.linux-x64-gnu.node" ,
13
+ " install.js"
13
14
],
15
+ "scripts" : {
16
+ "install" : " node install.js"
17
+ },
14
18
"description" : " Canvas for Node.js with skia backend" ,
15
19
"keywords" : [
16
20
" napi-rs" ,
Original file line number Diff line number Diff line change
1
+ // Node.js 10.x, ignore
2
+ if ( ! process . report || typeof process . report . getReport !== 'function' ) {
3
+ process . exit ( 0 )
4
+ }
5
+
6
+ // Only GNU system has this field
7
+ const { glibcVersionRuntime } = process . report . getReport ( ) . header
8
+
9
+ if ( glibcVersionRuntime ) {
10
+ process . exit ( 1 )
11
+ } else {
12
+ process . exit ( 0 )
13
+ }
Original file line number Diff line number Diff line change 9
9
],
10
10
"main" : " skia.linux-x64-musl.node" ,
11
11
"files" : [
12
- " skia.linux-x64-musl.node"
12
+ " skia.linux-x64-musl.node" ,
13
+ " install.js"
13
14
],
15
+ "scripts" : {
16
+ "install" : " node install.js"
17
+ },
14
18
"description" : " Canvas for Node.js with skia backend" ,
15
19
"keywords" : [
16
20
" napi-rs" ,
You can’t perform that action at this time.
0 commit comments