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

impress

Package Overview
Dependencies
Maintainers
4
Versions
719
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

impress - npm Package Compare versions

Comparing version 3.0.11 to 3.0.12

8

package.json
{
"name": "impress",
"version": "3.0.11",
"version": "3.0.12",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -65,7 +65,7 @@ "description": "Enterprise application server for Node.js",

"dependencies": {
"metacom": "^3.1.1",
"metacom": "^3.1.2",
"metaconfiguration": "^2.1.11",
"metalog": "^3.1.12",
"metalog": "^3.1.13",
"metaschema": "^2.1.5",
"metautil": "^3.14.0",
"metautil": "^3.15.0",
"metavm": "^1.3.0",

@@ -72,0 +72,0 @@ "metawatch": "^1.1.1"

@@ -70,29 +70,35 @@ <div align="center">

- **Auto API routing**, just create endpoint files as an async function;
- Code **live reload** with file system watch (when files change on disk);
- **Graceful shutdown** and application state recovery after reload;
- **Minimal dependencies** and code size;
- Can scale with **multiple threads** and servers;
- Code **sandboxing** for security and context isolation;
- Auto module loader with **dependency injection** for namespaces;
- **Layered architecture** out of the box: core, domain, API, client;
- Utilize multiple CPU cores and serve multiple ports with worker threads;
- Inter-process communication and shared memory used for state management;
- State synchronization mechanism with transactions and subscription;
- Cache server-side executable JavaScript in memory;
- Rapid **API** development support: AJAX RPC and **Websocket**;
- Serve static files from memory cache;
- Application configuration (for different named environments);
- Database access layer for PostgreSQL and relational db schemas;
- Persistent sessions support with authentication, groups, and anonymous;
- Multiple protocols: HTTP, HTTPS, WS, WSS;
- Logging with buffering (lazy write) and rotation (keep logs N days);
- File utilities: upload, download, streaming;
- Built-in simple testing framework;
- Server health monitoring;
- Built-in data structures validation and preprocessing library;
- Task scheduling (interval or certain time);
- Concurrency control: request queue with timeout and size;
- Execution timeout and error handling;
- **API auto-routing** calls to `endpoint` for rapid API development (no need to add routes manually)
- **API concurrency**: request execution timeout and execution queue with both timeout and size limitations
- **Schemas** for API contract, data structures validation, and domain models
- **Application server** supports different API styles: RPC over AJAX and over Websocket, REST, and web hooks
- **Multiple protocols** support: HTTP, HTTPS, WS, WSS
- **Auto loader** with `start` hooks, namespace generation for code and dependencies
- **Live reload** of code through filesystem watch
- **Graceful shutdown** with `stop` hooks
- **Minimal dependencies** and reduced code size
- **Layered architecture**: api, domain logic, data access layer, and system code layer (hidden)
- **Code sandboxing** for enhanced security and execution context isolation
- **Code protection**: reference pollution prevention, prototype pollution prevention
- **Multi-threading** for CPU utilization and execution isolation
- **Load balancing** for simple scaling with redirection to multiple ports
- **Caching**: in-memory caching for APIs and static files
- **Configuration**: environment-specific application settings
- **Database access** layer compatible with PostgreSQL with SQL-injection protection
- **Persistent sessions** with authentication, groups, and anonymous sessions
- **Buffered logging** (lazy write) with log rotation (keep logs N days) and console interface
- **Testing**: integrated node.js native test runner and table-test support
- **Inter-process** communication and shared memory used for state management
- **File utilities**: upload, download, support for partial content and streaming
- **Task Management**: scheduled task execution at specific intervals or certain times
## TODO list
Those features will be implemented in nearest future (3-6 months):
- Server health monitoring
- Database migrations
- State synchronization mechanism with transactions and subscription
- Multi-tenancy support
## Requirements

@@ -99,0 +105,0 @@

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