ts-creator
Advanced tools
Comparing version 1.1.10-10f5e592 to 1.1.10-69ce820f
{ | ||
"name": "ts-creator", | ||
"version": "1.1.10-10f5e592", | ||
"version": "1.1.10-69ce820f", | ||
"description": "A code generator to generate TypeScript code generator from TypeScript code", | ||
@@ -8,5 +8,5 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"build": "cross-env NODE_ENV=production webpack --config webpack.config.js", | ||
"dev": "webpack --config webpack.config.js", | ||
"test": "webpack --config webpack.test.config.js && node ./dist/tests/index.js", | ||
"build": "cross-env NODE_OPTIONS=--max_old_space_size=4096 NODE_ENV=production webpack --config webpack.config.js", | ||
"dev": "cross-env NODE_OPTIONS=--max_old_space_size=4096 webpack --config webpack.config.js", | ||
"test": "cross-env NODE_OPTIONS=--max_old_space_size=4096 webpack --config webpack.test.config.js && node ./dist/tests/index.js", | ||
"lint": "prettier --config ./prettier.json --list-different ./src/**/* ./tests/**/*", | ||
@@ -13,0 +13,0 @@ "prettier": "prettier --config ./prettier.json --write ./src/**/* ./tests/**/*" |
import { transformSourceFile } from './transformer' | ||
import { Options as PrettierOptions, format } from 'prettier' | ||
import { createPrinter, createSourceFile, ScriptTarget } from 'typescript' | ||
import tsPlugin from 'prettier-typescript-plugins' | ||
import { Options as PrettierOptions, format } from 'prettier/standalone' | ||
import tsPlugin from 'prettier/parser-typescript' | ||
@@ -7,0 +7,0 @@ export interface Options { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
17
14532230
1
4538
3
2
2