@wiotp/sdk 0.8.2-alpha.1 → 0.8.2-alpha.3
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.
|
@@ -33827,7 +33827,7 @@ function resolveProps(tokens, _ref) {
|
|
|
33827
33827
|
}
|
|
33828
33828
|
case 'newline':
|
|
33829
33829
|
if (atNewline) {
|
|
33830
|
-
if (comment) comment += token.source;else
|
|
33830
|
+
if (comment) comment += token.source;else spaceBefore = true;
|
|
33831
33831
|
} else commentSep += token.source;
|
|
33832
33832
|
atNewline = true;
|
|
33833
33833
|
hasNewline = true;
|
|
@@ -35184,6 +35184,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
35184
35184
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
35185
35185
|
|
|
35186
35186
|
},{"./compose/composer.js":228,"./doc/Document.js":240,"./errors.js":245,"./nodes/Alias.js":248,"./nodes/Pair.js":251,"./nodes/Scalar.js":252,"./nodes/YAMLMap.js":253,"./nodes/YAMLSeq.js":254,"./nodes/identity.js":256,"./parse/cst.js":261,"./parse/lexer.js":262,"./parse/line-counter.js":263,"./parse/parser.js":264,"./public-api.js":265,"./schema/Schema.js":266,"./visit.js":295}],247:[function(require,module,exports){
|
|
35187
|
+
(function (process){(function (){
|
|
35187
35188
|
"use strict";
|
|
35188
35189
|
|
|
35189
35190
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -35200,11 +35201,12 @@ function debug(logLevel) {
|
|
|
35200
35201
|
}
|
|
35201
35202
|
function warn(logLevel, warning) {
|
|
35202
35203
|
if (logLevel === 'debug' || logLevel === 'warn') {
|
|
35203
|
-
console.warn(warning);
|
|
35204
|
+
if (typeof process !== 'undefined' && process.emitWarning) process.emitWarning(warning);else console.warn(warning);
|
|
35204
35205
|
}
|
|
35205
35206
|
}
|
|
35206
35207
|
|
|
35207
|
-
}
|
|
35208
|
+
}).call(this)}).call(this,require('_process'))
|
|
35209
|
+
},{"_process":182}],248:[function(require,module,exports){
|
|
35208
35210
|
"use strict";
|
|
35209
35211
|
|
|
35210
35212
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
@@ -40431,6 +40433,7 @@ function getTags(customTags, schemaName, addMergeTag) {
|
|
|
40431
40433
|
}
|
|
40432
40434
|
|
|
40433
40435
|
},{"./common/map.js":267,"./common/null.js":268,"./common/seq.js":269,"./common/string.js":270,"./core/bool.js":271,"./core/float.js":272,"./core/int.js":273,"./core/schema.js":274,"./json/schema.js":275,"./yaml-1.1/binary.js":277,"./yaml-1.1/merge.js":281,"./yaml-1.1/omap.js":282,"./yaml-1.1/pairs.js":283,"./yaml-1.1/schema.js":284,"./yaml-1.1/set.js":285,"./yaml-1.1/timestamp.js":286}],277:[function(require,module,exports){
|
|
40436
|
+
(function (Buffer){(function (){
|
|
40434
40437
|
"use strict";
|
|
40435
40438
|
|
|
40436
40439
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -40455,7 +40458,9 @@ var binary = exports.binary = {
|
|
|
40455
40458
|
* document.querySelector('#photo').src = URL.createObjectURL(blob)
|
|
40456
40459
|
*/
|
|
40457
40460
|
resolve: function resolve(src, onError) {
|
|
40458
|
-
if (typeof
|
|
40461
|
+
if (typeof Buffer === 'function') {
|
|
40462
|
+
return Buffer.from(src, 'base64');
|
|
40463
|
+
} else if (typeof atob === 'function') {
|
|
40459
40464
|
// On IE 11, atob() can't handle newlines
|
|
40460
40465
|
var str = atob(src.replace(/[\n\r]/g, ''));
|
|
40461
40466
|
var buffer = new Uint8Array(str.length);
|
|
@@ -40472,7 +40477,9 @@ var binary = exports.binary = {
|
|
|
40472
40477
|
value = _ref.value;
|
|
40473
40478
|
var buf = value; // checked earlier by binary.identify()
|
|
40474
40479
|
var str;
|
|
40475
|
-
if (typeof
|
|
40480
|
+
if (typeof Buffer === 'function') {
|
|
40481
|
+
str = buf instanceof Buffer ? buf.toString('base64') : Buffer.from(buf.buffer).toString('base64');
|
|
40482
|
+
} else if (typeof btoa === 'function') {
|
|
40476
40483
|
var s = '';
|
|
40477
40484
|
for (var i = 0; i < buf.length; ++i) s += String.fromCharCode(buf[i]);
|
|
40478
40485
|
str = btoa(s);
|
|
@@ -40497,7 +40504,8 @@ var binary = exports.binary = {
|
|
|
40497
40504
|
}
|
|
40498
40505
|
};
|
|
40499
40506
|
|
|
40500
|
-
}
|
|
40507
|
+
}).call(this)}).call(this,require("buffer").Buffer)
|
|
40508
|
+
},{"../../nodes/Scalar.js":252,"../../stringify/stringifyString.js":294,"buffer":74}],278:[function(require,module,exports){
|
|
40501
40509
|
"use strict";
|
|
40502
40510
|
|
|
40503
40511
|
Object.defineProperty(exports, "__esModule", {
|