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 11# Test against this version of Node.js
22environment :
3- nodejs_version : " 4.1.2 "
3+ nodejs_version : " 12.13.1 "
44
55# Install scripts. (runs after repo cloning)
66install :
77 # Get the latest stable version of Node.js or io.js
88 - ps : Install-Product node $env:nodejs_version
99 # Upgrade npm
10- - npm install -g npm@3
10+ - npm install -g npm@6
1111 # install modules
1212 - npm install
1313 - npm install grunt-cli -g
Original file line number Diff line number Diff line change 11// Minimal wrappers for Advapi32.dll to support basic registry manipulations
22
33'use strict' ;
4- var ffi = require ( 'ffi' ) ,
4+ var ffi = require ( 'ffi-napi ' ) ,
55 types = require ( '../types' ) ;
66
77// Javascript bindings for native Win32 registry APIs
Original file line number Diff line number Diff line change 11// Minimnal wrappers for shell32.js
22var windef = require ( '../windef' ) ,
3- ffi = require ( 'ffi' ) ,
4- ref = require ( 'ref' ) ;
3+ ffi = require ( 'ffi-napi ' ) ,
4+ ref = require ( 'ref-napi ' ) ;
55
66var SHELLEXECUTEINFOPtr = ref . refType ( windef . SHELLEXECUTEINFO ) ;
77var shell32 = new ffi . Library ( 'Shell32' , {
Original file line number Diff line number Diff line change 11/* global Buffer */
22'use strict' ;
3- var ffi = require ( 'ffi' ) ,
3+ var ffi = require ( 'ffi-napi ' ) ,
44 types = require ( './types' ) ,
55 advApi = require ( './native/adv_api' ) ,
66 Key = require ( './key' ) ,
7- ref = require ( 'ref' ) ,
7+ ref = require ( 'ref-napi ' ) ,
88 error = require ( './error' ) ,
99 windef = require ( './windef' ) ,
1010 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 ' ) ;
22
33var types = {
44 REGSAM : ref . types . ulong ,
Original file line number Diff line number Diff line change 11'use strict' ;
2- var ref = require ( 'ref' ) ,
2+ var ref = require ( 'ref-napi ' ) ,
33 types = require ( './types' ) ,
44 shell32 = require ( './native/shell32' ) ,
55 windef = require ( './windef' ) ,
Original file line number Diff line number Diff line change 1+ var ref = require ( 'ref-napi' ) ;
12var 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 ) ;
45
56// yes, this is the name in the official MSDN doc
67var DUMMYUNIONNAME = uniontype ( {
You can’t perform that action at this time.
0 commit comments