enonic-wizardry
Advanced tools
Comparing version 0.2.22 to 0.2.23
@@ -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" | ||
} | ||
} |
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
23395
414
+ Addedenonic-types@0.0.32(transitive)
- Removedenonic-types@0.0.29(transitive)
Updatedenonic-fp@^0.2.24
Updatedenonic-types@^0.0.32
Updatedio-ts@^2.1.0