ts-morph-extensions 2.24.0-alpha.5 → 2.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ class Parameter {
6
6
  this.node = node;
7
7
  }
8
8
  get name() {
9
- return this.node.getName();
9
+ return this.node.getName().replace(/^_/, '');
10
10
  }
11
11
  isNotProvided(by) {
12
12
  return !this.isProvided(by);
@@ -1 +1 @@
1
- {"version":3,"file":"parameter.js","sourceRoot":"","sources":["../../src/dto/parameter.ts"],"names":[],"mappings":";;;AAGA,MAAa,SAAS;IACpB,YAA4B,IAA0B;QAA1B,SAAI,GAAJ,IAAI,CAAsB;IAAI,CAAC;IAE3D,IAAW,IAAI;QACb,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;IAC7B,CAAC;IAEM,aAAa,CAAC,EAAc;QACjC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IAC9B,CAAC;IAEM,UAAU,CAAC,EAAc;QAC9B,OAAO,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;CACF;AAdD,8BAcC"}
1
+ {"version":3,"file":"parameter.js","sourceRoot":"","sources":["../../src/dto/parameter.ts"],"names":[],"mappings":";;;AAGA,MAAa,SAAS;IACpB,YAA4B,IAA0B;QAA1B,SAAI,GAAJ,IAAI,CAAsB;IAAI,CAAC;IAE3D,IAAW,IAAI;QACb,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAC/C,CAAC;IAEM,aAAa,CAAC,EAAc;QACjC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC;IAC9B,CAAC;IAEM,UAAU,CAAC,EAAc;QAC9B,OAAO,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,KAAK,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1D,CAAC;CACF;AAdD,8BAcC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-morph-extensions",
3
- "version": "2.24.0-alpha.5",
3
+ "version": "2.25.0",
4
4
  "description": "Extensions and utilities for working with ts-morph projects and TypeScript configurations",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",