Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

edge.js

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge.js - npm Package Compare versions

Comparing version 6.0.0-6 to 6.0.0-7

build/chunk-C2LZG6MY.js

2

build/index.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc