🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@effect/query

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect/query - npm Package Compare versions

Comparing version

to
0.1.2

internal_effect_untraced/blockedRequest.d.ts

2

Cache.js

@@ -7,3 +7,3 @@ "use strict";

exports.set = exports.remove = exports.lookup = exports.get = exports.empty = exports.CacheTypeId = void 0;
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal/cache"));
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal_effect_untraced/cache"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

@@ -10,0 +10,0 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

import type * as Request from "@effect/query/Request";
import type * as Either from "@fp-ts/core/Either";
import type * as Option from "@fp-ts/core/Option";
import type * as Context from "@fp-ts/data/Context";
import type * as HashSet from "@fp-ts/data/HashSet";
import type * as Context from "@effect/data/Context";
import type * as HashSet from "@effect/data/HashSet";
/**

@@ -7,0 +7,0 @@ * @since 1.0.0

@@ -7,3 +7,3 @@ "use strict";

exports.setOption = exports.set = exports.requests = exports.make = exports.has = exports.get = exports.empty = exports.combine = exports.Tag = exports.CompletedRequestMapTypeId = void 0;
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal/completedRequestMap"));
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal_effect_untraced/completedRequestMap"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

@@ -10,0 +10,0 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

@@ -10,5 +10,5 @@ /**

import type * as Option from "@fp-ts/core/Option";
import type * as Chunk from "@fp-ts/data/Chunk";
import type * as Context from "@fp-ts/data/Context";
import type * as Equal from "@fp-ts/data/Equal";
import type * as Chunk from "@effect/data/Chunk";
import type * as Context from "@effect/data/Context";
import type * as Equal from "@effect/data/Equal";
/**

@@ -15,0 +15,0 @@ * @since 1.0.0

@@ -7,3 +7,3 @@ "use strict";

exports.race = exports.provideContext = exports.never = exports.makeBatched = exports.make = exports.isDataSource = exports.fromFunctionOptionEffect = exports.fromFunctionOption = exports.fromFunctionEffect = exports.fromFunctionBatchedWithEffect = exports.fromFunctionBatchedWith = exports.fromFunctionBatchedOptionEffect = exports.fromFunctionBatchedOption = exports.fromFunctionBatchedEffect = exports.fromFunctionBatched = exports.fromFunction = exports.eitherWith = exports.contramapEffect = exports.contramapContext = exports.contramap = exports.batchN = exports.around = exports.DataSourceTypeId = void 0;
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal/dataSource"));
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal_effect_untraced/dataSource"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

@@ -10,0 +10,0 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

@@ -7,3 +7,3 @@ "use strict";

exports.make = exports.DescribedTypeId = void 0;
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal/described"));
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal_effect_untraced/described"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

@@ -10,0 +10,0 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

{
"name": "@effect/query",
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT",

@@ -10,5 +10,5 @@ "repository": {

"dependencies": {
"@effect/io": "~0.1.4",
"@fp-ts/core": "~0.1.1",
"@fp-ts/data": "~0.1.1"
"@effect/data": "~0.0.1",
"@effect/io": "~0.1.10",
"@fp-ts/core": "~0.1.1"
},

@@ -15,0 +15,0 @@ "publishConfig": {

@@ -15,5 +15,5 @@ /**

import type * as Option from "@fp-ts/core/Option";
import type * as Chunk from "@fp-ts/data/Chunk";
import type * as Context from "@fp-ts/data/Context";
import type * as Duration from "@fp-ts/data/Duration";
import type * as Chunk from "@effect/data/Chunk";
import type * as Context from "@effect/data/Context";
import type * as Duration from "@effect/data/Duration";
/**

@@ -46,3 +46,3 @@ * @since 1.0.0

* ```ts
* import * as Chunk from "@fp-ts/data/Chunk"
* import * as Chunk from "@effect/data/Chunk"
* import * as Query from "@effect/query/Query"

@@ -49,0 +49,0 @@ *

@@ -8,3 +8,3 @@ "use strict";

exports.zipWithPar = exports.zipWithBatched = exports.zipWith = exports.zipRight = void 0;
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal/query"));
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal_effect_untraced/query"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

@@ -11,0 +11,0 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

@@ -7,3 +7,3 @@ "use strict";

exports.make = exports.isQueryFailure = exports.QueryFailureTypeId = void 0;
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal/queryFailure"));
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal_effect_untraced/queryFailure"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

@@ -10,0 +10,0 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

@@ -8,3 +8,3 @@ /**

import type * as Option from "@fp-ts/core/Option";
import type * as Data from "@fp-ts/data/Data";
import type * as Data from "@effect/data/Data";
/**

@@ -11,0 +11,0 @@ * @since 1.0.0

@@ -7,3 +7,3 @@ "use strict";

exports.tagged = exports.succeed = exports.of = exports.isRequest = exports.fail = exports.completeEffect = exports.complete = exports.RequestTypeId = void 0;
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal/request"));
var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/query/internal_effect_untraced/request"));
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

@@ -10,0 +10,0 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

@@ -6,3 +6,3 @@ /**

import type * as Ref from "@effect/io/Ref"
import * as internal from "@effect/query/internal/cache"
import * as internal from "@effect/query/internal_effect_untraced/cache"
import type * as Request from "@effect/query/Request"

@@ -9,0 +9,0 @@ import type * as Either from "@fp-ts/core/Either"

/**
* @since 1.0.0
*/
import * as internal from "@effect/query/internal/completedRequestMap"
import * as internal from "@effect/query/internal_effect_untraced/completedRequestMap"
import type * as Request from "@effect/query/Request"
import type * as Either from "@fp-ts/core/Either"
import type * as Option from "@fp-ts/core/Option"
import type * as Context from "@fp-ts/data/Context"
import type * as HashMap from "@fp-ts/data/HashMap"
import type * as HashSet from "@fp-ts/data/HashSet"
import type * as MutableRef from "@fp-ts/data/MutableRef"
import type * as Context from "@effect/data/Context"
import type * as HashMap from "@effect/data/HashMap"
import type * as HashSet from "@effect/data/HashSet"
import type * as MutableRef from "@effect/data/MutableRef"

