@instructure/quiz-core 18.4.1-rc.7 → 18.4.1-rc.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "18.4.1-rc.
|
|
3
|
+
"version": "18.4.1-rc.8+e9b6bb93c",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@instructure/grading-utils": "^1.0.0",
|
|
45
45
|
"@instructure/outcomes-ui": "^2.1.9",
|
|
46
|
-
"@instructure/quiz-common": "18.4.1-rc.
|
|
47
|
-
"@instructure/quiz-i18n": "18.4.1-rc.
|
|
48
|
-
"@instructure/quiz-interactions": "18.4.1-rc.
|
|
49
|
-
"@instructure/quiz-number-input": "18.4.1-rc.
|
|
50
|
-
"@instructure/quiz-rce": "18.4.1-rc.
|
|
46
|
+
"@instructure/quiz-common": "18.4.1-rc.8+e9b6bb93c",
|
|
47
|
+
"@instructure/quiz-i18n": "18.4.1-rc.8+e9b6bb93c",
|
|
48
|
+
"@instructure/quiz-interactions": "18.4.1-rc.8+e9b6bb93c",
|
|
49
|
+
"@instructure/quiz-number-input": "18.4.1-rc.8+e9b6bb93c",
|
|
50
|
+
"@instructure/quiz-rce": "18.4.1-rc.8+e9b6bb93c",
|
|
51
51
|
"@instructure/ui-a11y-content": "^7.22.1",
|
|
52
52
|
"@instructure/ui-alerts": "^7.22.1",
|
|
53
53
|
"@instructure/ui-avatar": "^7.22.1",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"eventemitter3": "^3.1.0",
|
|
109
109
|
"humps": "^2.0.0",
|
|
110
110
|
"immutable": "^3.8.1",
|
|
111
|
-
"instructure-validations": "18.4.1-rc.
|
|
111
|
+
"instructure-validations": "18.4.1-rc.8+e9b6bb93c",
|
|
112
112
|
"ipaddr.js": "^1.5.4",
|
|
113
113
|
"isomorphic-fetch": "^2.2.0",
|
|
114
114
|
"isuuid": "^0.1.0",
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
"intl": "^1.2.4",
|
|
160
160
|
"jquery": "^2.2.3",
|
|
161
161
|
"most-subject": "^5.3.0",
|
|
162
|
-
"quiz-presets": "18.4.1-rc.
|
|
162
|
+
"quiz-presets": "18.4.1-rc.8+e9b6bb93c",
|
|
163
163
|
"react": "^16.8.6",
|
|
164
164
|
"react-addons-test-utils": "^15.6.2",
|
|
165
165
|
"react-dom": "^16.8.6",
|
|
@@ -175,5 +175,5 @@
|
|
|
175
175
|
"publishConfig": {
|
|
176
176
|
"access": "public"
|
|
177
177
|
},
|
|
178
|
-
"gitHead": "
|
|
178
|
+
"gitHead": "e9b6bb93c650423afc3df0043968da7139a936f8"
|
|
179
179
|
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
|
-
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
|
-
export var getItemAnalyses = /*#__PURE__*/function () {
|
|
4
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(quizId) {
|
|
5
|
-
var response;
|
|
6
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
7
|
-
while (1) {
|
|
8
|
-
switch (_context.prev = _context.next) {
|
|
9
|
-
case 0:
|
|
10
|
-
_context.prev = 0;
|
|
11
|
-
_context.next = 3;
|
|
12
|
-
return fetch("http://".concat(window.ENV.API_HOST, "/api/quizzes/").concat(quizId, "/stats/new_item_analyses"));
|
|
13
|
-
|
|
14
|
-
case 3:
|
|
15
|
-
response = _context.sent;
|
|
16
|
-
_context.next = 6;
|
|
17
|
-
return response.json();
|
|
18
|
-
|
|
19
|
-
case 6:
|
|
20
|
-
return _context.abrupt("return", _context.sent);
|
|
21
|
-
|
|
22
|
-
case 9:
|
|
23
|
-
_context.prev = 9;
|
|
24
|
-
_context.t0 = _context["catch"](0);
|
|
25
|
-
console.error(_context.t0);
|
|
26
|
-
|
|
27
|
-
case 12:
|
|
28
|
-
case "end":
|
|
29
|
-
return _context.stop();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}, _callee, null, [[0, 9]]);
|
|
33
|
-
}));
|
|
34
|
-
|
|
35
|
-
return function getItemAnalyses(_x) {
|
|
36
|
-
return _ref.apply(this, arguments);
|
|
37
|
-
};
|
|
38
|
-
}();
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
2
|
-
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
|
-
export var getQuizAnalysis = /*#__PURE__*/function () {
|
|
4
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(quizId) {
|
|
5
|
-
var response;
|
|
6
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
7
|
-
while (1) {
|
|
8
|
-
switch (_context.prev = _context.next) {
|
|
9
|
-
case 0:
|
|
10
|
-
_context.prev = 0;
|
|
11
|
-
_context.next = 3;
|
|
12
|
-
return fetch("http://".concat(window.ENV.API_HOST, "/api/quizzes/").concat(quizId, "/stats/new_quiz_analysis"));
|
|
13
|
-
|
|
14
|
-
case 3:
|
|
15
|
-
response = _context.sent;
|
|
16
|
-
_context.next = 6;
|
|
17
|
-
return response.json();
|
|
18
|
-
|
|
19
|
-
case 6:
|
|
20
|
-
return _context.abrupt("return", _context.sent);
|
|
21
|
-
|
|
22
|
-
case 9:
|
|
23
|
-
_context.prev = 9;
|
|
24
|
-
_context.t0 = _context["catch"](0);
|
|
25
|
-
console.error(_context.t0);
|
|
26
|
-
|
|
27
|
-
case 12:
|
|
28
|
-
case "end":
|
|
29
|
-
return _context.stop();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}, _callee, null, [[0, 9]]);
|
|
33
|
-
}));
|
|
34
|
-
|
|
35
|
-
return function getQuizAnalysis(_x) {
|
|
36
|
-
return _ref.apply(this, arguments);
|
|
37
|
-
};
|
|
38
|
-
}();
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.getItemAnalyses = void 0;
|
|
9
|
-
|
|
10
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
11
|
-
|
|
12
|
-
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
13
|
-
|
|
14
|
-
var getItemAnalyses = /*#__PURE__*/function () {
|
|
15
|
-
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(quizId) {
|
|
16
|
-
var response;
|
|
17
|
-
return _regenerator.default.wrap(function _callee$(_context) {
|
|
18
|
-
while (1) {
|
|
19
|
-
switch (_context.prev = _context.next) {
|
|
20
|
-
case 0:
|
|
21
|
-
_context.prev = 0;
|
|
22
|
-
_context.next = 3;
|
|
23
|
-
return fetch("http://".concat(window.ENV.API_HOST, "/api/quizzes/").concat(quizId, "/stats/new_item_analyses"));
|
|
24
|
-
|
|
25
|
-
case 3:
|
|
26
|
-
response = _context.sent;
|
|
27
|
-
_context.next = 6;
|
|
28
|
-
return response.json();
|
|
29
|
-
|
|
30
|
-
case 6:
|
|
31
|
-
return _context.abrupt("return", _context.sent);
|
|
32
|
-
|
|
33
|
-
case 9:
|
|
34
|
-
_context.prev = 9;
|
|
35
|
-
_context.t0 = _context["catch"](0);
|
|
36
|
-
console.error(_context.t0);
|
|
37
|
-
|
|
38
|
-
case 12:
|
|
39
|
-
case "end":
|
|
40
|
-
return _context.stop();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}, _callee, null, [[0, 9]]);
|
|
44
|
-
}));
|
|
45
|
-
|
|
46
|
-
return function getItemAnalyses(_x) {
|
|
47
|
-
return _ref.apply(this, arguments);
|
|
48
|
-
};
|
|
49
|
-
}();
|
|
50
|
-
|
|
51
|
-
exports.getItemAnalyses = getItemAnalyses;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.getQuizAnalysis = void 0;
|
|
9
|
-
|
|
10
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
11
|
-
|
|
12
|
-
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
13
|
-
|
|
14
|
-
var getQuizAnalysis = /*#__PURE__*/function () {
|
|
15
|
-
var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(quizId) {
|
|
16
|
-
var response;
|
|
17
|
-
return _regenerator.default.wrap(function _callee$(_context) {
|
|
18
|
-
while (1) {
|
|
19
|
-
switch (_context.prev = _context.next) {
|
|
20
|
-
case 0:
|
|
21
|
-
_context.prev = 0;
|
|
22
|
-
_context.next = 3;
|
|
23
|
-
return fetch("http://".concat(window.ENV.API_HOST, "/api/quizzes/").concat(quizId, "/stats/new_quiz_analysis"));
|
|
24
|
-
|
|
25
|
-
case 3:
|
|
26
|
-
response = _context.sent;
|
|
27
|
-
_context.next = 6;
|
|
28
|
-
return response.json();
|
|
29
|
-
|
|
30
|
-
case 6:
|
|
31
|
-
return _context.abrupt("return", _context.sent);
|
|
32
|
-
|
|
33
|
-
case 9:
|
|
34
|
-
_context.prev = 9;
|
|
35
|
-
_context.t0 = _context["catch"](0);
|
|
36
|
-
console.error(_context.t0);
|
|
37
|
-
|
|
38
|
-
case 12:
|
|
39
|
-
case "end":
|
|
40
|
-
return _context.stop();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}, _callee, null, [[0, 9]]);
|
|
44
|
-
}));
|
|
45
|
-
|
|
46
|
-
return function getQuizAnalysis(_x) {
|
|
47
|
-
return _ref.apply(this, arguments);
|
|
48
|
-
};
|
|
49
|
-
}();
|
|
50
|
-
|
|
51
|
-
exports.getQuizAnalysis = getQuizAnalysis;
|