<feed xmlns='http://www.w3.org/2005/Atom'>
<title>librejs.git/common, branch native-messaging-app</title>
<subtitle>Mirror of LibreJS at https://git.savannah.gnu.org/cgit/librejs.git
</subtitle>
<id>https://g.ypei.me/librejs.git/atom?h=native-messaging-app</id>
<link rel='self' href='https://g.ypei.me/librejs.git/atom?h=native-messaging-app'/>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/'/>
<updated>2023-09-17T07:46:08+00:00</updated>
<entry>
<title>Fixing bypassing Function("...").</title>
<updated>2023-09-17T07:46:08+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>id@ypei.org</email>
</author>
<published>2023-09-10T02:02:37+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=0e9dc99f56da9f5acdf50382ae6df28218ca512d'/>
<id>urn:sha1:0e9dc99f56da9f5acdf50382ae6df28218ca512d</id>
<content type='text'>
It is similar to eval(). See,
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/Function

As a prior art, another extension did the blank ban of Function():
https://addons.mozilla.org/en-US/firefox/addon/noeval-disable-eval/

So let's ban it as well.

Bug reported at
https://lists.gnu.org/archive/html/bug-librejs/2023-09/msg00000.html
</content>
</entry>
<entry>
<title>changing license definition to json</title>
<updated>2022-10-13T06:21:56+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-10-13T06:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=46ecac9ab60b32ccc7b40a668938c84117de1b4d'/>
<id>urn:sha1:46ecac9ab60b32ccc7b40a668938c84117de1b4d</id>
<content type='text'>
and reuse it in the manual
</content>
</entry>
<entry>
<title>fixing a few problems with @license / @license-end regexes</title>
<updated>2022-10-13T04:48:44+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-10-13T04:48:44+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=dbfe1fb86719a18364f24bff57781aeb3262cb90'/>
<id>urn:sha1:dbfe1fb86719a18364f24bff57781aeb3262cb90</id>
<content type='text'>
- trailing whitespace, including newlines are consumed by the opneing
  regex (added a test case)

- added a test case for /* @license ... */ ... /* @license-end */
</content>
</entry>
<entry>
<title>`// @license` should be at the beginning of a line (mod whitespace)</title>
<updated>2022-10-13T03:14:29+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-10-13T02:55:41+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=fcd816e95e73a78fd24a7e6baef709d7657d265f'/>
<id>urn:sha1:fcd816e95e73a78fd24a7e6baef709d7657d265f</id>
<content type='text'>
Otherwise the following will be processed for @license / @license-end
method:

// foo.js
// // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt GPL-3.0
// document.getElementById('bar');
// // @license-end
function foo(x, y) {
  console.log(x + y);
}

$ node ./utitlities/check-script foo.js

[
  true,
  '// // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&amp;dn=gpl-3.0.txt GPL-3.0\n' +
    "// document.getElementById('bar');\n" +
    '// // @license-end\n' +
    'function foo(x, y) {\n' +
    '  console.log(x + y);\n' +
    '}\n',
  '\n' +
    'Recognized license: "GNU General Public License (GPL) version 3".\n' +
    'Script appears to be trivial.'
]
</content>
</entry>
<entry>
<title>fixing a typo</title>
<updated>2022-09-23T02:51:17+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-09-23T02:51:17+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=24cd3237d26c3ac3ece873cb4e2769008464b1b0'/>
<id>urn:sha1:24cd3237d26c3ac3ece873cb4e2769008464b1b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>typos</title>
<updated>2022-09-23T01:58:16+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-09-23T01:58:16+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=32c511b0c57ebcb37a7593a6b8f07d0035ef74a9'/>
<id>urn:sha1:32c511b0c57ebcb37a7593a6b8f07d0035ef74a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update copyright in license_definitions</title>
<updated>2022-09-22T05:45:57+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-09-22T05:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=864ebd557dfba12c8b1a5c28d66436b506ecba2d'/>
<id>urn:sha1:864ebd557dfba12c8b1a5c28d66436b506ecba2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move fname_data.json to common</title>
<updated>2022-09-22T05:40:56+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-09-22T05:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=2c4d6baf753fba5000c75ed67d97c5c579e88f7a'/>
<id>urn:sha1:2c4d6baf753fba5000c75ed67d97c5c579e88f7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Separating out script and license checking routines to common/checks</title>
<updated>2022-09-22T05:36:52+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-09-22T05:36:04+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=d78d3dae30a4ac662ac5d35f1e7f245ce5825f40'/>
<id>urn:sha1:d78d3dae30a4ac662ac5d35f1e7f245ce5825f40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>moving some modules to common/</title>
<updated>2022-09-22T03:02:15+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-09-22T02:58:31+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/librejs.git/commit/?id=a9ef6fc4544f208416035743a07d8ed1bb7e6736'/>
<id>urn:sha1:a9ef6fc4544f208416035743a07d8ed1bb7e6736</id>
<content type='text'>
</content>
</entry>
</feed>
