@digabi/exam-engine-exams 19.9.10 → 19.9.13-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
package/A_E/A_E_fi-FI.mex CHANGED
Binary file
package/A_X/A_X_fi-FI.mex CHANGED
Binary file
package/FF/FF_fi-FI.mex CHANGED
Binary file
package/FF/FF_sv-FI.mex CHANGED
Binary file
package/GE/GE_fi-FI.mex CHANGED
Binary file
package/GE/GE_sv-FI.mex CHANGED
Binary file
package/N/N_fi-FI.mex CHANGED
Binary file
package/N/N_fi-FI_vi.mex CHANGED
Binary file
package/N/N_sv-FI.mex CHANGED
Binary file
package/SC/SC_fi-FI.mex CHANGED
Binary file
Binary file
package/SC/SC_sv-FI.mex CHANGED
Binary file
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,oEAAoE;AACpE,wBAAgB,SAAS,IAAI,MAAM,EAAE,CAIpC;AAED,0DAA0D;AAC1D,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEpD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,oEAAoE;AACpE,wBAAgB,SAAS,IAAI,MAAM,EAAE,CAEpC;AACD,0DAA0D;AAC1D,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEpD"}
package/dist/index.js CHANGED
@@ -1,16 +1,37 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
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
+ };
2
25
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
27
  };
5
28
  Object.defineProperty(exports, "__esModule", { value: true });
6
29
  exports.resolveExam = exports.listExams = void 0;
7
- const glob_1 = __importDefault(require("glob"));
30
+ const glob = __importStar(require("glob"));
8
31
  const path_1 = __importDefault(require("path"));
9
32
  /** Returns an array of all exam xml files in the exams directory */
10
33
  function listExams() {
11
- // Using glob.sync here for this to be easier to use in mocha `describe()` blocks.
12
- // Could refactor this to glob-promise when top-level await is available
13
- return glob_1.default.sync(resolveExam('*/*.xml'));
34
+ return glob.globSync(resolveExam('*/*.xml')).sort();
14
35
  }
15
36
  exports.listExams = listExams;
16
37
  /** Resolves a filename relative to the exams directory */
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAuB;AACvB,gDAAuB;AAEvB,oEAAoE;AACpE,SAAgB,SAAS;IACvB,mFAAmF;IACnF,wEAAwE;IACxE,OAAO,cAAI,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAA;AAC1C,CAAC;AAJD,8BAIC;AAED,0DAA0D;AAC1D,SAAgB,WAAW,CAAC,QAAgB;IAC1C,OAAO,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAA;AAChD,CAAC;AAFD,kCAEC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAC5B,gDAAuB;AAEvB,oEAAoE;AACpE,SAAgB,SAAS;IACvB,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;AACrD,CAAC;AAFD,8BAEC;AACD,0DAA0D;AAC1D,SAAgB,WAAW,CAAC,QAAgB;IAC1C,OAAO,cAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAA;AAChD,CAAC;AAFD,kCAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digabi/exam-engine-exams",
3
- "version": "19.9.10",
3
+ "version": "19.9.13-alpha.0",
4
4
  "author": "Matriculation Examination Board, Finland",
5
5
  "license": "EUPL-1.1",
6
6
  "main": "dist/index.js",
@@ -12,7 +12,7 @@
12
12
  "prepublishOnly": "find . -name '*.mex' -delete && find . -name '*.xml' -print0 | xargs -0 -n1 -P4 node ../cli/dist/index.js create-mex -p salasana -n nsa-scripts.zip -s security-codes.json -k \"${ANSWERS_PRIVATE_KEY:?must be set}\" "
13
13
  },
14
14
  "dependencies": {
15
- "@digabi/exam-engine-mastering": "19.9.10"
15
+ "@digabi/exam-engine-mastering": "19.9.13-alpha.0"
16
16
  },
17
- "gitHead": "9fc700f1c821cca8550d8743d341e27e0a3d824e"
17
+ "gitHead": "d4ebedf560e5e30987d9fbe3dfd53c746970594c"
18
18
  }