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

@osdiab/io-ts

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@osdiab/io-ts - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

4

es6/Codec.d.ts

@@ -1,2 +0,2 @@

import { Invariant3 } from 'fp-ts/Invariant'
import { Invariant3 } from 'fp-ts/es6/Invariant'
import * as D from './Decoder'

@@ -253,3 +253,3 @@ import * as E from './Encoder'

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/es6/HKT' {
interface URItoKind3<R, E, A> {

@@ -256,0 +256,0 @@ readonly [URI]: Codec<R, E, A>

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

*/
import { identity } from 'fp-ts/function';
import { pipe } from 'fp-ts/pipeable';
import { identity } from 'fp-ts/es6/function';
import { pipe } from 'fp-ts/es6/pipeable';
import * as D from './Decoder';

@@ -15,0 +15,0 @@ import * as E from './Encoder';

@@ -11,3 +11,3 @@ /**

*/
import { Semigroup } from 'fp-ts/Semigroup'
import { Semigroup } from 'fp-ts/es6/Semigroup'
import * as FS from './FreeSemigroup'

@@ -14,0 +14,0 @@ /**

@@ -11,7 +11,7 @@ /**

*/
import { Alt2 } from 'fp-ts/Alt'
import { Category2 } from 'fp-ts/Category'
import * as E from 'fp-ts/Either'
import { Refinement } from 'fp-ts/function'
import { Functor2 } from 'fp-ts/Functor'
import { Alt2 } from 'fp-ts/es6/Alt'
import { Category2 } from 'fp-ts/es6/Category'
import * as E from 'fp-ts/es6/Either'
import { Refinement } from 'fp-ts/es6/function'
import { Functor2 } from 'fp-ts/es6/Functor'
import * as DE from './DecodeError'

@@ -256,3 +256,3 @@ import * as FS from './FreeSemigroup'

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/es6/HKT' {
interface URItoKind2<E, A> {

@@ -259,0 +259,0 @@ readonly [URI]: Decoder<E, A>

@@ -1,3 +0,3 @@

import * as E from 'fp-ts/Either';
import { pipe } from 'fp-ts/pipeable';
import * as E from 'fp-ts/es6/Either';
import { pipe } from 'fp-ts/es6/pipeable';
import * as DE from './DecodeError';

@@ -4,0 +4,0 @@ import * as FS from './FreeSemigroup';

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

*/
import { Contravariant2 } from 'fp-ts/Contravariant'
import { Category2 } from 'fp-ts/Category'
import { Contravariant2 } from 'fp-ts/es6/Contravariant'
import { Category2 } from 'fp-ts/es6/Category'
/**

@@ -124,3 +124,3 @@ * @category model

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/es6/HKT' {
interface URItoKind2<E, A> {

@@ -127,0 +127,0 @@ readonly [URI]: Encoder<E, A>

import { memoize, intersect_ } from './Schemable';
import { identity } from 'fp-ts/function';
import { identity } from 'fp-ts/es6/function';
// -------------------------------------------------------------------------------------

@@ -4,0 +4,0 @@ // combinators

@@ -1,2 +0,2 @@

import * as E from 'fp-ts/Eq'
import * as E from 'fp-ts/es6/Eq'
import { Schemable1, WithRefine1, WithUnknownContainers1 } from './Schemable'

@@ -3,0 +3,0 @@ import Eq = E.Eq

@@ -11,5 +11,5 @@ /**

*/
import * as A from 'fp-ts/Array';
import * as E from 'fp-ts/Eq';
import * as R from 'fp-ts/Record';
import * as A from 'fp-ts/es6/Array';
import * as E from 'fp-ts/es6/Eq';
import * as R from 'fp-ts/es6/Record';
import { memoize } from './Schemable';

@@ -16,0 +16,0 @@ // -------------------------------------------------------------------------------------

@@ -11,3 +11,3 @@ /**

*/
import { Semigroup } from 'fp-ts/Semigroup'
import { Semigroup } from 'fp-ts/es6/Semigroup'
/**

@@ -14,0 +14,0 @@ * @category model

@@ -146,3 +146,3 @@ import { Literal, Schemable1, WithRefine1, WithUnion1, WithUnknownContainers1 } from './Schemable'

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/es6/HKT' {
interface URItoKind<A> {

@@ -149,0 +149,0 @@ readonly [URI]: Guard<unknown, A>

@@ -11,3 +11,3 @@ /**

*/
import { pipe } from 'fp-ts/pipeable';
import { pipe } from 'fp-ts/es6/pipeable';
import { memoize } from './Schemable';

@@ -14,0 +14,0 @@ // -------------------------------------------------------------------------------------

/**
* @since 1.0.0
*/
import { Either } from 'fp-ts/Either'
import { Predicate, Refinement } from 'fp-ts/function'
import { Either } from 'fp-ts/es6/Either'
import { Predicate, Refinement } from 'fp-ts/es6/function'
/**

@@ -7,0 +7,0 @@ * @category Model

@@ -35,3 +35,3 @@ var __extends = (this && this.__extends) || (function () {

*/
import { isLeft, left, right } from 'fp-ts/Either';
import { isLeft, left, right } from 'fp-ts/es6/Either';
/**

@@ -38,0 +38,0 @@ * @category Model

@@ -11,12 +11,12 @@ /**

*/
import { Alt2C } from 'fp-ts/Alt'
import { Applicative2C } from 'fp-ts/Applicative'
import { Apply2C } from 'fp-ts/Apply'
import { Bifunctor2 } from 'fp-ts/Bifunctor'
import { Functor2C } from 'fp-ts/Functor'
import { Kind2, URIS2 } from 'fp-ts/HKT'
import { Monad2C } from 'fp-ts/Monad'
import { MonadThrow2C } from 'fp-ts/MonadThrow'
import { Alt2C } from 'fp-ts/es6/Alt'
import { Applicative2C } from 'fp-ts/es6/Applicative'
import { Apply2C } from 'fp-ts/es6/Apply'
import { Bifunctor2 } from 'fp-ts/es6/Bifunctor'
import { Functor2C } from 'fp-ts/es6/Functor'
import { Kind2, URIS2 } from 'fp-ts/es6/HKT'
import { Monad2C } from 'fp-ts/es6/Monad'
import { MonadThrow2C } from 'fp-ts/es6/MonadThrow'
import { Literal } from './Schemable'
import { Lazy, Refinement } from 'fp-ts/function'
import { Lazy, Refinement } from 'fp-ts/es6/function'
/**

@@ -23,0 +23,0 @@ * @category model

@@ -1,2 +0,2 @@

import * as E from 'fp-ts/Either';
import * as E from 'fp-ts/es6/Either';
import * as G from './Guard';

@@ -3,0 +3,0 @@ import { intersect_, memoize } from './Schemable';

import { getFunctionName } from '.';
import { fold } from 'fp-ts/Either';
import { fold } from 'fp-ts/es6/Either';
function stringify(v) {

@@ -4,0 +4,0 @@ if (typeof v === 'function') {

@@ -11,3 +11,3 @@ /**

*/
import { HKT, Kind, Kind2, URIS, URIS2 } from 'fp-ts/HKT'
import { HKT, Kind, Kind2, URIS, URIS2 } from 'fp-ts/es6/HKT'
import { Schemable, Schemable1, Schemable2C } from './Schemable'

@@ -14,0 +14,0 @@ /**

@@ -11,3 +11,3 @@ /**

*/
import { HKT, Kind, Kind2, URIS, URIS2 } from 'fp-ts/HKT'
import { HKT, Kind, Kind2, URIS, URIS2 } from 'fp-ts/es6/HKT'
/**

@@ -14,0 +14,0 @@ * @since 2.2.0

@@ -11,7 +11,7 @@ /**

*/
import { Alt2 } from 'fp-ts/Alt'
import { Category2 } from 'fp-ts/Category'
import { Refinement } from 'fp-ts/function'
import { Functor2 } from 'fp-ts/Functor'
import * as TE from 'fp-ts/TaskEither'
import { Alt2 } from 'fp-ts/es6/Alt'
import { Category2 } from 'fp-ts/es6/Category'
import { Refinement } from 'fp-ts/es6/function'
import { Functor2 } from 'fp-ts/es6/Functor'
import * as TE from 'fp-ts/es6/TaskEither'
import * as DE from './DecodeError'

@@ -273,3 +273,3 @@ import * as D from './Decoder'

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/es6/HKT' {
interface URItoKind2<E, A> {

@@ -276,0 +276,0 @@ readonly [URI]: TaskDecoder<E, A>

@@ -1,5 +0,5 @@

import * as E from 'fp-ts/Either';
import { pipe } from 'fp-ts/pipeable';
import * as T from 'fp-ts/Task';
import * as TE from 'fp-ts/TaskEither';
import * as E from 'fp-ts/es6/Either';
import { pipe } from 'fp-ts/es6/pipeable';
import * as T from 'fp-ts/es6/Task';
import * as TE from 'fp-ts/es6/TaskEither';
import * as DE from './DecodeError';

@@ -6,0 +6,0 @@ import * as D from './Decoder';

import { PathReporter } from './PathReporter';
import { isLeft } from 'fp-ts/Either';
import { isLeft } from 'fp-ts/es6/Either';
/**

@@ -4,0 +4,0 @@ * @category deprecated

@@ -119,3 +119,3 @@ /**

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/es6/HKT' {
interface URItoKind<A> {

@@ -122,0 +122,0 @@ readonly [URI]: Type<A>

@@ -12,4 +12,4 @@ /**

import * as t from './index';
import * as E from 'fp-ts/Either';
import { pipe } from 'fp-ts/pipeable';
import * as E from 'fp-ts/es6/Either';
import { pipe } from 'fp-ts/es6/pipeable';
// -------------------------------------------------------------------------------------

@@ -16,0 +16,0 @@ // constructors

@@ -1,2 +0,2 @@

import { Invariant3 } from 'fp-ts/Invariant'
import { Invariant3 } from 'fp-ts/lib/Invariant'
import * as D from './Decoder'

@@ -253,3 +253,3 @@ import * as E from './Encoder'

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/lib/HKT' {
interface URItoKind3<R, E, A> {

@@ -256,0 +256,0 @@ readonly [URI]: Codec<R, E, A>

@@ -33,4 +33,4 @@ "use strict";

*/
var function_1 = require("fp-ts/function");
var pipeable_1 = require("fp-ts/pipeable");
var function_1 = require("fp-ts/lib/function");
var pipeable_1 = require("fp-ts/lib/pipeable");
var D = __importStar(require("./Decoder"));

@@ -37,0 +37,0 @@ var E = __importStar(require("./Encoder"));

@@ -11,3 +11,3 @@ /**

*/
import { Semigroup } from 'fp-ts/Semigroup'
import { Semigroup } from 'fp-ts/lib/Semigroup'
import * as FS from './FreeSemigroup'

@@ -14,0 +14,0 @@ /**

@@ -11,7 +11,7 @@ /**

*/
import { Alt2 } from 'fp-ts/Alt'
import { Category2 } from 'fp-ts/Category'
import * as E from 'fp-ts/Either'
import { Refinement } from 'fp-ts/function'
import { Functor2 } from 'fp-ts/Functor'
import { Alt2 } from 'fp-ts/lib/Alt'
import { Category2 } from 'fp-ts/lib/Category'
import * as E from 'fp-ts/lib/Either'
import { Refinement } from 'fp-ts/lib/function'
import { Functor2 } from 'fp-ts/lib/Functor'
import * as DE from './DecodeError'

@@ -256,3 +256,3 @@ import * as FS from './FreeSemigroup'

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/lib/HKT' {
interface URItoKind2<E, A> {

@@ -259,0 +259,0 @@ readonly [URI]: Decoder<E, A>

@@ -23,4 +23,4 @@ "use strict";

exports.stringify = exports.draw = exports.WithRefine = exports.WithUnion = exports.WithUnknownContainers = exports.Schemable = exports.Category = exports.Alt = exports.Functor = exports.URI = exports.id = exports.compose = exports.alt = exports.map = exports.lazy = exports.sum = exports.fromSum = exports.intersect = exports.union = exports.tuple = exports.fromTuple = exports.record = exports.fromRecord = exports.array = exports.fromArray = exports.partial = exports.fromPartial = exports.type = exports.fromType = exports.nullable = exports.parse = exports.refine = exports.withMessage = exports.mapLeftWithInput = exports.UnknownRecord = exports.UnknownArray = exports.boolean = exports.number = exports.string = exports.literal = exports.fromGuard = exports.fromRefinement = exports.failure = exports.success = exports.error = exports.ap = exports.SE = void 0;
var E = __importStar(require("fp-ts/Either"));
var pipeable_1 = require("fp-ts/pipeable");
var E = __importStar(require("fp-ts/lib/Either"));
var pipeable_1 = require("fp-ts/lib/pipeable");
var DE = __importStar(require("./DecodeError"));

@@ -27,0 +27,0 @@ var FS = __importStar(require("./FreeSemigroup"));

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

*/
import { Contravariant2 } from 'fp-ts/Contravariant'
import { Category2 } from 'fp-ts/Category'
import { Contravariant2 } from 'fp-ts/lib/Contravariant'
import { Category2 } from 'fp-ts/lib/Category'
/**

@@ -124,3 +124,3 @@ * @category model

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/lib/HKT' {
interface URItoKind2<E, A> {

@@ -127,0 +127,0 @@ readonly [URI]: Encoder<E, A>

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

var Schemable_1 = require("./Schemable");
var function_1 = require("fp-ts/function");
var function_1 = require("fp-ts/lib/function");
// -------------------------------------------------------------------------------------

@@ -8,0 +8,0 @@ // combinators

@@ -1,2 +0,2 @@

import * as E from 'fp-ts/Eq'
import * as E from 'fp-ts/lib/Eq'
import { Schemable1, WithRefine1, WithUnknownContainers1 } from './Schemable'

@@ -3,0 +3,0 @@ import Eq = E.Eq

@@ -33,5 +33,5 @@ "use strict";

*/
var A = __importStar(require("fp-ts/Array"));
var E = __importStar(require("fp-ts/Eq"));
var R = __importStar(require("fp-ts/Record"));
var A = __importStar(require("fp-ts/lib/Array"));
var E = __importStar(require("fp-ts/lib/Eq"));
var R = __importStar(require("fp-ts/lib/Record"));
var Schemable_1 = require("./Schemable");

@@ -38,0 +38,0 @@ // -------------------------------------------------------------------------------------

@@ -11,3 +11,3 @@ /**

*/
import { Semigroup } from 'fp-ts/Semigroup'
import { Semigroup } from 'fp-ts/lib/Semigroup'
/**

@@ -14,0 +14,0 @@ * @category model

@@ -146,3 +146,3 @@ import { Literal, Schemable1, WithRefine1, WithUnion1, WithUnknownContainers1 } from './Schemable'

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/lib/HKT' {
interface URItoKind<A> {

@@ -149,0 +149,0 @@ readonly [URI]: Guard<unknown, A>

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

*/
var pipeable_1 = require("fp-ts/pipeable");
var pipeable_1 = require("fp-ts/lib/pipeable");
var Schemable_1 = require("./Schemable");

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

/**
* @since 1.0.0
*/
import { Either } from 'fp-ts/Either'
import { Predicate, Refinement } from 'fp-ts/function'
import { Either } from 'fp-ts/lib/Either'
import { Predicate, Refinement } from 'fp-ts/lib/function'
/**

@@ -7,0 +7,0 @@ * @category Model

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

*/
var Either_1 = require("fp-ts/Either");
var Either_1 = require("fp-ts/lib/Either");
/**

@@ -41,0 +41,0 @@ * @category Model

@@ -11,12 +11,12 @@ /**

*/
import { Alt2C } from 'fp-ts/Alt'
import { Applicative2C } from 'fp-ts/Applicative'
import { Apply2C } from 'fp-ts/Apply'
import { Bifunctor2 } from 'fp-ts/Bifunctor'
import { Functor2C } from 'fp-ts/Functor'
import { Kind2, URIS2 } from 'fp-ts/HKT'
import { Monad2C } from 'fp-ts/Monad'
import { MonadThrow2C } from 'fp-ts/MonadThrow'
import { Alt2C } from 'fp-ts/lib/Alt'
import { Applicative2C } from 'fp-ts/lib/Applicative'
import { Apply2C } from 'fp-ts/lib/Apply'
import { Bifunctor2 } from 'fp-ts/lib/Bifunctor'
import { Functor2C } from 'fp-ts/lib/Functor'
import { Kind2, URIS2 } from 'fp-ts/lib/HKT'
import { Monad2C } from 'fp-ts/lib/Monad'
import { MonadThrow2C } from 'fp-ts/lib/MonadThrow'
import { Literal } from './Schemable'
import { Lazy, Refinement } from 'fp-ts/function'
import { Lazy, Refinement } from 'fp-ts/lib/function'
/**

@@ -23,0 +23,0 @@ * @category model

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

exports.alt = exports.map = exports.id = exports.compose = exports.lazy = exports.fromSum = exports.intersect = exports.union = exports.fromTuple = exports.fromRecord = exports.fromArray = exports.fromPartial = exports.fromType = exports.nullable = exports.parse = exports.refine = exports.mapLeftWithInput = exports.literal = exports.fromRefinement = void 0;
var E = __importStar(require("fp-ts/Either"));
var E = __importStar(require("fp-ts/lib/Either"));
var G = __importStar(require("./Guard"));

@@ -26,0 +26,0 @@ var Schemable_1 = require("./Schemable");

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

var _1 = require(".");
var Either_1 = require("fp-ts/Either");
var Either_1 = require("fp-ts/lib/Either");
function stringify(v) {

@@ -8,0 +8,0 @@ if (typeof v === 'function') {

@@ -11,3 +11,3 @@ /**

*/
import { HKT, Kind, Kind2, URIS, URIS2 } from 'fp-ts/HKT'
import { HKT, Kind, Kind2, URIS, URIS2 } from 'fp-ts/lib/HKT'
import { Schemable, Schemable1, Schemable2C } from './Schemable'

@@ -14,0 +14,0 @@ /**

@@ -11,3 +11,3 @@ /**

*/
import { HKT, Kind, Kind2, URIS, URIS2 } from 'fp-ts/HKT'
import { HKT, Kind, Kind2, URIS, URIS2 } from 'fp-ts/lib/HKT'
/**

@@ -14,0 +14,0 @@ * @since 2.2.0

@@ -11,7 +11,7 @@ /**

*/
import { Alt2 } from 'fp-ts/Alt'
import { Category2 } from 'fp-ts/Category'
import { Refinement } from 'fp-ts/function'
import { Functor2 } from 'fp-ts/Functor'
import * as TE from 'fp-ts/TaskEither'
import { Alt2 } from 'fp-ts/lib/Alt'
import { Category2 } from 'fp-ts/lib/Category'
import { Refinement } from 'fp-ts/lib/function'
import { Functor2 } from 'fp-ts/lib/Functor'
import * as TE from 'fp-ts/lib/TaskEither'
import * as DE from './DecodeError'

@@ -273,3 +273,3 @@ import * as D from './Decoder'

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/lib/HKT' {
interface URItoKind2<E, A> {

@@ -276,0 +276,0 @@ readonly [URI]: TaskDecoder<E, A>

@@ -23,6 +23,6 @@ "use strict";

exports.stringify = exports.draw = exports.WithRefine = exports.WithUnion = exports.WithUnknownContainers = exports.Schemable = exports.Category = exports.Alt = exports.Functor = exports.URI = exports.id = exports.compose = exports.alt = exports.map = exports.lazy = exports.sum = exports.fromSum = exports.intersect = exports.union = exports.tuple = exports.fromTuple = exports.record = exports.fromRecord = exports.array = exports.fromArray = exports.partial = exports.fromPartial = exports.type = exports.fromType = exports.nullable = exports.parse = exports.refine = exports.withMessage = exports.mapLeftWithInput = exports.UnknownRecord = exports.UnknownArray = exports.boolean = exports.number = exports.string = exports.literal = exports.fromGuard = exports.fromRefinement = exports.fromDecoder = exports.failure = exports.success = exports.error = void 0;
var E = __importStar(require("fp-ts/Either"));
var pipeable_1 = require("fp-ts/pipeable");
var T = __importStar(require("fp-ts/Task"));
var TE = __importStar(require("fp-ts/TaskEither"));
var E = __importStar(require("fp-ts/lib/Either"));
var pipeable_1 = require("fp-ts/lib/pipeable");
var T = __importStar(require("fp-ts/lib/Task"));
var TE = __importStar(require("fp-ts/lib/TaskEither"));
var DE = __importStar(require("./DecodeError"));

@@ -29,0 +29,0 @@ var D = __importStar(require("./Decoder"));

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

var PathReporter_1 = require("./PathReporter");
var Either_1 = require("fp-ts/Either");
var Either_1 = require("fp-ts/lib/Either");
/**

@@ -8,0 +8,0 @@ * @category deprecated

@@ -119,3 +119,3 @@ /**

export declare type URI = typeof URI
declare module 'fp-ts/HKT' {
declare module 'fp-ts/lib/HKT' {
interface URItoKind<A> {

@@ -122,0 +122,0 @@ readonly [URI]: Type<A>

@@ -34,4 +34,4 @@ "use strict";

var t = __importStar(require("./index"));
var E = __importStar(require("fp-ts/Either"));
var pipeable_1 = require("fp-ts/pipeable");
var E = __importStar(require("fp-ts/lib/Either"));
var pipeable_1 = require("fp-ts/lib/pipeable");
// -------------------------------------------------------------------------------------

@@ -38,0 +38,0 @@ // constructors

{
"name": "@osdiab/io-ts",
"version": "2.3.0",
"version": "2.3.1",
"description": "TypeScript runtime type system for IO decoding/encoding",

@@ -21,3 +21,3 @@ "main": "lib/index.js",

"peerDependencies": {
"fp-ts": "^2.8.0"
"fp-ts": "^2.0.0"
},

@@ -24,0 +24,0 @@ "tags": [

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