1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-20 01:12:38 +01:00
Commit Graph

1912 Commits

Author SHA1 Message Date
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
8d270cf6e6
New revision for dev build 2021-07-24 07:48:20 -04:00
Raymond Hill
2035475371
Make Firefox dev build auto-update 2021-07-23 10:35:48 -04:00
Raymond Hill
0fcb3cee37
New revision for dev build 2021-07-23 10:13:11 -04:00
Raymond Hill
d5ced9bced
New revision for stable release 2021-07-23 07:38:44 -04:00
Raymond Hill
0c66680a2c
Make Firefox dev build auto-update 2021-07-20 08:51:17 -04:00
Raymond Hill
d46f93a5a0
New revision for release candidate 2021-07-20 08:42:26 -04:00
Raymond Hill
dcc72ba51c
Make Firefox dev build auto-update 2021-07-19 11:46:40 -04:00
Raymond Hill
525aceb34d
New revision for release candidate 2021-07-19 11:39:16 -04:00
Raymond Hill
efca367694
Make Firefox dev build auto-update 2021-07-18 10:21:22 -04:00
Raymond Hill
9e87c0170d
New revision for dev build 2021-07-18 10:15:07 -04:00
Raymond Hill
9c8691709d
Make Firefox dev build auto-update 2021-07-17 14:30:44 -04:00
Raymond Hill
5c0d8fb848
New revision for dev build 2021-07-17 14:28:03 -04:00
Raymond Hill
36f82b8a5a
Make Firefox dev build auto-update 2021-07-17 14:16:01 -04:00
Raymond Hill
fa4aee70ce
new revision for dev build 2021-07-17 14:09:56 -04:00
Raymond Hill
11e6ff5782
Make Firefox dev build auto-update 2021-07-17 12:25:59 -04:00
Raymond Hill
79f123d0c8
New revision for dev build 2021-07-17 12:21:58 -04:00
Raymond Hill
b7d41ec85a
Make Firefox dev build auto-update 2021-07-16 14:10:56 -04:00
Raymond Hill
5cdf414558
New revision for dev build 2021-07-16 14:07:38 -04:00
Raymond Hill
01cdf50f33
Make Firefox dev build auto-update 2021-07-15 13:26:21 -04:00
Raymond Hill
0bb57e7bc5
New revision for dev build 2021-07-15 13:19:43 -04:00
Raymond Hill
7735ad119d
Make Firefox dev build auto-update 2021-07-12 18:40:42 -04:00
Raymond Hill
a1452f198a
New revision for dev build 2021-07-12 18:34:51 -04:00
Raymond Hill
b7047e04d0
Make Firefox dev build auto-update 2021-07-12 12:15:49 -04:00
Raymond Hill
84f0f670b0
New revision for dev build 2021-07-12 12:10:21 -04:00
Raymond Hill
c2859712fb
Make Firefox dev build auto-update 2021-07-10 16:50:50 -04:00
Raymond Hill
4b10881965
New revision for dev build 2021-07-10 16:37:07 -04:00
Raymond Hill
def2013692
Make Firefox dev build auto-update 2021-07-07 11:00:54 -04:00
Raymond Hill
c4cbc1cc1e
New revision for dev build 2021-07-07 10:54:06 -04:00
Raymond Hill
f2899c1f8a
Make Firefox dev build auto-update 2021-07-06 10:26:46 -04:00
Raymond Hill
3df8f78148
New revision for dev build 2021-07-06 10:15:24 -04:00
Raymond Hill
8f45d9a50e
Make Firefox dev build auto-update 2021-07-03 09:31:53 -04:00
Raymond Hill
e36b4b4057
New revision for dev build 2021-07-03 09:21:38 -04:00
Raymond Hill
5a7600925b
Make Firefox dev build auto-update 2021-06-26 12:30:53 -04:00
Raymond Hill
2c6a81e81c
New revision for dev build 2021-06-26 12:14:50 -04:00
Raymond Hill
3b5aacac12
Make Firefox dev build auto-update 2021-06-24 11:16:27 -04:00
Raymond Hill
2efb961085
New revision for dev build 2021-06-24 11:05:03 -04:00
Raymond Hill
b129e9c329
New revision for stable release 2021-06-19 11:20:08 -04:00
Raymond Hill
91e9a4c34f
Make Firefox dev build auto-update 2021-06-17 10:16:18 -04:00
Raymond Hill
60e269576f
New revision for release candidate 2021-06-17 10:00:53 -04:00
Raymond Hill
6291168e9a
Make Firefox dev build auto-update 2021-06-14 07:46:01 -04:00
Raymond Hill
c698a5ead2
New revision for release candidate 2021-06-14 07:37:53 -04:00
Raymond Hill
2693f4e0c2
Make Firefox dev build auto-update 2021-06-12 13:36:26 -04:00
Raymond Hill
2bb7a9d6ab
New revision for release candidate 2021-06-12 13:28:50 -04:00
Raymond Hill
40c75b63e6
Make Firefox dev build auto-update 2021-06-12 09:41:17 -04:00
Raymond Hill
0cfadc9d17
New revision for release candidate 2021-06-12 09:27:13 -04:00
Raymond Hill
3160bc8ccd
Make Firefox dev build auto-update 2021-06-06 09:11:24 -04:00
Raymond Hill
cf06b848f0
new revision for release candidate 2021-06-06 09:02:59 -04:00
Raymond Hill
eddf09b191
Make Firefox dev build auto-update 2021-06-04 08:15:52 -04:00