@pulumi/query
Advanced tools
Comparing version
@@ -230,4 +230,4 @@ "use strict"; | ||
forEach(f) { | ||
var e_2, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_2, _a; | ||
try { | ||
@@ -234,0 +234,0 @@ for (var _b = __asyncValues(this), _c; _c = yield _b.next(), !_c.done;) { |
@@ -36,3 +36,5 @@ "use strict"; | ||
// | ||
Symbol.asyncIterator = Symbol.asyncIterator || Symbol.for("Symbol.asyncIterator"); | ||
if (typeof Symbol.asyncIterator === "undefined") { | ||
Symbol.asyncIterator = Symbol.asyncIterator || Symbol.for("Symbol.asyncIterator"); | ||
} | ||
const asyncQueryable_1 = require("./asyncQueryable"); | ||
@@ -39,0 +41,0 @@ const sources = require("./sources"); |
@@ -646,4 +646,4 @@ "use strict"; | ||
var source_8, source_8_1; | ||
var e_24, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_24, _a; | ||
const ret = []; | ||
@@ -671,4 +671,4 @@ try { | ||
var source_9, source_9_1; | ||
var e_25, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_25, _a; | ||
if (elementSelector === undefined) { | ||
@@ -730,4 +730,4 @@ elementSelector = x => x; | ||
var source_11, source_11_1; | ||
var e_27, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_27, _a; | ||
if (predicate === undefined) { | ||
@@ -759,4 +759,4 @@ predicate = t => true; | ||
var source_12, source_12_1; | ||
var e_28, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_28, _a; | ||
if (predicate === undefined) { | ||
@@ -788,4 +788,4 @@ predicate = t => true; | ||
var source_13, source_13_1; | ||
var e_29, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_29, _a; | ||
if (predicate === undefined) { | ||
@@ -823,4 +823,4 @@ predicate = t => true; | ||
var source_14, source_14_1; | ||
var e_30, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_30, _a; | ||
if (predicate === undefined) { | ||
@@ -895,7 +895,7 @@ predicate = t => true; | ||
return function (source) { | ||
var e_31, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
// TODO: Maybe support `Array` here if we ever support sync iterables. This would allow us | ||
// to access that index directly. | ||
var e_31, _a; | ||
try { | ||
// TODO: Maybe support `Array` here if we ever support sync iterables. This would allow us | ||
// to access that index directly. | ||
for (var _b = __asyncValues(zip(source, sources_1.range(0))), _c; _c = yield _b.next(), !_c.done;) { | ||
@@ -922,7 +922,7 @@ const [t, i] = _c.value; | ||
return function (source) { | ||
var e_32, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
// TODO: Maybe support `Array` here if we ever support sync iterables. This would allow us | ||
// to access that index directly. | ||
var e_32, _a; | ||
try { | ||
// TODO: Maybe support `Array` here if we ever support sync iterables. This would allow us | ||
// to access that index directly. | ||
for (var _b = __asyncValues(zip(source, sources_1.range(0))), _c; _c = yield _b.next(), !_c.done;) { | ||
@@ -979,4 +979,4 @@ const [t, i] = _c.value; | ||
var source_16, source_16_1; | ||
var e_34, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_34, _a; | ||
if (predicate === undefined) { | ||
@@ -1008,4 +1008,4 @@ predicate = t => true; | ||
var source_17, source_17_1; | ||
var e_35, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_35, _a; | ||
try { | ||
@@ -1034,4 +1034,4 @@ for (source_17 = __asyncValues(source); source_17_1 = yield source_17.next(), !source_17_1.done;) { | ||
var source_18, source_18_1; | ||
var e_36, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_36, _a; | ||
const dist = new Set([value]); | ||
@@ -1064,4 +1064,4 @@ try { | ||
var source_19, source_19_1; | ||
var e_37, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_37, _a; | ||
if (predicate === undefined) { | ||
@@ -1094,4 +1094,4 @@ predicate = t => true; | ||
var source_20, source_20_1; | ||
var e_38, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_38, _a; | ||
// If selector is undefined, the source should emit `number`. | ||
@@ -1127,4 +1127,4 @@ if (selector === undefined) { | ||
var source_21, source_21_1; | ||
var e_39, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_39, _a; | ||
// If selector is undefined, the source should emit `number`. | ||
@@ -1168,4 +1168,4 @@ if (selector === undefined) { | ||
var source_22, source_22_1; | ||
var e_40, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_40, _a; | ||
// If selector is undefined, the source should emit `number`. | ||
@@ -1209,4 +1209,4 @@ if (selector === undefined) { | ||
var source_23, source_23_1; | ||
var e_41, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_41, _a; | ||
// If selector is undefined, the source should emit `number`. | ||
@@ -1247,4 +1247,4 @@ if (selector === undefined) { | ||
var source_24, source_24_1; | ||
var e_42, _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var e_42, _a; | ||
let acc = seed; | ||
@@ -1251,0 +1251,0 @@ try { |
{ | ||
"name": "@pulumi/query", | ||
"version": "v0.0.1-dev.1558545876+g0c03dd1", | ||
"version": "v0.0.1-dev.1559235841+g5dc80ec", | ||
"description": "An simple, relational SDK for querying TypeScript and JavaScript data structures", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
173432
03457
0.06%