math-exercises 3.0.126 → 3.0.127

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.
Files changed (64) hide show
  1. package/lib/exercises/math/calcul/mentalCaluls/mentalProgramSolve.d.ts +1 -1
  2. package/lib/exercises/math/calcul/mentalCaluls/mentalProgramSolve.d.ts.map +1 -1
  3. package/lib/exercises/math/calcul/mentalCaluls/mentalProgramSolve.js +56 -42
  4. package/lib/exercises/math/calcul/ordering/compareABUsingQuotient.d.ts.map +1 -1
  5. package/lib/exercises/math/calcul/ordering/compareABUsingQuotient.js +5 -103
  6. package/lib/exercises/math/calcul/ordering/compareFracABWithFracAPlusCBPlusC.d.ts.map +1 -1
  7. package/lib/exercises/math/calcul/ordering/compareFracABWithFracAPlusCBPlusC.js +22 -8
  8. package/lib/exercises/math/calcul/ordering/compareFracAndDec.d.ts.map +1 -1
  9. package/lib/exercises/math/calcul/ordering/compareFracAndDec.js +7 -6
  10. package/lib/exercises/math/calcul/ordering/compareWithSquareRoots.d.ts.map +1 -1
  11. package/lib/exercises/math/calcul/ordering/compareWithSquareRoots.js +4 -4
  12. package/lib/exercises/math/calculLitteral/equation/equationFromProblem.d.ts.map +1 -1
  13. package/lib/exercises/math/calculLitteral/equation/equationFromProblem.js +57 -17
  14. package/lib/exercises/math/calculLitteral/isolate/isolateUInInvXPlusInvYEqualsInvU.d.ts.map +1 -1
  15. package/lib/exercises/math/calculLitteral/isolate/isolateUInInvXPlusInvYEqualsInvU.js +6 -27
  16. package/lib/exercises/math/calculLitteral/ordering/compareAMinusB.d.ts.map +1 -1
  17. package/lib/exercises/math/calculLitteral/ordering/compareAMinusB.js +3 -5
  18. package/lib/exercises/math/calculLitteral/ordering/compareFromPiMinusFrac.js +1 -1
  19. package/lib/exercises/math/calculLitteral/writing/writeLitExpFromFrenchExp.d.ts.map +1 -1
  20. package/lib/exercises/math/calculLitteral/writing/writeLitExpFromFrenchExp.js +69 -23
  21. package/lib/exercises/math/conversion/kmPerMinToKmPerHourConversion.d.ts +4 -1
  22. package/lib/exercises/math/conversion/kmPerMinToKmPerHourConversion.d.ts.map +1 -1
  23. package/lib/exercises/math/conversion/kmPerMinToKmPerHourConversion.js +52 -34
  24. package/lib/exercises/math/conversion/prefixToNumber.d.ts.map +1 -1
  25. package/lib/exercises/math/conversion/prefixToNumber.js +14 -4
  26. package/lib/exercises/math/conversion/secondsToHours.js +1 -1
  27. package/lib/exercises/math/dataRepresentations/barChartInterpreting.d.ts +5 -2
  28. package/lib/exercises/math/dataRepresentations/barChartInterpreting.d.ts.map +1 -1
  29. package/lib/exercises/math/dataRepresentations/barChartInterpreting.js +47 -31
  30. package/lib/exercises/math/dataRepresentations/cartesianGraphExtremaReading.d.ts.map +1 -1
  31. package/lib/exercises/math/dataRepresentations/cartesianGraphExtremaReading.js +5 -4
  32. package/lib/exercises/math/dataRepresentations/dataToGraphGraphToData.js +4 -4
  33. package/lib/exercises/math/dataRepresentations/graphReading.js +13 -13
  34. package/lib/exercises/math/dataRepresentations/histogramReading.d.ts.map +1 -1
  35. package/lib/exercises/math/dataRepresentations/histogramReading.js +32 -32
  36. package/lib/exercises/math/dataRepresentations/plausibleGraph.d.ts.map +1 -1
  37. package/lib/exercises/math/dataRepresentations/plausibleGraph.js +53 -4
  38. package/lib/exercises/math/functions/affines/coordsOfPointOnAffineFindX.d.ts.map +1 -1
  39. package/lib/exercises/math/functions/affines/coordsOfPointOnAffineFindX.js +17 -3
  40. package/lib/exercises/math/functions/affines/coordsOfPointOnAffineFindY.d.ts.map +1 -1
  41. package/lib/exercises/math/functions/affines/coordsOfPointOnAffineFindY.js +27 -9
  42. package/lib/exercises/math/functions/affines/drawAffineFromProgCalc.d.ts.map +1 -1
  43. package/lib/exercises/math/functions/affines/drawAffineFromProgCalc.js +33 -16
  44. package/lib/exercises/math/functions/affines/representationOfAffine.d.ts +3 -0
  45. package/lib/exercises/math/functions/affines/representationOfAffine.d.ts.map +1 -1
  46. package/lib/exercises/math/functions/affines/representationOfAffine.js +121 -30
  47. package/lib/exercises/math/functions/basics/coordsOfPointOnCurveFindY.d.ts.map +1 -1
  48. package/lib/exercises/math/functions/basics/coordsOfPointOnCurveFindY.js +29 -10
  49. package/lib/exercises/math/functions/composition/functionComposition.d.ts.map +1 -1
  50. package/lib/exercises/math/functions/composition/functionComposition.js +2 -2
  51. package/lib/exercises/math/probaStat/basicProbas/possibleValuesForProba.d.ts.map +1 -1
  52. package/lib/exercises/math/probaStat/basicProbas/possibleValuesForProba.js +24 -9
  53. package/lib/exercises/math/probaStat/conditionalProbaWriteFromFrench.d.ts.map +1 -1
  54. package/lib/exercises/math/probaStat/conditionalProbaWriteFromFrench.js +9 -5
  55. package/lib/exercises/math/probaStat/probaAsSumOfProbas.d.ts +0 -1
  56. package/lib/exercises/math/probaStat/probaAsSumOfProbas.d.ts.map +1 -1
  57. package/lib/exercises/math/probaStat/probaAsSumOfProbas.js +13 -14
  58. package/lib/exercises/math/probaStat/stats1var/interpretIndicatorsForLists.d.ts.map +1 -1
  59. package/lib/exercises/math/probaStat/stats1var/interpretIndicatorsForLists.js +2 -3
  60. package/lib/exercises/math/probaStat/stats1var/plausibilityOfAverage.d.ts.map +1 -1
  61. package/lib/exercises/math/probaStat/stats1var/plausibilityOfAverage.js +26 -25
  62. package/lib/index.d.ts +10 -5
  63. package/lib/index.d.ts.map +1 -1
  64. package/package.json +1 -1
