New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pulumi/query

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pulumi/query - npm Package Compare versions

Comparing version

to
0.3.1-dev.1571696043

2

package.json
{
"name": "@pulumi/query",
"version": "v0.3.1-dev.1571689690+g5952b72",
"version": "v0.3.1-dev.1571696043+g54776f9",
"description": "An simple, relational SDK for querying TypeScript and JavaScript data structures",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -80,30 +80,32 @@ "use strict";

function from(source) {
return source instanceof Function
? wrapAsyncIterable(source)
: wrapAsyncIterable(function () {
return __asyncGenerator(this, arguments, function* () {
var e_1, _a;
if (interfaces_1.isIterable(source)) {
for (const t of source) {
yield yield __await(t);
}
}
else {
try {
for (var source_1 = __asyncValues(source), source_1_1; source_1_1 = yield __await(source_1.next()), !source_1_1.done;) {
const t = source_1_1.value;
return source === undefined
? wrapAsyncIterable(() => [])
: source instanceof Function
? wrapAsyncIterable(source)
: wrapAsyncIterable(function () {
return __asyncGenerator(this, arguments, function* () {
var e_1, _a;
if (interfaces_1.isIterable(source)) {
for (const t of source) {
yield yield __await(t);
}
}
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
else {
try {
if (source_1_1 && !source_1_1.done && (_a = source_1.return)) yield __await(_a.call(source_1));
for (var source_1 = __asyncValues(source), source_1_1; source_1_1 = yield __await(source_1.next()), !source_1_1.done;) {
const t = source_1_1.value;
yield yield __await(t);
}
}
finally { if (e_1) throw e_1.error; }
catch (e_1_1) { e_1 = { error: e_1_1 }; }
finally {
try {
if (source_1_1 && !source_1_1.done && (_a = source_1.return)) yield __await(_a.call(source_1));
}
finally { if (e_1) throw e_1.error; }
}
}
}
});
});
});
}
exports.from = from;

Sorry, the diff of this file is not supported yet