-
Notifications
You must be signed in to change notification settings - Fork 471
/
Copy pathexceptions.js
32 lines (32 loc) · 955 Bytes
/
exceptions.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/**
* This file points out anomalies/exceptions in test files when generating the binding.cc file
*
* nouns: words in file names that are misspelled
* *NOTE: a 'constructor' property is explicitly added to override javascript object constructor
*
* exportNames: anomalies in init function names
*
* propertyNames: anomalies in exported property name of init functions
*
* skipBinding: skip including this file in binding.cc
*/
module.exports = {
nouns: {
constructor: 'constructor',
threadsafe: 'threadSafe',
objectwrap: 'objectWrap'
},
exportNames: {
AsyncWorkerPersistent: 'PersistentAsyncWorker'
},
propertyNames: {
async_worker_persistent: 'persistentasyncworker',
objectwrap_constructor_exception: 'objectwrapConstructorException'
},
skipBinding: [
'global_object_delete_property',
'global_object_get_property',
'global_object_has_own_property',
'global_object_set_property'
]
};