@@ -4,7 +4,6 @@ type Identifiers = {
4
4
  indexSituation: number;
5
5
  eventIds: EventIdentifiers;
6
6
  arrProba: NodeIdentifiers[];
7
- isProbasAreNumbers: boolean;
8
7
  };
9
8
  type EventIdentifiers = {
10
9
  type: "elementary";
@@ -1 +1 @@
1
- {"version":3,"file":"probaAsSumOfProbas.d.ts","sourceRoot":"","sources":["../../../../src/exercises/math/probaStat/probaAsSumOfProbas.ts"],"names":[],"mappings":"AACA,OAAO,EACL,QAAQ,EAkBT,MAAM,mBAAmB,CAAC;AAK3B,OAAO,EAEL,eAAe,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MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,CAAC,EAAE,eAAe,CAAC;CACpB,GACD;IACE,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,CAAC,EAAE,eAAe,CAAC;IACnB,WAAW,EAAE,gBAAgB,EAAE,CAAC;IAChC,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AA4eN,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,kBAAkB,EAAE,OAAO,EAAE,CAAC;CAC/B,CAAC;AAyTF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,WAAW,EAAE,OAAO,CAe7D,CAAC"}
@@ -250,7 +250,8 @@ class FiniteProbDistr {
250
250
  }
251
251
  }
