quicktype-typescript-input 23.3.24 → 24.0.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.
Files changed (2) hide show
  1. package/dist/index.js +18 -9
  2. package/package.json +25 -22
package/dist/index.js CHANGED
@@ -15,15 +15,25 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.schemaForTypeScriptSources = void 0;
36
+ exports.schemaForTypeScriptSources = schemaForTypeScriptSources;
27
37
  const typescript_json_schema_1 = require("@mark.probst/typescript-json-schema");
28
38
  const quicktype_core_1 = require("quicktype-core");
29
39
  const ts = __importStar(require("typescript"));
@@ -114,4 +124,3 @@ function schemaForTypeScriptSources(sourceFileNames) {
114
124
  isConverted: true,
115
125
  };
116
126
  }
117
- exports.schemaForTypeScriptSources = schemaForTypeScriptSources;
package/package.json CHANGED
@@ -1,24 +1,27 @@
1
1
  {
2
- "name": "quicktype-typescript-input",
3
- "version": "23.3.24",
4
- "description": "Package for using TypeScript as an input language to quicktype",
5
- "license": "Apache-2.0",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "repository": "https://github.com/glideapps/quicktype",
9
- "scripts": {
10
- "clean": "rm -rf dist node_modules *~",
11
- "build": "tsc"
12
- },
13
- "dependencies": {
14
- "quicktype-core": "23.3.24",
15
- "typescript": "4.9.5",
16
- "@mark.probst/typescript-json-schema": "0.55.0"
17
- },
18
- "devDependencies": {
19
- "@types/node": "~22.14.0"
20
- },
21
- "files": [
22
- "dist"
23
- ]
2
+ "name": "quicktype-typescript-input",
3
+ "version": "24.0.0",
4
+ "description": "Package for using TypeScript as an input language to quicktype",
5
+ "license": "Apache-2.0",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "repository": "https://github.com/glideapps/quicktype",
9
+ "engines": {
10
+ "node": ">=20.0.0"
11
+ },
12
+ "scripts": {
13
+ "clean": "rm -rf dist node_modules *~",
14
+ "build": "node ../../node_modules/typescript/bin/tsc"
15
+ },
16
+ "dependencies": {
17
+ "quicktype-core": "24.0.0",
18
+ "typescript": "4.9.5",
19
+ "@mark.probst/typescript-json-schema": "0.55.0"
20
+ },
21
+ "devDependencies": {
22
+ "@types/node": "~20.19.0"
23
+ },
24
+ "files": [
25
+ "dist"
26
+ ]
24
27
  }