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

enonic-wizardry

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-wizardry - npm Package Compare versions

Comparing version 0.2.22 to 0.2.23

4

lib/utils.d.ts

@@ -7,4 +7,4 @@ import { IOEither } from 'fp-ts/lib/IOEither';

export declare function getUuidFromPath(path: string): Option<string>;
export declare function forceArray<A>(data?: A | Array<A> | ReadonlyArray<A>): Array<A>;
export declare function forceReadonlyArray<A>(data?: A | ReadonlyArray<A>): ReadonlyArray<A>;
export declare function forceArray<A>(data?: A | Array<A>): Array<A>;
export declare function forceArray<A>(data?: A | ReadonlyArray<A>): ReadonlyArray<A>;
export declare function uuidv4(): string;

@@ -33,9 +33,2 @@ "use strict";

exports.forceArray = forceArray;
function forceReadonlyArray(data) {
data = data || [];
return Array.isArray(data)
? data
: [data];
}
exports.forceReadonlyArray = forceReadonlyArray;
function uuidv4() {

@@ -42,0 +35,0 @@ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {

{
"name": "enonic-wizardry",
"version": "0.2.22",
"version": "0.2.23",
"description": "Functional utility library for Enonic XP",

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

"dependencies": {
"enonic-fp": "^0.2.23",
"enonic-types": "^0.0.29",
"enonic-fp": "^0.2.24",
"enonic-types": "^0.0.32",
"fp-ts": "^2.4.4",
"io-ts": "^2.0.6"
"io-ts": "^2.1.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.19.0",
"@typescript-eslint/parser": "^2.19.0",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"eslint": "^6.8.0",
"rimraf": "^3.0.1",
"rimraf": "^3.0.2",
"typescript": "^3.7.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