Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kmore-cli

Package Overview
Dependencies
Maintainers
1
Versions
188
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kmore-cli - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# 3.1.0 (2021-04-25)
### Features
* **kmore-cli:** current path if opts.project is relative file ([aaea903](https://github.com/waitingsong/kmore/commit/aaea9034f1e0b45062bc97efdd85917bbbe94917))
# 3.0.0 (2021-04-23)

@@ -8,0 +19,0 @@

10

dist/bin/kmore-cli.js

@@ -7,3 +7,3 @@ #!/usr/bin/env node

*
* @version 2.0.5
* @version 3.0.0
* @author waiting

@@ -92,3 +92,9 @@ * @license MIT

}
if (!opts.project) {
if (opts.project) {
const project = opts.project.replace(/\\/ug, '/');
if (project.startsWith('.') || !project.includes('/')) {
opts.project = `${process.cwd()}/${project}`;
}
}
else {
const tsopts = {

@@ -95,0 +101,0 @@ cache: tsconfigResolver.CacheStrategy.Directory,

@@ -5,3 +5,3 @@ /**

*
* @version 2.0.5
* @version 3.0.0
* @author waiting

@@ -52,3 +52,9 @@ * @license MIT

}
if (!opts.project) {
if (opts.project) {
const project = opts.project.replace(/\\/ug, '/');
if (project.startsWith('.') || !project.includes('/')) {
opts.project = `${process.cwd()}/${project}`;
}
}
else {
const tsopts = {

@@ -55,0 +61,0 @@ cache: tsconfigResolver.CacheStrategy.Directory,

8

dist/lib/transformer.js

@@ -26,3 +26,9 @@ import { pathResolve, readFileLineRx, } from '@waiting/shared-core';

}
if (!opts.project) {
if (opts.project) {
const project = opts.project.replace(/\\/ug, '/');
if (project.startsWith('.') || !project.includes('/')) {
opts.project = `${process.cwd()}/${project}`;
}
}
else {
const tsopts = {

@@ -29,0 +35,0 @@ cache: CacheStrategy.Directory,

{
"name": "kmore-cli",
"author": "waiting",
"version": "3.0.0",
"version": "3.1.0",
"description": "Command line to generate dicts from ts source files for kmore",

@@ -33,3 +33,3 @@ "keywords": [

"@waiting/shared-types-dev": "2",
"kmore-types": "^3.0.0",
"kmore-types": "^3.1.0",
"rxjs": "6",

@@ -98,3 +98,3 @@ "rxwalker": "3",

},
"gitHead": "35a1501ffd04f87eae83654fcf8c09a449b1ab88"
"gitHead": "a435d32072f63ce3dec5e7c8d2c789805ee480c8"
}

@@ -40,3 +40,9 @@ import {

if (! opts.project) {
if (opts.project) {
const project = opts.project.replace(/\\/ug, '/')
if (project.startsWith('.') || ! project.includes('/')) {
opts.project = `${process.cwd()}/${project}`
}
}
else {
const tsopts: TsConfigResolverOptions = {

@@ -43,0 +49,0 @@ cache: CacheStrategy.Directory,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc