Skip to content

Commit fecfcf4

Browse files
committed
1 parent 8905037 commit fecfcf4

File tree

314 files changed

+58331
-221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

314 files changed

+58331
-221
lines changed

Diff for: node_modules/.gitignore

+29-16
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,30 @@
2929
!/@npmcli/query
3030
!/@npmcli/redact
3131
!/@npmcli/run-script
32+
!/@npmcli/run-script/node_modules/
33+
/@npmcli/run-script/node_modules/*
34+
!/@npmcli/run-script/node_modules/@npmcli/
35+
/@npmcli/run-script/node_modules/@npmcli/*
36+
!/@npmcli/run-script/node_modules/@npmcli/agent
37+
!/@npmcli/run-script/node_modules/@npmcli/fs
38+
!/@npmcli/run-script/node_modules/abbrev
39+
!/@npmcli/run-script/node_modules/cacache
40+
!/@npmcli/run-script/node_modules/isexe
41+
!/@npmcli/run-script/node_modules/make-fetch-happen
42+
!/@npmcli/run-script/node_modules/make-fetch-happen/node_modules/
43+
/@npmcli/run-script/node_modules/make-fetch-happen/node_modules/*
44+
!/@npmcli/run-script/node_modules/make-fetch-happen/node_modules/proc-log
45+
!/@npmcli/run-script/node_modules/minipass-fetch
46+
!/@npmcli/run-script/node_modules/node-gyp
47+
!/@npmcli/run-script/node_modules/node-gyp/node_modules/
48+
/@npmcli/run-script/node_modules/node-gyp/node_modules/*
49+
!/@npmcli/run-script/node_modules/node-gyp/node_modules/proc-log
50+
!/@npmcli/run-script/node_modules/node-gyp/node_modules/which
51+
!/@npmcli/run-script/node_modules/nopt
52+
!/@npmcli/run-script/node_modules/p-map
53+
!/@npmcli/run-script/node_modules/ssri
54+
!/@npmcli/run-script/node_modules/unique-filename
55+
!/@npmcli/run-script/node_modules/unique-slug
3256
!/@pkgjs/
3357
/@pkgjs/*
3458
!/@pkgjs/parseargs
@@ -149,22 +173,11 @@
149173
!/node-gyp
150174
!/node-gyp/node_modules/
151175
/node-gyp/node_modules/*
152-
!/node-gyp/node_modules/@npmcli/
153-
/node-gyp/node_modules/@npmcli/*
154-
!/node-gyp/node_modules/@npmcli/agent
155-
!/node-gyp/node_modules/@npmcli/fs
156-
!/node-gyp/node_modules/abbrev
157-
!/node-gyp/node_modules/cacache
158-
!/node-gyp/node_modules/isexe
159-
!/node-gyp/node_modules/make-fetch-happen
160-
!/node-gyp/node_modules/minipass-fetch
161-
!/node-gyp/node_modules/nopt
162-
!/node-gyp/node_modules/p-map
163-
!/node-gyp/node_modules/proc-log
164-
!/node-gyp/node_modules/ssri
165-
!/node-gyp/node_modules/unique-filename
166-
!/node-gyp/node_modules/unique-slug
167-
!/node-gyp/node_modules/which
176+
!/node-gyp/node_modules/chownr
177+
!/node-gyp/node_modules/minizlib
178+
!/node-gyp/node_modules/mkdirp
179+
!/node-gyp/node_modules/tar
180+
!/node-gyp/node_modules/yallist
168181
!/nopt
169182
!/nopt/node_modules/
170183
/nopt/node_modules/*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "10.3.1"
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
(The MIT License)
2+
3+
Copyright (c) 2012 Nathan Rajlich <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person
6+
obtaining a copy of this software and associated documentation
7+
files (the "Software"), to deal in the Software without
8+
restriction, including without limitation the rights to use,
9+
copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the
11+
Software is furnished to do so, subject to the following
12+
conditions:
13+
14+
The above copyright notice and this permission notice shall be
15+
included in all copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24+
OTHER DEALINGS IN THE SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
{
2+
'variables' : {
3+
'node_engine_include_dir%': 'deps/v8/include',
4+
'node_host_binary%': 'node',
5+
'node_with_ltcg%': 'true',
6+
},
7+
'target_defaults': {
8+
'type': 'loadable_module',
9+
'win_delay_load_hook': 'true',
10+
'product_prefix': '',
11+
12+
'conditions': [
13+
[ 'node_engine=="chakracore"', {
14+
'variables': {
15+
'node_engine_include_dir%': 'deps/chakrashim/include'
16+
},
17+
}]
18+
],
19+
20+
'include_dirs': [
21+
'<(node_root_dir)/include/node',
22+
'<(node_root_dir)/src',
23+
'<(node_root_dir)/deps/openssl/config',
24+
'<(node_root_dir)/deps/openssl/openssl/include',
25+
'<(node_root_dir)/deps/uv/include',
26+
'<(node_root_dir)/deps/zlib',
27+
'<(node_root_dir)/<(node_engine_include_dir)'
28+
],
29+
'defines!': [
30+
'BUILDING_UV_SHARED=1', # Inherited from common.gypi.
31+
'BUILDING_V8_SHARED=1', # Inherited from common.gypi.
32+
],
33+
'defines': [
34+
'NODE_GYP_MODULE_NAME=>(_target_name)',
35+
'USING_UV_SHARED=1',
36+
'USING_V8_SHARED=1',
37+
# Warn when using deprecated V8 APIs.
38+
'V8_DEPRECATION_WARNINGS=1'
39+
],
40+
41+
'target_conditions': [
42+
['_type=="loadable_module"', {
43+
'product_extension': 'node',
44+
'defines': [
45+
'BUILDING_NODE_EXTENSION'
46+
],
47+
'xcode_settings': {
48+
'OTHER_LDFLAGS': [
49+
'-undefined dynamic_lookup'
50+
],
51+
},
52+
}],
53+
54+
['_type=="static_library"', {
55+
# set to `1` to *disable* the -T thin archive 'ld' flag.
56+
# older linkers don't support this flag.
57+
'standalone_static_library': '<(standalone_static_library)'
58+
}],
59+
60+
['_type!="executable"', {
61+
'conditions': [
62+
[ 'OS=="android"', {
63+
'cflags!': [ '-fPIE' ],
64+
}]
65+
]
66+
}],
67+
68+
['_win_delay_load_hook=="true"', {
69+
# If the addon specifies `'win_delay_load_hook': 'true'` in its
70+
# binding.gyp, link a delay-load hook into the DLL. This hook ensures
71+
# that the addon will work regardless of whether the node/iojs binary
72+
# is named node.exe, iojs.exe, or something else.
73+
'conditions': [
74+
[ 'OS=="win"', {
75+
'defines': [ 'HOST_BINARY=\"<(node_host_binary)<(EXECUTABLE_SUFFIX)\"', ],
76+
'sources': [
77+
'<(node_gyp_dir)/src/win_delay_load_hook.cc',
78+
],
79+
'msvs_settings': {
80+
'VCLinkerTool': {
81+
'DelayLoadDLLs': [ '<(node_host_binary)<(EXECUTABLE_SUFFIX)' ],
82+
# Don't print a linker warning when no imports from either .exe
83+
# are used.
84+
'AdditionalOptions': [ '/ignore:4199' ],
85+
},
86+
},
87+
}],
88+
],
89+
}],
90+
],
91+
92+
'conditions': [
93+
[ 'OS=="mac"', {
94+
'defines': [
95+
'_DARWIN_USE_64_BIT_INODE=1'
96+
],
97+
'xcode_settings': {
98+
'DYLIB_INSTALL_NAME_BASE': '@rpath'
99+
},
100+
}],
101+
[ 'OS=="aix"', {
102+
'ldflags': [
103+
'-Wl,-bimport:<(node_exp_file)'
104+
],
105+
}],
106+
[ 'OS=="os400"', {
107+
'ldflags': [
108+
'-Wl,-bimport:<(node_exp_file)'
109+
],
110+
}],
111+
[ 'OS=="zos"', {
112+
'conditions': [
113+
[ '"<!(echo $CC)" != "clang" and \
114+
"<!(echo $CC)" != "ibm-clang64" and \
115+
"<!(echo $CC)" != "ibm-clang"', {
116+
'cflags': [
117+
'-q64',
118+
'-Wc,DLL',
119+
'-qlonglong',
120+
'-qenum=int',
121+
'-qxclang=-fexec-charset=ISO8859-1'
122+
],
123+
'ldflags': [
124+
'-q64',
125+
'<(node_exp_file)',
126+
],
127+
}, {
128+
'cflags': [
129+
'-m64',
130+
],
131+
'ldflags': [
132+
'-m64',
133+
'<(node_exp_file)',
134+
],
135+
}],
136+
],
137+
'defines': [
138+
'_ALL_SOURCE',
139+
'MAP_FAILED=-1',
140+
'_UNIX03_SOURCE',
141+
],
142+
}],
143+
[ 'OS=="win"', {
144+
'conditions': [
145+
['node_engine=="chakracore"', {
146+
'library_dirs': [ '<(node_root_dir)/$(ConfigurationName)' ],
147+
'libraries': [ '<@(node_engine_libs)' ],
148+
}],
149+
['node_with_ltcg=="true"', {
150+
'msvs_settings': {
151+
'VCCLCompilerTool': {
152+
'WholeProgramOptimization': 'true' # /GL, whole program optimization, needed for LTCG
153+
},
154+
'VCLibrarianTool': {
155+
'AdditionalOptions': [
156+
'/LTCG:INCREMENTAL', # incremental link-time code generation
157+
]
158+
},
159+
'VCLinkerTool': {
160+
'OptimizeReferences': 2, # /OPT:REF
161+
'EnableCOMDATFolding': 2, # /OPT:ICF
162+
'LinkIncremental': 1, # disable incremental linking
163+
'AdditionalOptions': [
164+
'/LTCG:INCREMENTAL', # incremental link-time code generation
165+
]
166+
}
167+
}
168+
}]
169+
],
170+
'libraries': [
171+
'-lkernel32.lib',
172+
'-luser32.lib',
173+
'-lgdi32.lib',
174+
'-lwinspool.lib',
175+
'-lcomdlg32.lib',
176+
'-ladvapi32.lib',
177+
'-lshell32.lib',
178+
'-lole32.lib',
179+
'-loleaut32.lib',
180+
'-luuid.lib',
181+
'-lodbc32.lib',
182+
'-lDelayImp.lib',
183+
'-l"<(node_lib_file)"'
184+
],
185+
'msvs_disabled_warnings': [
186+
# warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>'
187+
# needs to have dll-interface to be used by
188+
# clients of class 'node::ObjectWrap'
189+
4251
190+
],
191+
}, {
192+
# OS!="win"
193+
'defines': [
194+
'_LARGEFILE_SOURCE',
195+
'_FILE_OFFSET_BITS=64'
196+
],
197+
}],
198+
[ 'OS in "freebsd openbsd netbsd solaris android" or \
199+
(OS=="linux" and target_arch!="ia32")', {
200+
'cflags': [ '-fPIC' ],
201+
}],
202+
]
203+
}
204+
}

0 commit comments

Comments
 (0)