@@ -13,0 +13,0 @@ /**

@@ -8,9 +8,9 @@ /**

import type * as Described from "@effect/query/Described"
import * as internal from "@effect/query/internal/dataSource"
import * as internal from "@effect/query/internal_effect_untraced/dataSource"
import type * as Request from "@effect/query/Request"
import type * as Either from "@fp-ts/core/Either"
import type * as Option from "@fp-ts/core/Option"
import type * as Chunk from "@fp-ts/data/Chunk"
import type * as Context from "@fp-ts/data/Context"
import type * as Equal from "@fp-ts/data/Equal"
import type * as Chunk from "@effect/data/Chunk"
import type * as Context from "@effect/data/Context"
import type * as Equal from "@effect/data/Equal"

@@ -17,0 +17,0 @@ /**

/**
* @since 1.0.0
*/
import * as internal from "@effect/query/internal/described"
import * as internal from "@effect/query/internal_effect_untraced/described"

@@ -6,0 +6,0 @@ /**

@@ -11,4 +11,4 @@ /**

import type * as Described from "@effect/query/Described"
import * as internal from "@effect/query/internal/query"
import type * as Result from "@effect/query/internal/result"
import * as internal from "@effect/query/internal_effect_untraced/query"
import type * as Result from "@effect/query/internal_effect_untraced/result"
import type * as Request from "@effect/query/Request"

@@ -18,5 +18,5 @@ import type * as Either from "@fp-ts/core/Either"

import type * as Option from "@fp-ts/core/Option"
import type * as Chunk from "@fp-ts/data/Chunk"
import type * as Context from "@fp-ts/data/Context"
import type * as Duration from "@fp-ts/data/Duration"
import type * as Chunk from "@effect/data/Chunk"
import type * as Context from "@effect/data/Context"
import type * as Duration from "@effect/data/Duration"

@@ -52,3 +52,3 @@ /**

* ```ts
* import * as Chunk from "@fp-ts/data/Chunk"
* import * as Chunk from "@effect/data/Chunk"
* import * as Query from "@effect/query/Query"

@@ -55,0 +55,0 @@ *

@@ -5,3 +5,3 @@ /**

import type * as DataSource from "@effect/query/DataSource"
import * as internal from "@effect/query/internal/queryFailure"
import * as internal from "@effect/query/internal_effect_untraced/queryFailure"
import type * as Request from "@effect/query/Request"

@@ -8,0 +8,0 @@

@@ -6,6 +6,6 @@ /**

import type * as CompletedRequestMap from "@effect/query/CompletedRequestMap"
import * as internal from "@effect/query/internal/request"
import * as internal from "@effect/query/internal_effect_untraced/request"
import type * as Either from "@fp-ts/core/Either"
import type * as Option from "@fp-ts/core/Option"
import type * as Data from "@fp-ts/data/Data"
import type * as Data from "@effect/data/Data"

@@ -12,0 +12,0 @@ /**

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

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

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

Sorry, the diff of this file is not supported yet