Comparing version 0.13.1 to 0.14.0
@@ -43,6 +43,3 @@ /* Copyright (c) 2021-2023 Richard Rodger, MIT License */ | ||
let opts = util.options(src, popts) | ||
// console.log('AONTU opts', opts) | ||
let deps = {} | ||
let val = util.parse(opts, { deps }) | ||
@@ -49,0 +46,0 @@ let uni = new Unify(val as unknown as Val) |
@@ -39,3 +39,2 @@ "use strict"; | ||
let opts = util.options(src, popts); | ||
// console.log('AONTU opts', opts) | ||
let deps = {}; | ||
@@ -42,0 +41,0 @@ let val = util.parse(opts, { deps }); |
@@ -268,3 +268,2 @@ "use strict"; | ||
function makeModelResolver(options) { | ||
// console.log('AONTU lang', options) | ||
var _a, _b; | ||
@@ -327,8 +326,6 @@ const useRequire = options.require || require; | ||
parse(src, opts) { | ||
// console.log('AONTU lang parse', this.options) | ||
// JSONIC-UPDATE - check meta | ||
let jm = { | ||
multisource: { | ||
// NOTE: multisource has property `path` NOT `base` | ||
path: this.options.base, | ||
path: this.options.path, | ||
deps: (opts && opts.deps) || undefined | ||
@@ -361,3 +358,2 @@ } | ||
} | ||
// console.log('LANG VAL', val) | ||
return val; | ||
@@ -364,0 +360,0 @@ } |
@@ -8,2 +8,3 @@ import { Resolver } from '@jsonic/multisource'; | ||
base?: string; | ||
path?: string; | ||
}; | ||
@@ -10,0 +11,0 @@ interface Val { |
@@ -395,4 +395,2 @@ /* Copyright (c) 2021-2023 Richard Rodger, MIT License */ | ||
function makeModelResolver(options: any) { | ||
// console.log('AONTU lang', options) | ||
const useRequire = options.require || require | ||
@@ -478,10 +476,6 @@ | ||
parse(src: string, opts?: any): Val { | ||
// console.log('AONTU lang parse', this.options) | ||
// JSONIC-UPDATE - check meta | ||
let jm: any = { | ||
multisource: { | ||
// NOTE: multisource has property `path` NOT `base` | ||
path: this.options.base, | ||
path: this.options.path, | ||
deps: (opts && opts.deps) || undefined | ||
@@ -519,4 +513,2 @@ } | ||
// console.log('LANG VAL', val) | ||
return val | ||
@@ -523,0 +515,0 @@ } |
@@ -21,2 +21,3 @@ /* Copyright (c) 2022-2023 Richard Rodger, MIT License */ | ||
base?: string, // Base path for resolver | ||
path?: string, // Path of entry file | ||
} | ||
@@ -23,0 +24,0 @@ |
{ | ||
"name": "aontu", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"main": "dist/aontu.js", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
346499
4578