File tree Expand file tree Collapse file tree 11 files changed +980
-146
lines changed Expand file tree Collapse file tree 11 files changed +980
-146
lines changed Original file line number Diff line number Diff line change 1
1
# Test against this version of Node.js
2
2
environment :
3
- nodejs_version : " 4.1.2 "
3
+ nodejs_version : " 12.13.1 "
4
4
5
5
# Install scripts. (runs after repo cloning)
6
6
install :
7
7
# Get the latest stable version of Node.js or io.js
8
8
- ps : Install-Product node $env:nodejs_version
9
9
# Upgrade npm
10
- - npm install -g npm@3
10
+ - npm install -g npm@6
11
11
# install modules
12
12
- npm install
13
13
- npm install grunt-cli -g
Original file line number Diff line number Diff line change 1
1
// Minimal wrappers for Advapi32.dll to support basic registry manipulations
2
2
3
3
'use strict' ;
4
- var ffi = require ( 'ffi' ) ,
4
+ var ffi = require ( 'ffi-napi ' ) ,
5
5
types = require ( '../types' ) ;
6
6
7
7
// Javascript bindings for native Win32 registry APIs
Original file line number Diff line number Diff line change 1
1
// Minimnal wrappers for shell32.js
2
2
var windef = require ( '../windef' ) ,
3
- ffi = require ( 'ffi' ) ,
4
- ref = require ( 'ref' ) ;
3
+ ffi = require ( 'ffi-napi ' ) ,
4
+ ref = require ( 'ref-napi ' ) ;
5
5
6
6
var SHELLEXECUTEINFOPtr = ref . refType ( windef . SHELLEXECUTEINFO ) ;
7
7
var shell32 = new ffi . Library ( 'Shell32' , {
Original file line number Diff line number Diff line change 1
1
/* global Buffer */
2
2
'use strict' ;
3
- var ffi = require ( 'ffi' ) ,
3
+ var ffi = require ( 'ffi-napi ' ) ,
4
4
types = require ( './types' ) ,
5
5
advApi = require ( './native/adv_api' ) ,
6
6
Key = require ( './key' ) ,
7
- ref = require ( 'ref' ) ,
7
+ ref = require ( 'ref-napi ' ) ,
8
8
error = require ( './error' ) ,
9
9
windef = require ( './windef' ) ,
10
10
debug = require ( 'debug' ) ( 'windows-registry' ) ;
Original file line number Diff line number Diff line change 1
- var ref = require ( 'ref' ) ;
1
+ var ref = require ( 'ref-napi ' ) ;
2
2
3
3
var types = {
4
4
REGSAM : ref . types . ulong ,
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
- var ref = require ( 'ref' ) ,
2
+ var ref = require ( 'ref-napi ' ) ,
3
3
types = require ( './types' ) ,
4
4
shell32 = require ( './native/shell32' ) ,
5
5
windef = require ( './windef' ) ,
Original file line number Diff line number Diff line change
1
+ var ref = require ( 'ref-napi' ) ;
1
2
var types = require ( './types' ) ,
2
- struct = require ( 'ref-struct' ) ,
3
- uniontype = require ( 'ref-union' ) ;
3
+ struct = require ( 'ref-struct-napi ' ) ,
4
+ uniontype = require ( 'ref-union-di' ) ( ref ) ;
4
5
5
6
// yes, this is the name in the official MSDN doc
6
7
var DUMMYUNIONNAME = uniontype ( {
You can’t perform that action at this time.
0 commit comments