Socket
Socket
Sign inDemoInstall

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 2.3.0 to 2.3.1

lib/schemas.js

8

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

## [2.3.1][] - 2021-06-03
- Auto load and reload schemas
- Update dependencies (security reasons)
## [2.3.0][] - 2021-05-24

@@ -151,3 +156,4 @@

[unreleased]: https://github.com/metarhia/impress/compare/v2.3.0...HEAD
[unreleased]: https://github.com/metarhia/impress/compare/v2.3.1...HEAD
[2.3.1]: https://github.com/metarhia/impress/compare/v2.3.0...v2.3.1
[2.3.0]: https://github.com/metarhia/impress/compare/v2.2.0...v2.3.0

@@ -154,0 +160,0 @@ [2.2.0]: https://github.com/metarhia/impress/compare/v2.1.2...v2.2.0

9

lib/application.js

@@ -10,2 +10,3 @@ 'use strict';

const { Resources } = require('./resources.js');
const { Schemas } = require('./schemas.js');
const auth = require('./auth.js');

@@ -35,2 +36,5 @@

this.domain = new Modules('domain', this);
this.schemas = new Schemas('schemas', this);
new Modules('domain', this);
this.starts = [];

@@ -56,2 +60,3 @@

await Promise.allSettled([
this.schemas.load(),
this.static.load(),

@@ -98,7 +103,7 @@ this.resources.load(),

createSandbox() {
const { config, console, resources } = this;
const { config, console, resources, schemas } = this;
const { server: { host, port, protocol } = {} } = this;
const worker = { id: 'W' + node.worker.threadId.toString() };
const server = { host, port, protocol };
const application = { worker, server, resources };
const application = { worker, server, resources, schemas };
application.introspect = async (interfaces) => this.introspect(interfaces);

@@ -105,0 +110,0 @@ const sandbox = { ...SANDBOX, console, application, config };

{
"name": "impress",
"version": "2.3.0",
"version": "2.3.1",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

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

"engines": {
"node": "^12.9 || 14 || 15"
"node": "^12.9 || 14 || 16"
},
"dependencies": {
"@types/ws": "^7.4.4",
"metacom": "^1.7.0",
"metacom": "^1.7.1",
"metaconfiguration": "^2.1.4",

@@ -80,12 +80,12 @@ "metalog": "^3.1.2",

"devDependencies": {
"@types/node": "^15.6.0",
"@types/node": "^15.6.2",
"eslint": "^7.27.0",
"eslint-config-metarhia": "^7.0.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"metatests": "^0.7.2",
"prettier": "^2.3.0",
"typescript": "^4.2.4"
"typescript": "^4.3.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