From efc84174b69367889c77387ac09b1335d7f20475 Mon Sep 17 00:00:00 2001 From: Kyriakos Barbounakis Date: Thu, 26 Mar 2020 09:46:11 +0200 Subject: [PATCH] correct module import --- modules/@themost/express/package.json | 2 +- modules/@themost/express/src/app.js | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/@themost/express/package.json b/modules/@themost/express/package.json index 4545aed..9807cd6 100644 --- a/modules/@themost/express/package.json +++ b/modules/@themost/express/package.json @@ -1,6 +1,6 @@ { "name": "@themost/express", - "version": "1.5.4", + "version": "1.5.5", "description": "MOST Data ORM Express Middleware", "main": "dist/themost_express.cjs.js", "types": "dist/themost_express.d.ts", diff --git a/modules/@themost/express/src/app.js b/modules/@themost/express/src/app.js index bc53b4f..17e1b8e 100644 --- a/modules/@themost/express/src/app.js +++ b/modules/@themost/express/src/app.js @@ -10,12 +10,12 @@ import Symbol from "symbol"; import {Args, ConfigurationBase, ApplicationService, IApplication} from "@themost/common"; import {DefaultDataContext, DataConfigurationStrategy, ODataConventionModelBuilder, ODataModelBuilder} from "@themost/data"; import {ServicesConfiguration} from "./configuration"; +import {serviceRouter} from './service'; +import {BehaviorSubject} from 'rxjs'; const configurationProperty = Symbol('configuration'); const applicationProperty = Symbol('application'); const unattendedProperty = Symbol('unattended'); -const { serviceRouter } = require('./service'); -const { BehaviorSubject } = require ('rxjs'); /** * diff --git a/package.json b/package.json index f5de5cf..4f41d2c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "most-data-express-src", - "version": "1.5.4", + "version": "1.5.5", "private": true, "description": "MOST Data ORM Express Middleware", "main": "index.js",