modif comtabilite

This commit is contained in:
2019-01-16 16:23:31 +01:00
parent 6b741a9666
commit 9312edc3ae
1844 changed files with 158848 additions and 55874 deletions
@@ -1,4 +1,4 @@
// Copyright 2014 Simon Lydell
// Copyright 2014, 2017 Simon Lydell
// X11 (“MIT”) Licensed. (See LICENSE.)
var fs = require("fs")
@@ -14,6 +14,9 @@ nodeCode = nodeCode
// Remove `urix`.
.replace(/(\w+)\s*=\s*urix\(\1\)\s*/g, "")
// Remove `decode-uri-component`.
.replace(/(var readUrl = )decodeUriComponent\(([\w.]+)\)/g, "$1$2")
// Change `module.exports = {...}` to `return {...}`.
.replace(/module\.exports = (\{[^}]+\})\s*$/, "return $1")