Comparing version 6.0.0-6 to 6.0.0-7
@@ -1,2 +0,2 @@ | ||
import { E as EdgeGlobals, a as Edge } from './main-6dfe5def.js'; | ||
import { E as EdgeGlobals, a as Edge } from './main-a3a47006.js'; | ||
import 'edge-parser'; | ||
@@ -3,0 +3,0 @@ import 'edge-lexer/types'; |
@@ -14,3 +14,3 @@ import { | ||
unallowedExpression | ||
} from "./chunk-H474IZYW.js"; | ||
} from "./chunk-C2LZG6MY.js"; | ||
@@ -22,3 +22,4 @@ // src/loader.ts | ||
import { join, isAbsolute } from "node:path"; | ||
import { existsSync, readFileSync, readdirSync } from "node:fs"; | ||
import readdirSync from "fs-readdir-recursive"; | ||
import { existsSync, readFileSync } from "node:fs"; | ||
var Loader = class { | ||
@@ -57,6 +58,5 @@ /** | ||
} | ||
const files = readdirSync(join(diskBasePath, componentsDirName), { | ||
recursive: true, | ||
encoding: "utf8" | ||
}).filter((file) => file.endsWith(".edge")); | ||
const files = readdirSync(join(diskBasePath, componentsDirName)).filter( | ||
(file) => file.endsWith(".edge") | ||
); | ||
return files.map((file) => { | ||
@@ -63,0 +63,0 @@ const fileName = slash(file).replace(/\.edge$/, ""); |
@@ -1,2 +0,2 @@ | ||
import { P as PluginFn } from '../../main-6dfe5def.js'; | ||
import { P as PluginFn } from '../../main-a3a47006.js'; | ||
import 'edge-parser'; | ||
@@ -3,0 +3,0 @@ import 'edge-lexer/types'; |
@@ -8,3 +8,3 @@ import { | ||
unallowedExpression | ||
} from "../../chunk-H474IZYW.js"; | ||
} from "../../chunk-C2LZG6MY.js"; | ||
@@ -11,0 +11,0 @@ // src/migrate/tags/main.ts |
export * from 'edge-lexer/types'; | ||
import 'edge-parser'; | ||
export { AcornLoc, ClaimTagFn, MustacheTransformer, OnLineFn, ParserOptions, ParserTagDefinitionContract, TagTransformer } from 'edge-parser/types'; | ||
export { e as CacheManagerContract, d as CompiledTemplate, f as CompilerOptions, C as ComponentsTree, j as EdgeBufferContract, E as EdgeGlobals, g as EdgeOptions, b as LoaderContract, L as LoaderTemplate, h as ParserContract, P as PluginFn, T as TagContract, i as TagTokenContract, c as TagsContract } from '../main-6dfe5def.js'; | ||
export { e as CacheManagerContract, d as CompiledTemplate, f as CompilerOptions, C as ComponentsTree, j as EdgeBufferContract, E as EdgeGlobals, g as EdgeOptions, b as LoaderContract, L as LoaderTemplate, h as ParserContract, P as PluginFn, T as TagContract, i as TagTokenContract, c as TagsContract } from '../main-a3a47006.js'; | ||
import '@poppinss/macroable'; |
{ | ||
"name": "edge.js", | ||
"description": "Template engine", | ||
"version": "6.0.0-6", | ||
"version": "6.0.0-7", | ||
"engines": { | ||
@@ -44,2 +44,3 @@ "node": ">=18.16.0" | ||
"@swc/core": "^1.3.70", | ||
"@types/fs-readdir-recursive": "^1.1.0", | ||
"@types/he": "^1.2.0", | ||
@@ -67,2 +68,3 @@ "@types/node": "^20.4.4", | ||
"edge-parser": "^9.0.0-3", | ||
"fs-readdir-recursive": "^1.1.0", | ||
"he": "^1.2.0", | ||
@@ -69,0 +71,0 @@ "js-stringify": "^1.0.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
96663
3157
12
24
1
+ Addedfs-readdir-recursive@^1.1.0
+ Addedfs-readdir-recursive@1.1.0(transitive)