Skip to content

Commit

Permalink
refactor(utils): use deno config and bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
TillaTheHun0 committed May 26, 2023
1 parent 97cefd9 commit 63d5a82
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/utils/deep-swap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as R from 'https://cdn.skypack.dev/ramda@0.28.0'
import * as R from 'https://cdn.skypack.dev/ramda@0.29.0'

const {
curry,
Expand Down
12 changes: 12 additions & 0 deletions packages/utils/deno.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"tasks": {
"test": "deno lint && deno fmt --check && deno test --no-check"
},
"fmt": {
"include": ["./"],
"lineWidth": 100,
"singleQuote": true,
"semiColons": false
},
"lock": false
}
2 changes: 1 addition & 1 deletion packages/utils/dev_deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export {
assert,
assertEquals,
assertThrows,
} from 'https://deno.land/std@0.128.0/testing/asserts.ts'
} from 'https://deno.land/std@0.188.0/testing/asserts.ts'
4 changes: 2 additions & 2 deletions packages/utils/hyper-err.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as R from 'https://cdn.skypack.dev/ramda@0.28.0'
import * as R from 'https://cdn.skypack.dev/ramda@0.29.0'

const {
ifElse,
Expand Down Expand Up @@ -38,7 +38,7 @@ const checkIfDefined = (pred, msg) =>
)

export const isHyperErr = allPass([
propEq('ok', false),
propEq(false, 'ok'),
/**
* should not have an _id.
* Otherwise it's a document ie data.retrieveDocument
Expand Down
1 change: 0 additions & 1 deletion packages/utils/scripts/test.sh

This file was deleted.

0 comments on commit 63d5a82

Please sign in to comment.