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

enonic-fp

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-fp - npm Package Compare versions

Comparing version 0.2.43 to 0.2.44

6

lib/node.d.ts
import { IOEither } from "fp-ts/lib/IOEither";
import { EnonicError } from "./errors";
import { DiffParams, DiffResponse, FindVersionsParams, MultiRepoConnection, MultiRepoConnectParams, NodeCreateParams, NodeFindChildrenParams, NodeModifyParams, NodeQueryParams, NodeQueryResponse, NodeVersionQueryResult, RepoConnection, RepoNode, Source } from "enonic-types/lib/node";
import { DiffParams, DiffResponse, FindVersionsParams, MultiRepoConnection, MultiRepoConnectParams, NodeCreateParams, NodeFindChildrenParams, NodeGetParams, NodeModifyParams, NodeQueryParams, NodeQueryResponse, NodeVersionQueryResult, RepoConnection, RepoNode, Source } from "enonic-types/lib/node";
/**

@@ -36,4 +36,4 @@ * Creates a connection to a repository with a given branch and authentication info.

*/
export declare function get<A>(repo: RepoConnection, key: string): IOEither<EnonicError, A & RepoNode>;
export declare function get<A>(repo: RepoConnection, keys: ReadonlyArray<string>): IOEither<EnonicError, ReadonlyArray<A & RepoNode>>;
export declare function get<A>(repo: RepoConnection, key: string | NodeGetParams): IOEither<EnonicError, A & RepoNode>;
export declare function get<A>(repo: RepoConnection, keys: ReadonlyArray<string | NodeGetParams>): IOEither<EnonicError, ReadonlyArray<A & RepoNode>>;
/**

@@ -40,0 +40,0 @@ * This command queries nodes.

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

function get(repo, keys) {
return utils_1.isString(keys)
? utils_1.catchEnonicError(function () { return repo.get(keys); })
: utils_1.catchEnonicError(function () { return repo.get(keys); });
return utils_1.catchEnonicError(function () { return repo.get(keys); });
}

@@ -62,0 +60,0 @@ exports.get = get;

{
"name": "enonic-fp",
"version": "0.2.43",
"version": "0.2.44",
"description": "Functional programming helpers for Enonic XP",

@@ -28,12 +28,12 @@ "main": "lib/index.js",

"dependencies": {
"enonic-types": "^0.0.63",
"enonic-types": "^0.0.66",
"fp-ts": "^2.6.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"eslint": "^7.0.0",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"eslint": "^7.2.0",
"rimraf": "^3.0.2",
"typescript": "^3.9.3"
"typescript": "^3.9.5"
}
}
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