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

@athenna/view

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@athenna/view - npm Package Compare versions

Comparing version 4.18.1 to 4.19.0

2

package.json
{
"name": "@athenna/view",
"version": "4.18.1",
"version": "4.19.0",
"description": "The Athenna template engine. Built on top of Edge.js.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -9,3 +9,3 @@ /**

*/
import { Env, Config } from '@athenna/config';
import { Config } from '@athenna/config';
import { ViewImpl } from '#src/views/ViewImpl';

@@ -16,4 +16,2 @@ import { ServiceProvider } from '@athenna/ioc';

const view = new ViewImpl();
view.addProperty('Env', Env);
view.addProperty('Config', Config);
this.container.instance('Athenna/Core/View', view);

@@ -25,2 +23,4 @@ if (Config.exists('view.disk')) {

Object.keys(disks).forEach(k => view.createViewDisk(k, disks[k]));
const properties = Config.get('view.properties', {});
Object.keys(properties).forEach(k => view.addProperty(k, properties[k]));
const components = Config.get('view.components', {});

@@ -27,0 +27,0 @@ Object.keys(components).forEach(k => view.createComponentByPath(k, components[k]));

Sorry, the diff of this file is not supported yet

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