Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iterable-transformers

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iterable-transformers - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3-ts-insiders.20170513

4

package.json

@@ -5,3 +5,3 @@ {

"typings": "./target/src/index.d.ts",
"version": "0.0.2",
"version": "0.0.3-ts-insiders.20170513",
"scripts": {

@@ -18,4 +18,4 @@ "lint": "tslint --project tsconfig.json --type-check",

"tslint": "^5.1.0",
"typescript": "^2.3.2"
"typescript": "insiders"
}
}

@@ -15,19 +15,18 @@ "use strict";

};
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), q = [], c, i;
return i = { next: verb("next"), "throw": verb("throw"), "return": verb("return") }, i[Symbol.asyncIterator] = function () { return this; }, i;
function verb(n) { return function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]), next(); }); }; }
function next() { if (!c && q.length) resume((c = q.shift())[0], c[1]); }
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(c[3], e); } }
function step(r) { r.done ? settle(c[2], r) : Promise.resolve(r.value[1]).then(r.value[0] === "yield" ? send : fulfill, reject); }
function send(value) { settle(c[2], { value: value, done: false }); }
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
function fulfill(value) { resume("next", value); }
function reject(value) { resume("throw", value); }
function settle(f, v) { c = void 0, f(v), next(); }
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
};
var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {
var i = { next: verb("next"), "throw": verb("throw", function (e) { throw e; }), "return": verb("return", function (v) { return { value: v, done: true }; }) }, p;
return o = __asyncValues(o), i[Symbol.iterator] = function () { return this; }, i;
function verb(n, f) { return function (v) { return v = p && n === "throw" ? f(v) : p && v.done ? v : { value: p ? ["yield", v.value] : ["await", (o[n] || f).call(o, v)], done: false }, p = !p, v; }; }
var i, p;
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
function verb(n) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : v; }; }
};

@@ -39,5 +38,5 @@ Object.defineProperty(exports, "__esModule", { value: true });

try {
for (var source_1 = __asyncValues(source), source_1_1 = yield ["await", source_1.next()]; !source_1_1.done; source_1_1 = yield ["await", source_1.next()]) {
const value = source_1_1.value;
yield ["yield", fn(value)];
for (var source_1 = __asyncValues(source), source_1_1; source_1_1 = yield __await(source_1.next()), !source_1_1.done;) {
const value = yield __await(source_1_1.value);
yield fn(value);
}

@@ -48,3 +47,3 @@ }

try {
if (source_1_1 && !source_1_1.done && (_a = source_1.return)) yield ["await", _a.call(source_1)];
if (source_1_1 && !source_1_1.done && (_a = source_1.return)) yield __await(_a.call(source_1));
}

@@ -59,5 +58,5 @@ finally { if (e_1) throw e_1.error; }

try {
for (var source_2 = __asyncValues(source), source_2_1 = yield ["await", source_2.next()]; !source_2_1.done; source_2_1 = yield ["await", source_2.next()]) {
const value = source_2_1.value;
yield* __asyncDelegator(value);
for (var source_2 = __asyncValues(source), source_2_1; source_2_1 = yield __await(source_2.next()), !source_2_1.done;) {
const value = yield __await(source_2_1.value);
yield __await(yield* __asyncDelegator(__asyncValues(value)));
}

@@ -68,3 +67,3 @@ }

try {
if (source_2_1 && !source_2_1.done && (_a = source_2.return)) yield ["await", _a.call(source_2)];
if (source_2_1 && !source_2_1.done && (_a = source_2.return)) yield __await(_a.call(source_2));
}

@@ -101,8 +100,8 @@ finally { if (e_2) throw e_2.error; }

try {
for (var source_3 = __asyncValues(source), source_3_1 = yield ["await", source_3.next()]; !source_3_1.done; source_3_1 = yield ["await", source_3.next()]) {
const value = source_3_1.value;
for (var source_3 = __asyncValues(source), source_3_1; source_3_1 = yield __await(source_3.next()), !source_3_1.done;) {
const value = yield __await(source_3_1.value);
if (!predicate(value)) {
break;
}
yield ["yield", value];
yield value;
}

@@ -113,3 +112,3 @@ }

try {
if (source_3_1 && !source_3_1.done && (_a = source_3.return)) yield ["await", _a.call(source_3)];
if (source_3_1 && !source_3_1.done && (_a = source_3.return)) yield __await(_a.call(source_3));
}

@@ -116,0 +115,0 @@ finally { if (e_3) throw e_3.error; }

import * as AsyncIterable from './AsyncIterable';
import * as Iterable from './Iterable';
declare var _default: {
declare const _default: {
AsyncIterable: typeof AsyncIterable;

@@ -5,0 +5,0 @@ Iterable: typeof Iterable;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc