@waiting/shared-core
Advanced tools
Comparing version 21.5.0 to 21.6.0
export * from './asset.js'; | ||
export * from './cli.js'; | ||
export * from './consts.js'; | ||
@@ -3,0 +4,0 @@ export * from './date.js'; |
export * from './asset.js'; | ||
export * from './cli.js'; | ||
export * from './consts.js'; | ||
@@ -3,0 +4,0 @@ export * from './date.js'; |
@@ -1,3 +0,3 @@ | ||
import { PathPattern } from '@waiting/shared-types'; | ||
export declare function isPathMatchRules(path: string, rules?: PathPattern['match'] | PathPattern['ignore']): boolean; | ||
import type { MiddlewarePathPattern } from '@waiting/shared-types'; | ||
export declare function isPathMatchRules(path: string, rules?: MiddlewarePathPattern): boolean; | ||
//# sourceMappingURL=web.d.ts.map |
{ | ||
"name": "@waiting/shared-core", | ||
"author": "waiting", | ||
"version": "21.5.0", | ||
"version": "21.6.0", | ||
"description": "node core function re export with Promise or Observable", | ||
@@ -13,3 +13,8 @@ "keywords": [ | ||
"bin": {}, | ||
"types": "./dist/index.d.ts", | ||
"types": "dist/index.d.ts", | ||
"imports": { | ||
"#package.json": "./package.json", | ||
"##/*": "./src/*", | ||
"#@/*": "./test/*" | ||
}, | ||
"exports": { | ||
@@ -32,3 +37,3 @@ ".": { | ||
"dependencies": { | ||
"@waiting/shared-types": "^21.5.0", | ||
"@waiting/shared-types": "^21.6.0", | ||
"minimist": "^1.2.8", | ||
@@ -40,4 +45,3 @@ "rxjs": "^7.8.0", | ||
"devDependencies": { | ||
"@types/source-map-support": "^0.5.6", | ||
"undici": "^5.23.0" | ||
"undici": "^5.24.0" | ||
}, | ||
@@ -53,4 +57,6 @@ "engines": { | ||
"tsconfig.base.json", | ||
"asset", | ||
"src/**/*.ts", | ||
"bin/*.js", | ||
"bin", | ||
"database", | ||
"dist", | ||
@@ -65,17 +71,15 @@ "!**/*.spec.*", | ||
"build": "npm run tsc && tsc-alias && npm run rp", | ||
"clean": "npm run clean:lock && npm run clean:cache && npm run clean:dist && npm run clean:log", | ||
"clean": "npm run clean:lock && npm run clean:dist && npm run clean:log", | ||
"clean:cache": "rm -rf .eslintcache .tsbuildinfo", | ||
"clean:dist": "rm -rf dist/* .tsbuildinfo", | ||
"clean:lock": "rm package-lock.json -f", | ||
"clean:dist": "npm run clean:cache && rm -rf dist/*", | ||
"clean:lock": "rm -f package-lock.json", | ||
"clean:log": "rm -rf ./logs ./run", | ||
"cov": "cross-env TS_NODE_PROJECT=test/tsconfig.json c8 mocha --parallel=false", | ||
"cov": "c8 --all npm run test -- --parallel=false", | ||
"lint": "eslint --fix --cache {src,test}/**/*.ts", | ||
"lint:nofix": "eslint --cache {src,test}/**/*.ts", | ||
"purge": "npm run clean && rm node_modules -rf", | ||
"rp": "rollup -c rollup.config.js --context this", | ||
"test": "cross-env TS_NODE_PROJECT=test/tsconfig.json mocha", | ||
"test:local": "cross-env TS_NODE_PROJECT=test/tsconfig.json ../../node_modules/.bin/mocha", | ||
"tsc": "tsc -b " | ||
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha --jobs=4", | ||
"tsc": "tsc -b" | ||
}, | ||
"gitHead": "a0e4831705a6ded574191b53759237867d2b9d14" | ||
"gitHead": "bf1cb9cee25d993cc472540bc0e5fe015af007dc" | ||
} |
export * from './asset.js' | ||
export * from './cli.js' | ||
export * from './consts.js' | ||
@@ -4,0 +5,0 @@ export * from './date.js' |
@@ -1,2 +0,2 @@ | ||
import { PathPattern } from '@waiting/shared-types' | ||
import type { MiddlewarePathPattern } from '@waiting/shared-types' | ||
@@ -6,3 +6,3 @@ | ||
path: string, | ||
rules?: PathPattern['match'] | PathPattern['ignore'], | ||
rules?: MiddlewarePathPattern, | ||
): boolean { | ||
@@ -9,0 +9,0 @@ |
@@ -23,4 +23,4 @@ { | ||
"paths": { | ||
"~/*": ["./src/*"], | ||
"@/*": ["./test/*"] | ||
"##/*": ["src/*"], | ||
"#@/*": ["test/*"] | ||
}, | ||
@@ -48,3 +48,2 @@ "preserveConstEnums": true, | ||
"node_modules*", | ||
"test", | ||
"**/*.d.ts", | ||
@@ -56,6 +55,4 @@ "**/*.spec.ts" | ||
"experimentalResolver": true, | ||
"experimentalSpecifierResolution": "node", | ||
"preferTsExts": true, | ||
"transpileOnly": true | ||
"experimentalSpecifierResolution": "node" | ||
} | ||
} |
{ | ||
"extends": "./tsconfig.base.json" | ||
"extends": "./tsconfig.base.json", | ||
"compilerOptions": { | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1
107
3836
200311