tamedevil 0.0.0-beta.1 → 0.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +3 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# tamedevil
|
|
2
2
|
|
|
3
|
+
## 0.0.0-beta.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#496](https://github.com/benjie/crystal/pull/496)
|
|
8
|
+
[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
|
|
9
|
+
Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
|
|
10
|
+
through major versions).
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
[[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)]:
|
|
14
|
+
- @graphile/lru@5.0.0-beta.2
|
|
15
|
+
|
|
3
16
|
## 0.0.0-beta.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -69,13 +69,13 @@ And please give some love to our featured sponsors 🤩:
|
|
|
69
69
|
## Installation
|
|
70
70
|
|
|
71
71
|
```
|
|
72
|
-
yarn add tamedevil
|
|
72
|
+
yarn add tamedevil@beta
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
or
|
|
76
76
|
|
|
77
77
|
```
|
|
78
|
-
npm install --save tamedevil
|
|
78
|
+
npm install --save tamedevil@beta
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
## Importing
|
|
@@ -322,7 +322,7 @@ If `obj` is potentially expensive code and you need to reference it multiple
|
|
|
322
322
|
times (e.g. `` te`(${obj}.foo === 3 ? ${obj}.bar : ${obj}.baz)` ``) then you can
|
|
323
323
|
use `tmp` to create a temporary variable that stores reference to it and return
|
|
324
324
|
the result of calling `callback` passing this temporary reference. E.g.
|
|
325
|
-
``
|
|
325
|
+
``te.tmp(obj, tmp => te`(${tmp}.foo === 3 ? ${tmp}.bar : ${tmp}.baz)`)`` means
|
|
326
326
|
that the potentially expensive expression in the original `obj` variable only
|
|
327
327
|
need to be evaluated once, not 3 times.
|
|
328
328
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamedevil",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.2",
|
|
4
4
|
"description": "Build and evaluate JavaScript strings safely via tagged template literals",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/graphile/heart/tree/main/utils/tamedevil",
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/debug": "4.1.
|
|
39
|
-
"@types/jest": "^
|
|
40
|
-
"@types/node": "
|
|
41
|
-
"jest": "^
|
|
38
|
+
"@types/debug": "4.1.8",
|
|
39
|
+
"@types/jest": "^29.5.4",
|
|
40
|
+
"@types/node": "20.5.7",
|
|
41
|
+
"jest": "^29.6.4",
|
|
42
42
|
"markdown-doctest": "^1.1.0",
|
|
43
43
|
"ts-node": "^10.9.1",
|
|
44
|
-
"typescript": "^5.
|
|
44
|
+
"typescript": "^5.2.2"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@graphile/lru": "^5.0.0-beta.
|
|
48
|
-
"tslib": "^2.
|
|
47
|
+
"@graphile/lru": "^5.0.0-beta.2",
|
|
48
|
+
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
50
50
|
"files": [
|
|
51
51
|
"dist"
|