New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dynacom/core

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynacom/core - npm Package Compare versions

Comparing version

to
1.1.7

20

index.js

@@ -1,16 +0,16 @@

const fs = require('fs');
const path = require('path');
const fs = require( 'fs' );
const path = require( 'path' );
exports.Request = require(path.resolve(__dirname, 'classes', 'request.js'));
exports.Response = require(path.resolve(__dirname, 'classes', 'response.js'));
exports.Route = require(path.resolve(__dirname, 'classes', 'route.js'));
exports.Domain = require(path.resolve(__dirname, 'classes', 'domain.js'));
exports.Server = require(path.resolve(__dirname, 'classes', 'server.js'));
exports.Request = require( path.resolve( __dirname, 'classes', 'request.js' ) );
exports.Response = require( path.resolve( __dirname, 'classes', 'response.js' ) );
exports.Route = require( path.resolve( __dirname, 'classes', 'route.js' ) );
exports.Domain = require( path.resolve( __dirname, 'classes', 'domain.js' ) );
exports.Server = require( path.resolve( __dirname, 'classes', 'server.js' ) );
exports.Object = {
describe: require(path.resolve(__dirname, 'helpers', 'describeObject.js'))
describe: require( path.resolve( __dirname, 'helpers', 'describeObject.js' ) )
}
exports.SecureRedirect = (request, response) => {
response.redirect('https://' + request._request.headers.host + request._request.url, 301);
exports.SecureRedirect = ( request, response ) => {
response.redirect( 'https://' + request.address + request.url.path, 301 );
}

@@ -10,3 +10,3 @@ {

, "name": "@dynacom/core"
, "version": "1.1.6"
, "version": "1.1.7"
, "repository": {

@@ -13,0 +13,0 @@ "type": "git"