252
252
  const getInstruction = (identifiers) => {
253
- const { indexSituation, eventIds, arrProba, isProbasAreNumbers } = identifiers;
253
+ const { indexSituation, eventIds, arrProba } = identifiers;
254
+ const isProbasAreNumbers = true;
254
255
  const situation = arrayOfSituations[indexSituation];
255
256
  const finiteProbDistr = FiniteProbDistrConstructor.fromArrProba(arrProba.map((nodeIds) => NodeConstructor.fromIdentifiers(nodeIds)));
256
257
  let instruction = `${situation.str}`;
@@ -281,8 +282,9 @@ const getAnswerValueNode = (identifiers) => {
281
282
  return nodeSumSimplified;
282
283
  };
283
284
  const getAnswerNode = (identifiers) => {
284
- const { eventIds, isProbasAreNumbers } = identifiers;
285
+ const { eventIds } = identifiers;
285
286
  const evUnion = EventConstructor.fromIdentifiers(eventIds);
287
+ const isProbasAreNumbers = true;
286
288
  if (isProbasAreNumbers) {
287
289
  return getAnswerValueNode(identifiers);
288
290
  }
@@ -294,17 +296,11 @@ const getAnswer = (identifiers) => {
294
296
  return getAnswerNode(identifiers).toTex();
295
297
  };
296
298
  const getHint = () => {
297
- return `Les issues élémentaires sont mutuellement exclusives : Elles ne peuvent pas se produire en même temps.
298
- Si on prend deux issues élémentaires $E_1$ et $E_2$, alors:
299
-
300
- $$
301
- P(E_1 \\cap E_2) = 0
302
- $$
303
-
304
- Cela permet de calculer facilement la probabilité de l'union d'évènements élémentaires.`;
299
+ return `La probabilité d’un événement peut se calculer comme la somme des issues élémentaires qui le composent.`;
305
300
  };
306
301
  const getCorrection = (identifiers) => {
307
- const { eventIds, arrProba, isProbasAreNumbers } = identifiers;
302
+ const { eventIds, arrProba } = identifiers;
303
+ const isProbasAreNumbers = true;
308
304
  const evUnion = EventConstructor.fromIdentifiers(eventIds);
309
305
  let strCorrection = `Les issues élémentaires sont mutuellement exclusives.
310
306
  La probabilité de l'évènement "${eventIds.str}" est la somme des probabilités des issues élémentaires dont il est l'union.`;
@@ -377,7 +373,8 @@ const options = [
377
373
  },
378
374
  ];
379
375
  const getKeys = (identifiers) => {
380
- const { indexSituation, arrProba, isProbasAreNumbers } = identifiers;
376
+ const { indexSituation, arrProba } = identifiers;
377
+ const isProbasAreNumbers = true;
381
378
  const situation = arrayOfSituations[indexSituation];
382
379
  return [
383
380
  ...[
@@ -406,7 +403,8 @@ const getKeys = (identifiers) => {
406
403
  ];
407
404
  };
408
405
  const getPropositions = (n, { answer, ...identifiers }) => {
409
- const { eventIds, arrProba, isProbasAreNumbers } = identifiers;
406
+ const { eventIds, arrProba } = identifiers;
407
+ const isProbasAreNumbers = true;
410
408
  const evUnion = EventConstructor.fromIdentifiers(eventIds);
411
409
  const propositions = [];
412
410
  addValidProp(propositions, answer);
@@ -487,7 +485,8 @@ const getValueNode = (tex, arrProba) => {
487
485
  });
488
486
  };
489
487
  const isAnswerValid = (ans, { answer, ...identifiers }) => {
490
- const { arrProba, isProbasAreNumbers } = identifiers;
488
+ const { arrProba } = identifiers;
489
+ const isProbasAreNumbers = true;
491
490
  const nodeAnswer = getAnswerValueNode(identifiers);
492
491
  let nodeAns;
493
492
  if (isProbasAreNumbers) {
@@ -1 +1 @@
1
- {"version":3,"file":"interpretIndicatorsForLists.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats1var/interpretIndicatorsForLists.ts"],"names":[],"mappings":"AAAA,OAAO,EAWL,QAAQ,EACT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AA2GF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAiB7D,CAAC"}
1
+ {"version":3,"file":"interpretIndicatorsForLists.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats1var/interpretIndicatorsForLists.ts"],"names":[],"mappings":"AAAA,OAAO,EAWL,QAAQ,EACT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AA2GF,eAAO,MAAM,2BAA2B,EAAE,QAAQ,CAAC,WAAW,CAgB7D,CAAC"}
@@ -9,7 +9,7 @@ const getInstruction = (identifiers) => {
9
9
  return `On considère les séries suivantes :
10
10
 
11
11
  ${series.map(([name, values]) => {
12
- return `Série ${name} : ${values
12
+ return `- Série $${name}$ : ${values
13
13
  .map((value) => `$${value.frenchify()}$`)
14
14
  .join(" ; ")}`;
15
15
  }).join(`
@@ -85,6 +85,5 @@ export const interpretIndicatorsForLists = {
85
85
  hasHintAndCorrection: true,
86
86
  subject: "Mathématiques",
87
87
  getQuestionFromIdentifiers,
88
- answerType: "QCM",
89
- isQCM: true,
88
+ answerType: "QCU",
90
89
  };
@@ -1 +1 @@
1
- {"version":3,"file":"plausibilityOfAverage.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats1var/plausibilityOfAverage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAMrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAAC;AAyKF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAkBvD,CAAC"}
1
+ {"version":3,"file":"plausibilityOfAverage.d.ts","sourceRoot":"","sources":["../../../../../src/exercises/math/probaStat/stats1var/plausibilityOfAverage.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EAYT,MAAM,6BAA6B,CAAC;AAOrC,KAAK,WAAW,GAAG;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,kBAAkB,EAAE,OAAO,CAAC;CAC7B,CAAC;AAoKF,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,WAAW,CAkBvD,CAAC"}
@@ -3,6 +3,7 @@ import { getDistinctQuestions } from "../../../../exercises/utils/getDistinctQue
3
3
  import { randint } from "../../../../math/utils/random/randint.js";
4
4
  import { coinFlip } from "../../../../utils/alea/coinFlip.js";
5
5
  import { random } from "../../../../utils/alea/random.js";
6
+ import { mdTable } from "../../../../utils/markdown/mdTable.js";
6
7
  const getInstruction = (identifiers) => {
7
8
  const { a, values, isQuestionIsAboveA } = identifiers;
8
9
  return `Si on considère la série suivante :
@@ -17,40 +18,40 @@ La proposition suivante est-elle vraie ?
17
18
  `;
18
19
  };
19
20
  const getHint = ({ a }) => {
20
- return `Regarder l'écart des valeurs par rapport à $${a.frenchify()}$.`;
21
+ return `Regarde l'écart des valeurs par rapport à $${a.frenchify()}$.`;
21
22
  };
22
23
  const getCorrection = (identifiers) => {
23
24
  const { a, values, isAboveA } = identifiers;
24
25
  const answer = getAnswer(identifiers);
25
26
  const valuesBelowA = values.filter((v) => v < a);
26
27
  const valuesAboveA = values.filter((v) => v > a);
27
- return `${answer}, car si l'on regarde les valeurs strictement inférieures à $${a.frenchify()}$ :
28
-
29
- ${valuesBelowA
30
- .map((v) => `
31
-
32
- $${v.frenchify()}$ est $${(a - v).frenchify()}$ points en dessous de $${a.frenchify()}$
28
+ return `${answer}, car si l'on regarde les écarts par rapport à $${a.frenchify()}$ :
33
29
 
34
- `)
35
- .join("")}
36
- Ce qui fait en tout $${valuesBelowA
37
- .map((v) => a - v)
38
- .reduce((acc, v) => acc + v, 0)
39
- .frenchify()}$ points en dessous de $${a.frenchify()}$.
30
+ $\\ $
40
31
 
41
- Si l'on regarde les valeurs strictement supérieures à $${a.frenchify()}$ :
42
-
43
- ${valuesAboveA
44
- .map((v) => `
45
-
46
- $${v.frenchify()}$ est $${(v - a).frenchify()}$ points en dessus de $${a.frenchify()}$
32
+ ${mdTable([
33
+ ["\\text{Valeur}", "\\text{Écart}"],
34
+ [`\\text{Valeurs inférieures à } ${a.frenchify()}`, "\\text{}"],
35
+ ...valuesBelowA.map((v) => [v.frenchify(), (v - a).frenchify()]),
36
+ [
37
+ "\\text{Total inférieur}",
38
+ valuesBelowA
39
+ .map((v) => v - a)
40
+ .reduce((acc, v) => acc + v, 0)
41
+ .frenchify(),
42
+ ],
43
+ [`\\text{Valeurs supérieures à } ${a.frenchify()}`, "\\text{}"],
44
+ ...valuesAboveA.map((v) => [v.frenchify(), `+${(v - a).frenchify()}`]),
45
+ [
46
+ "\\text{Total supérieur}",
47
+ `+${valuesAboveA
48
+ .map((v) => v - a)
49
+ .reduce((acc, v) => acc + v, 0)
50
+ .frenchify()}`,
51
+ ],
52
+ ], true)}
47
53
 
48
- `)
49
- .join("")}
50
- Ce qui fait en tout $${valuesAboveA
51
- .map((v) => v - a)
52
- .reduce((acc, v) => acc + v, 0)
53
- .frenchify()}$ points au dessus de $${a.frenchify()}$.
54
+ $\\ $
54
55
 
55
56
  Le total ${isAboveA ? `supérieur` : `inférieur`} est plus grand, en valeur absolue, que le total ${isAboveA ? `inférieur` : `supérieur`} donc on peut affirmer que la moyenne de cette série est strictement ${isAboveA ? `supérieure` : `inférieure`} à $${a.frenchify()}$.`;
56
57
  };
package/lib/index.d.ts CHANGED
@@ -159,7 +159,7 @@ declare const mathExercises: (Exercise<{
159
159
  nodeIdsStartingNumber: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
160
160
  progCalcIds: import("./math/progCalc/progCalc.js").ProgCalcIdentifiers;
161
161
  }, {
162
- numberType: "Integer" | "Decimal";
162
+ numberType: "Entier" | "D\u00E9cimal";
163
163
  nbSteps: number;
164
164
  nbDigits: number;
165
165
  }, string | number | boolean | string[] | number[] | boolean[]> | Exercise<{
@@ -734,7 +734,9 @@ declare const mathExercises: (Exercise<{
734
734
  }, object, string | number | boolean | string[] | number[] | boolean[]> | Exercise<{
735
735
  distance: number;
736
736
  minutes: number;
737
- }, object, string | number | boolean | string[] | number[] | boolean[]> | Exercise<{
737
+ }, {
738
+ unitTex: string;
739
+ }, string | number | boolean | string[] | number[] | boolean[]> | Exercise<{
738
740
  isSecondsToHours: boolean;
739
741
  nodeIdsSeconds: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
740
742
  nodeIdsHours: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers;
@@ -1019,6 +1021,8 @@ declare const mathExercises: (Exercise<{
1019
1021
  items: {
1020
1022
  tex: string;
1021
1023
  isValid: boolean;
1024
+ point?: import("./math/geometry/point.js").PointIdentifiers | undefined;
1025
+ isPointValid?: boolean;
1022
1026
  }[];
1023
1027
  }, object, string | number | boolean | string[] | number[] | boolean[]> | Exercise<{
1024
1028
  pointIdsA: import("./math/geometry/point.js").PointIdentifiers;
@@ -2464,7 +2468,6 @@ declare const mathExercises: (Exercise<{
2464
2468
  isTailoredStr: boolean;
2465
2469
  };
2466
2470
  arrProba: import("./tree/nodes/nodeConstructor.js").NodeIdentifiers[];
2467
- isProbasAreNumbers: boolean;
2468
2471
  }, {
2469
2472
  nbElem: number[];
2470
2473
  unionLength: number[];
@@ -2920,8 +2923,10 @@ declare const mathExercises: (Exercise<{
2920
2923
  };
2921
2924
  questionStr: string;
2922
2925
  answerStr: string;
2923
- displayType: "horizMulti" | "vertStacked";
2924
- }, object, string | number | boolean | string[] | number[] | boolean[]> | Exercise<{
2926
+ displayType: string;
2927
+ }, {
2928
+ displayType: string;
2929
+ }, string | number | boolean | string[] | number[] | boolean[]> | Exercise<{
2925
2930
  indexSituation: number;
2926
2931
  bigNumber: number;
2927
2932
  }, object, string | number | boolean | string[] | number[] | boolean[]> | Exercise<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,aAAa,MAAM,2BAA2B,CAAC;AAE3D,OAAO,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAA6B,CAAC;AAE/C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAc,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "math-exercises",
3
3
  "type": "module",
4
- "version": "3.0.126",
4
+ "version": "3.0.127",
5
5
  "description": "Math exercises generator for middle school and high school",
6
6
  "main": "lib/index.js",
7
7
  "files": [