MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

add process.features support and snapshot generation from index.ts

+7 -3
+4
examples/spec/process.js
··· 157 157 test('versions.ant exists', typeof process.versions.ant, 'string'); 158 158 test('versions.uv exists', typeof process.versions.uv, 'string'); 159 159 160 + test('features is object', typeof process.features, 'object'); 161 + test('features.uv is boolean', typeof process.features.uv, 'boolean'); 162 + test('features.typescript exists', typeof process.features.typescript, 'string'); 163 + 160 164 test('release is object', typeof process.release, 'object'); 161 165 test('release.name is string', typeof process.release.name, 'string'); 162 166
+2 -2
meson/snapshot/meson.build
··· 12 12 command: [ 13 13 node, 14 14 src_root / 'src' / 'tools' / 'gen_snapshot.js', 15 - '@INPUT0@', 15 + src_root / 'src' / 'core' / 'index.ts', 16 16 '@OUTPUT@', 17 17 'VERSION=' + ant_version, 18 18 'GIT_HASH=' + git_hash, ··· 21 21 'MBEDTLS=' + (tls_lib == 'mbedtls').to_string(), 22 22 'HOST=' + host_machine.system(), 23 23 ], 24 - ) 24 + )
+1 -1
sources.json
··· 9 9 }, 10 10 "core": { 11 11 "patterns": ["src/core/**/*.ts"], 12 - "exclude": [] 12 + "exclude": ["src/core/index.ts"] 13 13 } 14 14 }