Compare commits

..

2 Commits

Author SHA1 Message Date
76e777a3ac 5.0.3 2022-08-07 01:17:45 +02:00
165cd3737e fix(core): update 2022-08-07 01:17:45 +02:00
4 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartenv",
"version": "5.0.2",
"version": "5.0.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartenv",
"version": "5.0.2",
"version": "5.0.3",
"license": "MIT",
"dependencies": {
"@pushrocks/smartpromise": "^3.1.7"

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartenv",
"version": "5.0.2",
"version": "5.0.3",
"description": "store things about your environment and let them travel across modules",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartenv',
version: '5.0.2',
version: '5.0.3',
description: 'store things about your environment and let them travel across modules'
}

View File

@ -28,7 +28,7 @@ export class Smartenv {
public async getSafeNodeModule<T = any>(moduleNameArg: string): Promise<T> {
if (!this.isNode) {
console.error('You tried to load a node module in a wrong context');
console.error(`You tried to load a node module in a wrong context: ${moduleNameArg}`);
return;
}
// tslint:disable-next-line: function-constructor