@log4js2/core
Advanced tools
Comparing version 2.0.0-beta.1 to 2.0.0-beta.2
@@ -10,2 +10,3 @@ import 'reflect-metadata'; | ||
export { IRollingFileAppenderConfig, RollingFileAppender } from './appender/rolling.file.appender'; | ||
export { ILogEvent } from './log.event'; | ||
export { Marker } from './marker'; | ||
@@ -12,0 +13,0 @@ export { Appender } from './decorator/appender'; |
{ | ||
"name": "@log4js2/core", | ||
"version": "2.0.0-beta.1", | ||
"version": "2.0.0-beta.2", | ||
"scripts": { | ||
@@ -9,4 +9,3 @@ "build": "npm run lint && tsc", | ||
"test": "jest", | ||
"posttest": "codecov -f coverage/*.json", | ||
"postinstall": "echo 'Starting in v2.0, the log4js2 package will be changed to @log4js2/core'" | ||
"posttest": "codecov -f coverage/*.json" | ||
}, | ||
@@ -43,3 +42,2 @@ "author": { | ||
"codecov": "^3.1.0", | ||
"jekyll": "^3.0.0-beta1", | ||
"jest": "^23.6.0", | ||
@@ -46,0 +44,0 @@ "jest-cli": "^23.6.0", |
@@ -8,2 +8,3 @@ # log4js2 | ||
[![codecov](https://codecov.io/gh/anigenero/log4js2/branch/master/graph/badge.svg)](https://codecov.io/gh/anigenero/log4js2) | ||
[![dependencies](https://david-dm.org/anigenero/log4js2.svg)](https://david-dm.org/anigenero/log4js2.svg) | ||
@@ -24,3 +25,3 @@ - [Read the Docs](https://anigenero.github.io/log4js2/) | ||
```bash | ||
> npm install --save log4js2 | ||
> npm install --save @log4js2/core | ||
``` | ||
@@ -34,3 +35,3 @@ | ||
```javascript | ||
import {getLogger} from 'log4js2'; | ||
import {getLogger} from '@log4js2/core'; | ||
@@ -51,3 +52,3 @@ const logger = getLogger('myLogger'); | ||
```typescript | ||
import {configure, LogLevel} from 'log4js2'; | ||
import {configure, LogLevel} from '@log4js2/core'; | ||
@@ -72,3 +73,3 @@ configure({ | ||
```typescript | ||
import * from 'log4js2'; | ||
import * from '@log4js2/core'; | ||
@@ -75,0 +76,0 @@ console.log('console log'); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
130524
13
2498
90
0