Skip to content

feat: support cjs and esm both #970

feat: support cjs and esm both

feat: support cjs and esm both #970

Triggered via pull request June 8, 2024 07:05
@fengmk2fengmk2
synchronize #265
next
Status Failure
Total duration 1m 40s
Artifacts

nodejs.yml

on: pull_request
Node.js  /  Setup
8s
Node.js / Setup
Matrix: Node.js / Test
Fit to window
Zoom out
Zoom in

Annotations

120 errors
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (ubuntu-latest, 18.7.0): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 22): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (ubuntu-latest, 22): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 22): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 22): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 22): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (ubuntu-latest, 22): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (ubuntu-latest, 22): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (ubuntu-latest, 22): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 22): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (ubuntu-latest, 22): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 18): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (ubuntu-latest, 18): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 18): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 18): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 18): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (ubuntu-latest, 18): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (ubuntu-latest, 18): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (ubuntu-latest, 18): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 18): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (ubuntu-latest, 18): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 20): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (ubuntu-latest, 20): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 20): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 20): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 20): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (ubuntu-latest, 20): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (ubuntu-latest, 20): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (ubuntu-latest, 20): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (ubuntu-latest, 20): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (ubuntu-latest, 20): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (macos-latest, 22): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (macos-latest, 22): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (macos-latest, 22): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (macos-latest, 22): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (macos-latest, 22): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (macos-latest, 22): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (macos-latest, 22): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (macos-latest, 22): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (macos-latest, 22): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (macos-latest, 22): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (windows-latest, 18.7.0): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (windows-latest, 18.7.0): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (windows-latest, 18.7.0): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (windows-latest, 18.7.0): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (windows-latest, 18.7.0): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (windows-latest, 18.7.0): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (windows-latest, 18.7.0): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (windows-latest, 18.7.0): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (windows-latest, 18.7.0): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (windows-latest, 18.7.0): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (macos-latest, 20): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (macos-latest, 20): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (macos-latest, 20): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (macos-latest, 20): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (macos-latest, 20): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (macos-latest, 20): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (macos-latest, 20): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (macos-latest, 20): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (macos-latest, 20): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (macos-latest, 20): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (macos-latest, 18): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (macos-latest, 18): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (macos-latest, 18): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (macos-latest, 18): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (macos-latest, 18): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (macos-latest, 18): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (macos-latest, 18): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (macos-latest, 18): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (macos-latest, 18): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (macos-latest, 18): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (windows-latest, 22): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (windows-latest, 22): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (windows-latest, 22): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (windows-latest, 22): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (windows-latest, 22): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (windows-latest, 22): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (windows-latest, 22): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (windows-latest, 22): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (windows-latest, 22): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (windows-latest, 22): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (windows-latest, 20): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (windows-latest, 20): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (windows-latest, 20): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (windows-latest, 20): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (windows-latest, 20): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (windows-latest, 20): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (windows-latest, 20): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (windows-latest, 20): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (windows-latest, 20): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (windows-latest, 20): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (windows-latest, 18): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (windows-latest, 18): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (windows-latest, 18): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (windows-latest, 18): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (windows-latest, 18): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (windows-latest, 18): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (windows-latest, 18): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (windows-latest, 18): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (windows-latest, 18): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (windows-latest, 18): src/loader/file_loader.js#L4
Require statement not part of import statement
Node.js / Test (macos-latest, 18.7.0): src/loader/context_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (macos-latest, 18.7.0): src/loader/context_loader.js#L3
Require statement not part of import statement
Node.js / Test (macos-latest, 18.7.0): src/loader/context_loader.js#L4
Require statement not part of import statement
Node.js / Test (macos-latest, 18.7.0): src/loader/context_loader.js#L5
Require statement not part of import statement
Node.js / Test (macos-latest, 18.7.0): src/loader/egg_loader.ts#L68
Unsafe declaration merging between classes and interfaces
Node.js / Test (macos-latest, 18.7.0): src/loader/egg_loader.ts#L560
Unsafe declaration merging between classes and interfaces
Node.js / Test (macos-latest, 18.7.0): src/loader/file_loader.js#L3
'assert' module is restricted from being used
Node.js / Test (macos-latest, 18.7.0): src/loader/file_loader.js#L3
Require statement not part of import statement
Node.js / Test (macos-latest, 18.7.0): src/loader/file_loader.js#L4
'fs' module is restricted from being used
Node.js / Test (macos-latest, 18.7.0): src/loader/file_loader.js#L4
Require statement not part of import statement