@tuprolog/2p-full 2.0.9 → 3.0.1

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.
package/2p-full.js CHANGED
@@ -1,8 +1,8 @@
1
1
  (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './2p-repl.js', './kotlin-kotlin-stdlib.js', './kt-math.js', './2p-solve-classic.js', './2p-solve-problog.js', './2p-solve-streams.js'], factory);
3
+ define(['exports', './2p-repl.js', './kotlin-kotlin-stdlib.js', './kt-math.js', './2p-solve-prolog.js', './2p-solve-problog.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./2p-repl.js'), require('./kotlin-kotlin-stdlib.js'), require('./kt-math.js'), require('./2p-solve-classic.js'), require('./2p-solve-problog.js'), require('./2p-solve-streams.js'));
5
+ factory(module.exports, require('./2p-repl.js'), require('./kotlin-kotlin-stdlib.js'), require('./kt-math.js'), require('./2p-solve-prolog.js'), require('./2p-solve-problog.js'));
6
6
  else {
7
7
  if (typeof globalThis['2p-repl'] === 'undefined') {
8
8
  throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency '2p-repl' was not found. Please, check whether '2p-repl' is loaded prior to 'it.unibo.tuprolog:full'.");
@@ -13,18 +13,15 @@
13
13
  if (typeof globalThis['kt-math'] === 'undefined') {
14
14
  throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency 'kt-math' was not found. Please, check whether 'kt-math' is loaded prior to 'it.unibo.tuprolog:full'.");
15
15
  }
16
- if (typeof globalThis['2p-solve-classic'] === 'undefined') {
17
- throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency '2p-solve-classic' was not found. Please, check whether '2p-solve-classic' is loaded prior to 'it.unibo.tuprolog:full'.");
16
+ if (typeof globalThis['2p-solve-prolog'] === 'undefined') {
17
+ throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency '2p-solve-prolog' was not found. Please, check whether '2p-solve-prolog' is loaded prior to 'it.unibo.tuprolog:full'.");
18
18
  }
19
19
  if (typeof globalThis['2p-solve-problog'] === 'undefined') {
20
20
  throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency '2p-solve-problog' was not found. Please, check whether '2p-solve-problog' is loaded prior to 'it.unibo.tuprolog:full'.");
21
21
  }
22
- if (typeof globalThis['2p-solve-streams'] === 'undefined') {
23
- throw new Error("Error loading module 'it.unibo.tuprolog:full'. Its dependency '2p-solve-streams' was not found. Please, check whether '2p-solve-streams' is loaded prior to 'it.unibo.tuprolog:full'.");
24
- }
25
- globalThis['it.unibo.tuprolog:full'] = factory(typeof globalThis['it.unibo.tuprolog:full'] === 'undefined' ? {} : globalThis['it.unibo.tuprolog:full'], globalThis['2p-repl'], globalThis['kotlin-kotlin-stdlib'], globalThis['kt-math'], globalThis['2p-solve-classic'], globalThis['2p-solve-problog'], globalThis['2p-solve-streams']);
22
+ globalThis['it.unibo.tuprolog:full'] = factory(typeof globalThis['it.unibo.tuprolog:full'] === 'undefined' ? {} : globalThis['it.unibo.tuprolog:full'], globalThis['2p-repl'], globalThis['kotlin-kotlin-stdlib'], globalThis['kt-math'], globalThis['2p-solve-prolog'], globalThis['2p-solve-problog']);
26
23
  }
27
- }(function (_, kotlin_it_unibo_tuprolog_repl, kotlin_kotlin, kotlin_io_github_gciatto_kt_math, kotlin_it_unibo_tuprolog_solve_classic, kotlin_it_unibo_tuprolog_solve_problog, kotlin_it_unibo_tuprolog_solve_streams) {
24
+ }(function (_, kotlin_it_unibo_tuprolog_repl, kotlin_kotlin, kotlin_io_github_gciatto_kt_math, kotlin_it_unibo_tuprolog_solve_prolog, kotlin_it_unibo_tuprolog_solve_problog) {
28
25
  'use strict';
29
26
  //region block: imports
30
27
  var main = kotlin_it_unibo_tuprolog_repl.$_$.a;
@@ -40,9 +37,8 @@
40
37
  //region block: exports
41
38
  kotlin_kotlin.$jsExportAll$(_);
42
39
  kotlin_io_github_gciatto_kt_math.$jsExportAll$(_);
43
- kotlin_it_unibo_tuprolog_solve_classic.$jsExportAll$(_);
40
+ kotlin_it_unibo_tuprolog_solve_prolog.$jsExportAll$(_);
44
41
  kotlin_it_unibo_tuprolog_solve_problog.$jsExportAll$(_);
45
- kotlin_it_unibo_tuprolog_solve_streams.$jsExportAll$(_);
46
42
  //endregion
47
43
  mainWrapper();
48
44
  return _;
package/2p-full.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt","../../../../../../src/jsMain/kotlin/it/unibo/tuprolog/PrologCLI.kt"],"sourcesContent":[null,null],"ignoreList":[0],"x_google_ignoreList":[0],"names":["main","args"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECYOA,gBAASC,IAATD,EAA8B;A,IAE5B,KAAK,IAAL,C;EACT,C;EDfA,qBAAA,EAAA;AAAA;AAAA,GAAA;;;;;;;;;;A;"}
1
+ {"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt","../../../../../../src/jsMain/kotlin/it/unibo/tuprolog/PrologCLI.kt"],"sourcesContent":[null,null],"ignoreList":[0],"x_google_ignoreList":[0],"names":["main","args"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECYOA,gBAASC,IAATD,EAA8B;A,IAE5B,KAAK,IAAL,C;EACT,C;EDfA,qBAAA,EAAA;AAAA;AAAA,GAAA;;;;;;;;;A;"}