@playcanvas/attribute-parser
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"dependencies": { | ||
@@ -11,0 +11,0 @@ "@microsoft/tsdoc": "^0.15.0", |
import * as ts from 'typescript'; | ||
import { createSystem, createDefaultMapFromNodeModules, createVirtualTypeScriptEnvironment } from '@typescript/vfs'; | ||
import globalTypes from './global.types.js'; | ||
import { ScriptParser } from './parsers/script-parser.js'; | ||
@@ -11,2 +11,3 @@ import { createDefaultMapFromCDN, flatMapAnyNodes, getExportedNodes, getType, inheritsFrom, isAliasedClassDeclaration } from './utils/ts-utils.js'; | ||
strictPropertyInitialization: false, // Allow uninitialized properties | ||
skipLibCheck: true, // Skip type checking of declaration files | ||
target: ts.ScriptTarget.ES2022, // If this version changes, the types must be updated in the /rollup.config.mjs | ||
@@ -58,2 +59,5 @@ module: ts.ModuleKind.CommonJS, | ||
// Add global types to the parser | ||
this._env.createFile('/global.d.ts', globalTypes); | ||
return this; | ||
@@ -60,0 +64,0 @@ } |
@@ -24,4 +24,5 @@ import { Script, Asset } from 'playcanvas'; | ||
c; | ||
} | ||
export { Example }; |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
1760747
59
50456
2