Socket
Socket
Sign inDemoInstall

ts-morph

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-morph - npm Package Compare versions

Comparing version 12.2.0 to 13.0.0

68

package.json
{
"name": "ts-morph",
"version": "12.2.0",
"version": "13.0.0",
"description": "TypeScript compiler wrapper for static analysis and code manipulation.",

@@ -11,28 +11,24 @@ "main": "dist/ts-morph.js",

"build:node": "rimraf dist && rollup -c ",
"build:deno": "rimraf dist-deno && rollup -c --environment BUILD:deno && ts-node scripts/buildDeno.ts",
"build:declarations": "ts-node --transpile-only scripts/generation/main create-declaration-file",
"test": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" mocha",
"build:deno": "rimraf dist-deno && rollup -c --environment BUILD:deno && deno run -A scripts/buildDeno.ts",
"build:declarations": "deno run -A scripts/generation/main.ts create-declaration-file",
"test": "cross-env TS_NODE_TRANSPILE_ONLY=\"true\" mocha",
"test:debug": "npm run test --inspect-brk",
"test:watch": "npm run test --watch-extensions ts --watch",
"test:ci": "npm run test",
"test:ts-versions": "ts-node --transpile-only scripts/test/testTypeScriptVersions",
"test:coverage": "cross-env TS_NODE_COMPILER=\"ttypescript\" TS_NODE_TRANSPILE_ONLY=\"true\" nyc --reporter=lcov mocha",
"test:performance": "npm run build && node ./dist/tests/performance/run.js",
"test:performance-save": "npm run test:performance --save",
"test:ts-versions": "deno run -A scripts/test/testTypeScriptVersions.ts",
"type-check": "npm run type-check:library && npm run type-check:scripts",
"type-check:library": "ts-node --transpile-only scripts/typeCheckLibrary",
"type-check:library": "deno run -A scripts/typeCheckLibrary.ts",
"type-check:scripts": "tsc --noEmit --project scripts/tsconfig.json",
"code-generate": "ts-node --transpile-only --compiler ttypescript scripts/generation/main",
"refactor": "ts-node --transpile-only scripts/refactor",
"output-wrapped-nodes": "ts-node --transpile-only scripts/generation/outputWrappedNodesInfo",
"code-generate": "deno run -A scripts/generation/main.ts",
"output-wrapped-nodes": "deno run -A scripts/generation/outputWrappedNodesInfo.ts",
"package": "npm run build",
"publish-code-verification": "npm run code-verification && npm run ensure-no-declaration-file-errors",
"code-verification": "ts-node --transpile-only scripts/verification/main ensure-structures-match-classes ensure-overload-structures-match ensure-array-inputs-readonly ensure-classes-implement-structure-methods ensure-mixin-not-applied-multiple-times validate-public-api-class-member-names validate-compiler-node-to-wrapped-type validate-code-fences",
"ensure-structures-match-classes": "ts-node --transpile-only scripts/verification/main ensure-structures-match-classes",
"ensure-overload-structures-match": "ts-node --transpile-only scripts/verification/main ensure-overload-structures-match",
"ensure-no-project-compile-errors": "ts-node --transpile-only scripts/verification/ensureNoProjectCompileErrors",
"ensure-no-declaration-file-errors": "ts-node --transpile-only scripts/verification/ensureNoDeclarationFileErrors",
"ensure-array-inputs-readonly": "ts-node --transpile-only scripts/verification/main ensure-array-inputs-readonly",
"ensure-or-throw-exists": "ts-node --transpile-only scripts/verification/main ensure-or-throw-exists",
"type-check-docs": "ts-node --transpile-only scripts/typeCheckDocumentation.ts"
"code-verification": "deno run -A scripts/verification/main.ts ensure-structures-match-classes ensure-overload-structures-match ensure-array-inputs-readonly ensure-classes-implement-structure-methods ensure-mixin-not-applied-multiple-times validate-public-api-class-member-names validate-compiler-node-to-wrapped-type validate-code-fences",
"ensure-structures-match-classes": "deno run -A scripts/verification/main.ts ensure-structures-match-classes",
"ensure-overload-structures-match": "deno run -A scripts/verification/main.ts ensure-overload-structures-match",
"ensure-no-project-compile-errors": "deno run -A scripts/verification/ensureNoProjectCompileErrors.ts",
"ensure-no-declaration-file-errors": "deno run -A scripts/verification/ensureNoDeclarationFileErrors.ts",
"ensure-array-inputs-readonly": "deno run -A scripts/verification/main ensure-array-inputs-readonly.ts",
"ensure-or-throw-exists": "deno run -A scripts/verification/main ensure-or-throw-exists.ts",
"type-check-docs": "deno run -A scripts/typeCheckDocumentation.ts"
},

@@ -53,20 +49,5 @@ "repository": "git+https://github.com/dsherret/ts-morph.git",

"homepage": "https://github.com/dsherret/ts-morph#readme",
"nyc": {
"extension": [
".ts",
".tsx"
],
"include": [
"src/**/*.ts",
"!src/tests/**/*.ts",
"!src/structures/utils/forEachStructureChild.ts"
],
"reporter": [
"html"
],
"all": true
},
"dependencies": {
"@ts-morph/common": "~0.11.1",
"code-block-writer": "^10.1.1"
"@ts-morph/common": "~0.12.0",
"code-block-writer": "^11.0.0"
},

@@ -77,5 +58,3 @@ "devDependencies": {

"@types/mocha": "^9.0.0",
"@types/node": "^16.11.6",
"@types/ts-nameof": "^4.2.1",
"@ts-morph/scripts": "~0.2.0",
"@types/node": "^16.11.7",
"chai": "^4.3.4",

@@ -86,10 +65,7 @@ "conditional-type-checks": "^1.0.5",

"mocha": "9.1.3",
"nyc": "15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.58.3",
"rollup-plugin-typescript2": "^0.30.0",
"ts-nameof": "^5.0.0",
"rollup": "^2.60.0",
"rollup-plugin-typescript2": "^0.31.0",
"ts-node": "10.4.0",
"ttypescript": "1.5.12",
"typescript": "~4.4.4"
"typescript": "~4.5.2"
},

@@ -96,0 +72,0 @@ "standard-version": {

@@ -21,3 +21,3 @@ # ts-morph

3. All changes are kept in memory (including file and directory moves) until specifying to save to the underlying file system.
4. Changes are made to the text and wrapped nodes can be held onto between manipulations.
4. Changes are made to the text and wrapped nodes can be held on to between manipulations.

@@ -24,0 +24,0 @@ ## Getting Started

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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