@adonisjs/repl
Advanced tools
Comparing version 4.0.0-8 to 4.0.0-9
@@ -1,3 +0,1 @@ | ||
export { R as Repl } from './index-be604bdd.js'; | ||
import '@poppinss/colors/types'; | ||
import 'node:repl'; | ||
export { Repl } from './src/repl.js'; |
@@ -297,1 +297,2 @@ // src/repl.ts | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,20 @@ | ||
export { C as Compiler, M as MethodCallback, a as MethodOptions } from '../index-be604bdd.js'; | ||
import '@poppinss/colors/types'; | ||
import 'node:repl'; | ||
import { Repl } from './repl.js'; | ||
/** | ||
* Custom method callback function | ||
*/ | ||
export type MethodCallback = (repl: Repl, ...args: any[]) => any; | ||
/** | ||
* Options that can be set when defining a custom method | ||
*/ | ||
export type MethodOptions = { | ||
description?: string; | ||
usage?: string; | ||
}; | ||
/** | ||
* Shape of the Compiler that must be passed to the | ||
* repl constructor | ||
*/ | ||
export type Compiler = { | ||
compile: (code: string, fileName: string) => string; | ||
supportsTypescript: boolean; | ||
}; |
{ | ||
"name": "@adonisjs/repl", | ||
"description": "REPL for AdonisJS", | ||
"version": "4.0.0-8", | ||
"version": "4.0.0-9", | ||
"engines": { | ||
@@ -11,3 +11,5 @@ "node": ">=18.16.0" | ||
"files": [ | ||
"build" | ||
"build", | ||
"!build/bin", | ||
"!build/examples" | ||
], | ||
@@ -24,3 +26,4 @@ "exports": { | ||
"typecheck": "tsc --noEmit", | ||
"compile": "npm run lint && npm run clean && tsup-node", | ||
"precompile": "npm run lint && npm run clean", | ||
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration", | ||
"build": "npm run compile", | ||
@@ -35,25 +38,25 @@ "release": "np", | ||
"devDependencies": { | ||
"@adonisjs/eslint-config": "^1.1.8", | ||
"@adonisjs/prettier-config": "^1.1.8", | ||
"@adonisjs/tsconfig": "^1.1.8", | ||
"@commitlint/cli": "^17.8.0", | ||
"@commitlint/config-conventional": "^17.8.0", | ||
"@japa/assert": "^2.0.0", | ||
"@japa/runner": "^3.0.2", | ||
"@swc/core": "1.3.82", | ||
"@types/node": "^20.8.6", | ||
"@adonisjs/eslint-config": "^1.1.9", | ||
"@adonisjs/prettier-config": "^1.1.9", | ||
"@adonisjs/tsconfig": "^1.1.9", | ||
"@commitlint/cli": "^18.4.3", | ||
"@commitlint/config-conventional": "^18.4.3", | ||
"@japa/assert": "^2.0.1", | ||
"@japa/runner": "^3.1.0", | ||
"@swc/core": "^1.3.99", | ||
"@types/node": "^20.9.4", | ||
"c8": "^8.0.1", | ||
"del-cli": "^5.1.0", | ||
"eslint": "^8.51.0", | ||
"eslint": "^8.54.0", | ||
"github-label-sync": "^2.3.1", | ||
"husky": "^8.0.3", | ||
"np": "^8.0.4", | ||
"prettier": "^3.0.3", | ||
"prettier": "^3.1.0", | ||
"ts-node": "^10.9.1", | ||
"tsup": "^7.2.0", | ||
"typescript": "^5.2.2" | ||
"tsup": "^8.0.1", | ||
"typescript": "5.2.2" | ||
}, | ||
"dependencies": { | ||
"@poppinss/colors": "^4.1.0", | ||
"string-width": "^6.1.0" | ||
"@poppinss/colors": "^4.1.1", | ||
"string-width": "^7.0.0" | ||
}, | ||
@@ -105,4 +108,3 @@ "author": "virk,julien-r44,adonisjs", | ||
"entry": [ | ||
"./index.ts", | ||
"./src/types.ts" | ||
"./index.ts" | ||
], | ||
@@ -112,5 +114,6 @@ "outDir": "./build", | ||
"format": "esm", | ||
"dts": true, | ||
"dts": false, | ||
"sourcemap": true, | ||
"target": "esnext" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
30006
0
369
+ Addedget-east-asian-width@1.2.0(transitive)
+ Addedstring-width@7.2.0(transitive)
- Removedeastasianwidth@0.2.0(transitive)
- Removedstring-width@6.1.0(transitive)
Updated@poppinss/colors@^4.1.1
Updatedstring-width@^7.0.0