Comparing version 0.6.1 to 0.6.2
@@ -8,2 +8,2 @@ /** | ||
*/ | ||
export declare const ion: import("i0n/dist/class").ION; | ||
export declare const log: import("i0n/dist/class").Ion; |
@@ -13,5 +13,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ion = void 0; | ||
exports.log = void 0; | ||
const i0n_1 = __importDefault(require("i0n")); | ||
exports.ion = i0n_1.default.create({}); | ||
exports.log = i0n_1.default.create({}); | ||
//# sourceMappingURL=index.js.map |
@@ -42,2 +42,3 @@ "use strict"; | ||
const typescript_1 = __importDefault(require("typescript")); | ||
// import {log} from '../log/index'; | ||
const utils = __importStar(require("../utils/index")); | ||
@@ -544,2 +545,6 @@ const t = __importStar(require("./types")); | ||
const primitive = node_type.intrinsicName; | ||
if (!primitive) { | ||
// log.warn(`'intrinsicName' was undefined. Cannot resolve primitive`); | ||
return t.PRIMITIVE.UNRESOLVED; | ||
} | ||
return primitive; | ||
@@ -546,0 +551,0 @@ } |
{ | ||
"name": "plutonio", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "A typescript library that scans your typescript project and generate a schema of all types and interfaces of the project.", | ||
@@ -50,5 +50,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"i0n": "^0.6.0", | ||
"i0n": "^0.8.1", | ||
"typescript": "^5.3.3" | ||
} | ||
} |
@@ -10,2 +10,2 @@ /** | ||
import i0n from 'i0n'; | ||
export const ion = i0n.create({}); | ||
export const log = i0n.create({}); |
@@ -11,2 +11,3 @@ /** | ||
import ts from 'typescript'; | ||
// import {log} from '../log/index'; | ||
import * as utils from '../utils/index'; | ||
@@ -672,2 +673,6 @@ import * as t from './types'; | ||
const primitive = (node_type as any).intrinsicName; | ||
if (!primitive) { | ||
// log.warn(`'intrinsicName' was undefined. Cannot resolve primitive`); | ||
return t.PRIMITIVE.UNRESOLVED; | ||
} | ||
return primitive; | ||
@@ -674,0 +679,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109718
2497
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedbl@4.1.0(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcli-cursor@3.1.0(transitive)
+ Addedclone@1.0.4(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addeddefaults@1.0.4(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedi0n@0.8.1(transitive)
+ Addedis-interactive@1.0.0(transitive)
+ Addedis-unicode-supported@0.1.0(transitive)
+ Addedlog-symbols@4.1.0(transitive)
+ Addedora-classic@5.4.2(transitive)
+ Addedrestore-cursor@3.1.0(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedw3i@0.2.0(transitive)
+ Addedwcwidth@1.0.1(transitive)
- Removedansi-regex@6.1.0(transitive)
- Removedbl@5.1.0(transitive)
- Removedbuffer@6.0.3(transitive)
- Removedchalk@5.3.0(transitive)
- Removedcli-cursor@4.0.0(transitive)
- Removedeastasianwidth@0.2.0(transitive)
- Removedemoji-regex@10.4.0(transitive)
- Removedi0n@0.6.1(transitive)
- Removedis-interactive@2.0.0(transitive)
- Removedis-unicode-supported@1.3.0(transitive)
- Removedlog-symbols@5.1.0(transitive)
- Removedora@7.0.1(transitive)
- Removedrestore-cursor@4.0.0(transitive)
- Removedstdin-discarder@0.1.0(transitive)
- Removedstring-width@6.1.0(transitive)
- Removedstrip-ansi@7.1.0(transitive)
Updatedi0n@^0.8.1