@azure-tools/linq
Advanced tools
Comparing version 3.1.261 to 3.1.262
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.when = exports.ToDictionary = exports.Dictionary = void 0; | ||
class Dictionary { | ||
@@ -4,0 +5,0 @@ } |
@@ -6,12 +6,19 @@ "use strict"; | ||
*--------------------------------------------------------------------------------------------*/ | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./new-linq")); | ||
__export(require("./freeze")); | ||
__export(require("./visitor")); | ||
__export(require("./common")); | ||
__export(require("./factory")); | ||
__export(require("./sort")); | ||
__exportStar(require("./new-linq"), exports); | ||
__exportStar(require("./freeze"), exports); | ||
__exportStar(require("./visitor"), exports); | ||
__exportStar(require("./common"), exports); | ||
__exportStar(require("./factory"), exports); | ||
__exportStar(require("./sort"), exports); | ||
//# sourceMappingURL=exports.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.realize = exports.isValue = exports.isFunction = void 0; | ||
function isFunction(f) { | ||
@@ -4,0 +5,0 @@ return typeof f === 'function'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.clone = exports.deepFreeze = void 0; | ||
function deepFreeze(instance) { | ||
@@ -4,0 +5,0 @@ const obj = instance; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.length = exports.items = exports.values = exports.keys = void 0; | ||
/*--------------------------------------------------------------------------------------------- | ||
@@ -122,3 +123,4 @@ * Copyright (c) Microsoft Corporation. All rights reserved. | ||
yield { | ||
key, value: source[key] | ||
key, | ||
value: source[key] | ||
}; | ||
@@ -125,0 +127,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.bifurcate = exports.toArray = exports.first = exports.nonNullable = exports.selectNonNullable = exports.aggregate = exports.forEach = exports.where = exports.selectMany = exports.select = exports.concat = exports.all = exports.any = exports.length = exports.items = exports.evalues = exports.values = exports.keys = void 0; | ||
/*--------------------------------------------------------------------------------------------- | ||
@@ -137,3 +138,4 @@ * Copyright (c) Microsoft Corporation. All rights reserved. | ||
yield { | ||
key, value: source[key] | ||
key, | ||
value: source[key] | ||
}; | ||
@@ -140,0 +142,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.sort = void 0; | ||
const first = -1; | ||
@@ -9,4 +10,4 @@ const second = 1; | ||
var _a, _b; | ||
const pA = (_a = accessor(a), (_a !== null && _a !== void 0 ? _a : Number.MAX_VALUE)); | ||
const pB = (_b = accessor(b), (_b !== null && _b !== void 0 ? _b : Number.MAX_VALUE)); | ||
const pA = (_a = accessor(a)) !== null && _a !== void 0 ? _a : Number.MAX_VALUE; | ||
const pB = (_b = accessor(b)) !== null && _b !== void 0 ? _b : Number.MAX_VALUE; | ||
return pA === pB ? neither : pA < pB ? first : second; | ||
@@ -18,4 +19,4 @@ }); | ||
var _a, _b; | ||
const pA = (_a = accessor(a), (_a !== null && _a !== void 0 ? _a : -Number.MAX_VALUE)); | ||
const pB = (_b = accessor(b), (_b !== null && _b !== void 0 ? _b : -Number.MAX_VALUE)); | ||
const pA = (_a = accessor(a)) !== null && _a !== void 0 ? _a : -Number.MAX_VALUE; | ||
const pB = (_b = accessor(b)) !== null && _b !== void 0 ? _b : -Number.MAX_VALUE; | ||
return pA === pB ? neither : pA > pB ? first : second; | ||
@@ -27,4 +28,4 @@ }); | ||
var _a, _b; | ||
const pA = (_a = accessor(a), (_a !== null && _a !== void 0 ? _a : -Number.MAX_VALUE)); | ||
const pB = (_b = accessor(b), (_b !== null && _b !== void 0 ? _b : -Number.MAX_VALUE)); | ||
const pA = (_a = accessor(a)) !== null && _a !== void 0 ? _a : -Number.MAX_VALUE; | ||
const pB = (_b = accessor(b)) !== null && _b !== void 0 ? _b : -Number.MAX_VALUE; | ||
return pA === pB ? neither : pA < pB ? first : second; | ||
@@ -36,4 +37,4 @@ }); | ||
var _a, _b; | ||
const pA = (_a = accessor(a), (_a !== null && _a !== void 0 ? _a : Number.MAX_VALUE)); | ||
const pB = (_b = accessor(b), (_b !== null && _b !== void 0 ? _b : Number.MAX_VALUE)); | ||
const pA = (_a = accessor(a)) !== null && _a !== void 0 ? _a : Number.MAX_VALUE; | ||
const pB = (_b = accessor(b)) !== null && _b !== void 0 ? _b : Number.MAX_VALUE; | ||
return pA === pB ? neither : pA > pB ? first : second; | ||
@@ -40,0 +41,0 @@ }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.references = exports.refCount = exports.visitor = void 0; | ||
function* _visitor(instance, visited) { | ||
@@ -4,0 +5,0 @@ if (instance === null || instance === undefined || visited.has(instance)) { |
{ | ||
"name": "@azure-tools/linq", | ||
"version": "3.1.261", | ||
"version": "3.1.262", | ||
"patchOffset": 100, | ||
@@ -49,5 +49,5 @@ "description": "LINQ-like functionality for Typescript.", | ||
"eslint": "~6.6.0", | ||
"typescript": "~3.7.2" | ||
"typescript": "~3.9.7" | ||
}, | ||
"dependencies": {} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
105259
37
1321