Raymond Hill
22022f636f
Modularize codebase with export/import
...
Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1664
The changes are enough to fulfill the related issue.
A new platform has been added in order to allow for building
a NodeJS package. From the root of the project:
./tools/make-nodejs
This will create new uBlock0.nodejs directory in the
./dist/build directory, which is a valid NodeJS package.
From the root of the package, you can try:
node test
This will instantiate a static network filtering engine,
populated by easylist and easyprivacy, which can be used
to match network requests by filling the appropriate
filtering context object.
The test.js file contains code which is typical example
of usage of the package.
Limitations: the NodeJS package can't execute the WASM
versions of the code since the WASM module requires the
use of fetch(), which is not available in NodeJS.
This is a first pass at modularizing the codebase, and
while at it a number of opportunistic small rewrites
have also been made.
This commit requires the minimum supported version for
Chromium and Firefox be raised to 61 and 60 respectively.
2021-07-27 17:26:04 -04:00
Raymond Hill
bf7b0702e4
Make Firefox dev build auto-update
2021-07-24 07:56:34 -04:00
Raymond Hill
2035475371
Make Firefox dev build auto-update
2021-07-23 10:35:48 -04:00
Raymond Hill
0c66680a2c
Make Firefox dev build auto-update
2021-07-20 08:51:17 -04:00
Raymond Hill
dcc72ba51c
Make Firefox dev build auto-update
2021-07-19 11:46:40 -04:00
Raymond Hill
efca367694
Make Firefox dev build auto-update
2021-07-18 10:21:22 -04:00
Raymond Hill
9c8691709d
Make Firefox dev build auto-update
2021-07-17 14:30:44 -04:00
Raymond Hill
36f82b8a5a
Make Firefox dev build auto-update
2021-07-17 14:16:01 -04:00
Raymond Hill
11e6ff5782
Make Firefox dev build auto-update
2021-07-17 12:25:59 -04:00
Raymond Hill
b7d41ec85a
Make Firefox dev build auto-update
2021-07-16 14:10:56 -04:00
Raymond Hill
01cdf50f33
Make Firefox dev build auto-update
2021-07-15 13:26:21 -04:00
Raymond Hill
7735ad119d
Make Firefox dev build auto-update
2021-07-12 18:40:42 -04:00
Raymond Hill
b7047e04d0
Make Firefox dev build auto-update
2021-07-12 12:15:49 -04:00
Raymond Hill
c2859712fb
Make Firefox dev build auto-update
2021-07-10 16:50:50 -04:00
Raymond Hill
def2013692
Make Firefox dev build auto-update
2021-07-07 11:00:54 -04:00
Raymond Hill
f2899c1f8a
Make Firefox dev build auto-update
2021-07-06 10:26:46 -04:00
Raymond Hill
8f45d9a50e
Make Firefox dev build auto-update
2021-07-03 09:31:53 -04:00
Raymond Hill
5a7600925b
Make Firefox dev build auto-update
2021-06-26 12:30:53 -04:00
Raymond Hill
3b5aacac12
Make Firefox dev build auto-update
2021-06-24 11:16:27 -04:00
Raymond Hill
91e9a4c34f
Make Firefox dev build auto-update
2021-06-17 10:16:18 -04:00
Raymond Hill
6291168e9a
Make Firefox dev build auto-update
2021-06-14 07:46:01 -04:00
Raymond Hill
2693f4e0c2
Make Firefox dev build auto-update
2021-06-12 13:36:26 -04:00
Raymond Hill
40c75b63e6
Make Firefox dev build auto-update
2021-06-12 09:41:17 -04:00
Raymond Hill
3160bc8ccd
Make Firefox dev build auto-update
2021-06-06 09:11:24 -04:00
Raymond Hill
eddf09b191
Make Firefox dev build auto-update
2021-06-04 08:15:52 -04:00
Raymond Hill
b9405f4e11
Make Firefox dev build auto-update
2021-05-28 08:11:34 -04:00
Raymond Hill
7feef73d8e
Make Firefox dev build auto-update
2021-05-26 08:22:13 -04:00
Raymond Hill
fcb56fe3e3
Make Firefox dev build auto-update
2021-05-18 11:16:30 -04:00
Raymond Hill
68e3071253
Make Firefox dev build auto-update
2021-05-18 09:10:40 -04:00
Raymond Hill
2781874363
Make Firefox dev build auto-update
2021-05-15 11:00:36 -04:00
Raymond Hill
4d29a4c5d2
Make Firefox dev build auto-update
2021-05-15 08:30:34 -04:00
Raymond Hill
a5f6dc5e47
Make Firefox dev build auto-update
2021-05-14 10:41:03 -04:00
Raymond Hill
f6a5028c34
Make Firefox dev build auto-update
2021-05-09 12:15:38 -04:00
Raymond Hill
fe57059f33
Make Firefox dev build auto-update
2021-04-29 16:41:18 -04:00
Raymond Hill
d156c4d4a8
Make Firefox dev build auto-update
2021-04-29 08:46:52 -04:00
Raymond Hill
a9f22b0ae0
Make Firefox dev build auto-update
2021-04-27 09:06:55 -04:00
Raymond Hill
6793f0ed8e
Make Firefox dev build auto-update
2021-04-19 09:50:51 -04:00
Raymond Hill
e2a85730de
Make Firefox dev build auto-update
2021-04-16 09:10:43 -04:00
Raymond Hill
299eacbbf8
Make Firefox dev build auto-update
2021-04-14 11:15:44 -04:00
Raymond Hill
83c4dc3bac
Make Firefox dev build auto-update
2021-04-13 10:36:11 -04:00
Raymond Hill
d7c2e38f00
Make Firefox dev build auto-update
2021-04-11 09:50:36 -04:00
Raymond Hill
7bf9a83d8e
Make Firefox dev build auto-update
2021-04-06 10:26:18 -04:00
Raymond Hill
0aae08bb9a
Make Firefox dev build auto-update
2021-03-14 09:25:20 -04:00
Raymond Hill
a9756f5f51
Make Firefox dev build auto-update
2021-03-13 09:45:36 -05:00
Raymond Hill
9d5f2fa558
Make Firefox dev build auto-update
2021-03-13 09:21:12 -05:00
Raymond Hill
f3f6f00e51
Make Firefox dev build auto-update
2021-03-06 09:05:27 -05:00
Raymond Hill
8985cff2a8
Make Firefox dev build auto-update
2021-03-05 06:21:08 -05:00
Raymond Hill
eba8379192
Make Firefox dev build auto-update
2021-03-03 11:05:48 -05:00
Raymond Hill
c80afb805e
Make Firefox dev build auto-update
2021-03-02 13:25:41 -05:00
Raymond Hill
e6727ed87a
Make Firefox dev build auto-update
2021-02-27 07:26:23 -05:00