native-document 1.0.278 → 1.0.279
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/devtools/src/utils.js
CHANGED
|
@@ -7,8 +7,6 @@ import {TRANSFORMED_OBSERVABLE_ID} from '../constantes.js';
|
|
|
7
7
|
const __filename = fileURLToPath(import.meta.url);
|
|
8
8
|
const __dirname = path.dirname(__filename);
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
10
|
export function template(code, params) {
|
|
13
11
|
let codeFormatted = code;
|
|
14
12
|
for(const key in params) {
|
|
@@ -54,7 +52,7 @@ export function transformObservableDeclarations(code, id) {
|
|
|
54
52
|
}
|
|
55
53
|
|
|
56
54
|
export function isFileMustBeModified(file) {
|
|
57
|
-
if(!file.includes('/src/') || file.includes('node_modules') || /\.test\.js$/.test(file)) {
|
|
55
|
+
if(!file.includes('/src/') || file.includes('native-document') || file.includes('node_modules') || /\.test\.js$/.test(file)) {
|
|
58
56
|
return false;
|
|
59
57
|
}
|
|
60
58
|
const content = fs.readFileSync(file, 'utf-8');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "native-document",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.279",
|
|
4
4
|
"description": "A reactive JavaScript framework that preserves native DOM simplicity without sacrificing modern features",
|
|
5
5
|
"author": "AfroCodeur <https://github.com/afrocodeur>",
|
|
6
6
|
"license": "MIT",
|