Socket
Socket
Sign inDemoInstall

egg-ts-helper

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

egg-ts-helper - npm Package Compare versions

Comparing version 1.25.8 to 1.25.9

1

dist/config.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.declMapping = exports.dtsComment = exports.dtsCommentRE = exports.eggInfoPath = exports.tmpDir = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const path_1 = tslib_1.__importDefault(require("path"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const utils = tslib_1.__importStar(require("../utils"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const debug_1 = tslib_1.__importDefault(require("debug"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.checkConfigReturnType = exports.defaultConfig = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const fs_1 = tslib_1.__importDefault(require("fs"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = exports.isPrivate = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const config_1 = require("../config");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isPrivate = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const path_1 = tslib_1.__importDefault(require("path"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const debug_1 = tslib_1.__importDefault(require("debug"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const utils = tslib_1.__importStar(require("../utils"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const utils = tslib_1.__importStar(require("../utils"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultConfig = exports.isPrivate = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const path_1 = tslib_1.__importDefault(require("path"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createTsHelperInstance = exports.getDefaultWatchDirs = exports.defaultConfig = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const assert_1 = tslib_1.__importDefault(require("assert"));

6

dist/register.js

@@ -6,3 +6,2 @@ "use strict";

const debug_1 = tslib_1.__importDefault(require("debug"));
const dot_prop_1 = require("dot-prop");
const _1 = require("./");

@@ -31,6 +30,3 @@ const util = tslib_1.__importStar(require("./utils"));

else {
const tsNodeMode = dot_prop_1.get(util.getPkgInfo(cwd), 'egg.typescript') ||
process.argv.includes('--ts') ||
process.argv.includes('--typescript') ||
process.env.EGG_TYPESCRIPT === 'true';
const tsNodeMode = process.env.EGG_TYPESCRIPT === 'true';
// no need to clean in js project

@@ -37,0 +33,0 @@ // clean local js file at first.

@@ -69,3 +69,3 @@ import ts from 'typescript';

};
export declare function modifierHas(node: ts.Node, kind: any): ts.Token<ts.SyntaxKind.AbstractKeyword> | ts.Token<ts.SyntaxKind.AsyncKeyword> | ts.Token<ts.SyntaxKind.ConstKeyword> | ts.Token<ts.SyntaxKind.DeclareKeyword> | ts.Token<ts.SyntaxKind.DefaultKeyword> | ts.Token<ts.SyntaxKind.ExportKeyword> | ts.Token<ts.SyntaxKind.PublicKeyword> | ts.Token<ts.SyntaxKind.PrivateKeyword> | ts.Token<ts.SyntaxKind.ProtectedKeyword> | ts.Token<ts.SyntaxKind.ReadonlyKeyword> | ts.Token<ts.SyntaxKind.StaticKeyword> | undefined;
export declare function modifierHas(node: ts.Node, kind: any): ts.Modifier | undefined;
//# sourceMappingURL=utils.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.modifierHas = exports.findExportNode = exports.loadTsConfig = exports.camelProp = exports.formatProp = exports.readJson = exports.getPkgInfo = exports.parseJson = exports.extend = exports.requireFile = exports.moduleExist = exports.resolveModule = exports.removeSameNameJs = exports.toArray = exports.formatPath = exports.getModuleObjByPath = exports.cleanJs = exports.writeFileSync = exports.getImportStr = exports.log = exports.pickFields = exports.strToFn = exports.loadModules = exports.checkMaybeIsJsProj = exports.checkMaybeIsTsProj = exports.writeTsConfig = exports.writeJsConfig = exports.loadFiles = exports.isIdentifierName = exports.convertString = exports.getEggInfo = exports.TS_CONFIG = exports.JS_CONFIG = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const fs_1 = tslib_1.__importDefault(require("fs"));

@@ -6,5 +6,5 @@ /// <reference types="node" />

export interface BaseWatchItem {
ref: string;
ref?: string;
directory: string;
generator: string;
generator?: string;
enabled?: boolean;

@@ -11,0 +11,0 @@ ignore?: string | string[];

1.25.9 / 2021-04-23
==================
**fixes**
* [[`e0f067e`](http://github.com/whxaxes/egg-ts-helper/commit/e0f067e5d7f1c9ac21fdf03357a6c7b120eaac56)] - fix: remove ts args checking (#73) (吖猩 <<whxaxes@gmail.com>>)
1.25.8 / 2020-04-30

@@ -3,0 +9,0 @@ ==================

{
"name": "egg-ts-helper",
"version": "1.25.8",
"version": "1.25.9",
"description": "egg typescript helper",

@@ -46,4 +46,4 @@ "bin": {

"ts-node": "^7.0.0",
"tslib": "^1.9.3",
"typescript": "^3.0.0",
"tslib": "^2.0.0",
"typescript": "^4.0.0",
"yn": "^3.0.0"

@@ -50,0 +50,0 @@ },

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

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

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

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