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 2.1.2 to 2.2.0

types/config.d.ts

8

CHANGELOG.md

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

## [2.2.0][] - 2021-04-15
- Add tipings for Metarhia libraries
- Add typings for global namespaces
## [2.1.2][] - 2021-04-07

@@ -136,3 +141,4 @@

[unreleased]: https://github.com/metarhia/impress/compare/v2.1.2...HEAD
[unreleased]: https://github.com/metarhia/impress/compare/v2.2.0...HEAD
[2.2.0]: https://github.com/metarhia/impress/compare/v2.1.2...v2.2.0
[2.1.2]: https://github.com/metarhia/impress/compare/v2.1.1...v2.1.2

@@ -139,0 +145,0 @@ [2.1.1]: https://github.com/metarhia/impress/compare/v2.1.0...v2.1.1

21

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

@@ -69,21 +69,22 @@ "description": "Enterprise application server for Node.js",

"dependencies": {
"@metarhia/config": "^2.1.0",
"metacom": "^1.6.0",
"@metarhia/config": "^2.1.1",
"@types/ws": "^7.4.1",
"metacom": "^1.6.1",
"metalog": "^3.1.1",
"metaschema": "^1.0.2",
"metaschema": "^1.0.3",
"metautil": "^3.5.1",
"metavm": "^1.0.0",
"metavm": "^1.0.1",
"metawatch": "^1.0.3"
},
"devDependencies": {
"@types/node": "^14.14.37",
"eslint": "^7.23.0",
"@types/node": "^14.14.39",
"eslint": "^7.24.0",
"eslint-config-metarhia": "^7.0.1",
"eslint-config-prettier": "^8.1.0",
"eslint-config-prettier": "^8.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-prettier": "^3.4.0",
"metatests": "^0.7.2",
"prettier": "^2.2.1",
"typescript": "^4.2.3"
"typescript": "^4.2.4"
}
}

@@ -1,22 +0,102 @@

interface Application {
worker: Dictionary<any>;
server: Dictionary<any>;
auth: Auth;
resources: Map<string, Buffer>;
introspect: () => Promise<any>;
}
import { LogConfig, ScaleConfig, ServerConfig, SessionsConfig } from './config';
import { Application, Context, Client, Auth } from './core';
interface Context {
client: Client;
[key: string]: any;
import * as _util from 'util';
import * as _cp from 'child_process';
import * as _wt from 'worker_threads';
import * as _os from 'os';
import * as _v8 from 'v8';
import * as _vm from 'vm';
import * as _path from 'path';
import * as _url from 'url';
import * as _sd from 'string_decoder';
import * as _qs from 'querystring';
import * as _querystring from 'querystring';
import * as _assert from 'assert';
import * as _stream from 'stream';
import * as _fs from 'fs';
import * as _crypto from 'crypto';
import * as _zlib from 'zlib';
import * as _readline from 'readline';
import * as _ph from 'perf_hooks';
import * as _ah from 'async_hooks';
import * as _timers from 'timers';
import * as _events from 'events';
import * as _dns from 'dns';
import * as _net from 'net';
import * as _tls from 'tls';
import * as _http from 'http';
import * as _https from 'https';
import * as _http2 from 'http2';
import * as _dgram from 'dgram';
import * as _ws from 'ws';
import * as _config from '@metarhia/config';
import * as _metautil from 'metautil';
import * as _metavm from 'metavm';
import * as _metacom from 'metacom';
import * as _metalog from 'metalog';
import * as _metawatch from 'metawatch';
import * as _metaschema from 'metaschema';
declare global {
const application: Application;
const context: Context;
namespace config {
const log: LogConfig;
const scale: ScaleConfig;
const server: ServerConfig;
const sessions: SessionsConfig;
}
namespace metarhia {
const config: typeof _config;
const metautil: typeof _metautil;
const metavm: typeof _metavm;
const metacom: typeof _metacom;
const metalog: typeof _metalog;
const metawatch: typeof _metawatch;
const metaschema: typeof _metaschema;
}
namespace node {
const util: typeof _util;
const child_process: typeof _cp;
const childProcess: typeof _cp;
const worker_threads: typeof _wt;
const worker: typeof _wt;
const os: typeof _os;
const v8: typeof _v8;
const vm: typeof _vm;
const path: typeof _path;
const url: typeof _url;
const StringDecoder: typeof _sd;
const querystring: typeof _qs;
const assert: typeof _assert;
const stream: typeof _stream;
const fs: typeof _fs;
const fsp: typeof _fs.promises;
const crypto: typeof _crypto;
const zlib: typeof _zlib;
const readline: typeof _readline;
const perf_hooks: typeof _ph;
const perfHooks: typeof _ph;
const async_hooks: typeof _ah;
const asyncHooks: typeof _ah;
const timers: typeof _timers;
const events: typeof _events;
const dns: typeof _dns;
const net: typeof _net;
const tls: typeof _tls;
const http: typeof _http;
const https: typeof _https;
const http2: typeof _http2;
const dgram: typeof _dgram;
}
namespace npm {
const ws: typeof _ws;
}
}
declare var application: Application;
declare var node: Dictionary<any>;
declare var npm: Dictionary<any>;
declare var api: Dictionary<any>;
declare var lib: Dictionary<any>;
declare var domain: Dictionary<any>;
declare var config: Dictionary<any>;
declare var metarhia: Dictionary<any>;
declare var context: Dictionary<any>;

@@ -0,1 +1,5 @@

import { Schema } from 'metaschema';
import { Application } from './core';
type GroupAccess = { group: string };

@@ -9,4 +13,4 @@ type UserAccess = { login: string };

type Example = {
parameters: Dictionary<any>;
returns: Dictionary<any>;
parameters: object;
returns: object;
};

@@ -13,0 +17,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