tamedevil 0.1.0-rc.5 → 0.1.0

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.
Files changed (3) hide show
  1. package/README.md +2 -3
  2. package/package.json +2 -18
  3. package/CHANGELOG.md +0 -272
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # tamedevil
2
2
 
3
3
  [![GitHub Sponsors](https://img.shields.io/github/sponsors/benjie?color=ff69b4&label=github%20sponsors)](https://github.com/sponsors/benjie)
4
- [![Patreon sponsor button](https://img.shields.io/badge/sponsor-via%20Patreon-orange.svg)](https://patreon.com/benjie)
5
4
  [![Discord chat room](https://img.shields.io/discord/489127045289476126.svg)](http://discord.gg/graphile)
6
- [![Follow](https://img.shields.io/badge/twitter-@GraphileHQ-blue.svg)](https://twitter.com/GraphileHQ)
5
+ [![Follow](https://img.shields.io/badge/BSky-@Graphile.org-006aff.svg)](https://bsky.app/profile/graphile.org)
6
+ [![Follow](https://img.shields.io/badge/Mastodon-@Graphile.fosstodon.org-6364ff.svg)](https://fosstodon.org/@graphile)
7
7
 
8
8
  **Eval is evil, this module helps tame it!**
9
9
 
@@ -52,7 +52,6 @@ via sponsorship.
52
52
  And please give some love to our featured sponsors 🤩:
53
53
 
54
54
  <table><tr>
55
- <td align="center"><a href="https://www.the-guild.dev/"><img src="https://graphile.org/images/sponsors/theguild.png" width="90" height="90" alt="The Guild" /><br />The Guild</a> *</td>
56
55
  <td align="center"><a href="https://gosteelhead.com/"><img src="https://graphile.org/images/sponsors/steelhead.svg" width="90" height="90" alt="Steelhead" /><br />Steelhead</a> *</td>
57
56
  </tr></table>
58
57
 
package/package.json CHANGED
@@ -1,16 +1,9 @@
1
1
  {
2
2
  "name": "tamedevil",
3
- "version": "0.1.0-rc.5",
3
+ "version": "0.1.0",
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",
7
- "scripts": {
8
- "pretest": "node dist/index.js",
9
- "test": "jest",
10
- "posttest": "yarn test:docs",
11
- "test:docs": "markdown-doctest",
12
- "prepack": "tsc -b"
13
- },
14
7
  "repository": {
15
8
  "type": "git",
16
9
  "url": "git+https://github.com/graphile/crystal.git"
@@ -34,17 +27,8 @@
34
27
  "url": "https://github.com/graphile/crystal/issues"
35
28
  },
36
29
  "homepage": "https://github.com/graphile/crystal/tree/main/utils/tamedevil",
37
- "devDependencies": {
38
- "@types/debug": "^4.1.12",
39
- "@types/jest": "^30.0.0",
40
- "@types/node": "^22.19.1",
41
- "jest": "^30.2.0",
42
- "markdown-doctest": "^1.1.0",
43
- "ts-node": "^10.9.2",
44
- "typescript": "^5.9.3"
45
- },
46
30
  "dependencies": {
47
- "@graphile/lru": "^5.0.0-rc.4",
31
+ "@graphile/lru": "^5.0.0",
48
32
  "tslib": "^2.8.1"
49
33
  },
50
34
  "files": [
package/CHANGELOG.md DELETED
@@ -1,272 +0,0 @@
1
- # tamedevil
2
-
3
- ## 0.1.0-rc.5
4
-
5
- ### Patch Changes
6
-
7
- - [#2957](https://github.com/graphile/crystal/pull/2957)
8
- [`81ade71`](https://github.com/graphile/crystal/commit/81ade71eb278d1d9a6283e7bef48328964e5e56c)
9
- Thanks [@benjie](https://github.com/benjie)! - Mark isSafeObjectPropertyName
10
- as an export.
11
-
12
- - [#2965](https://github.com/graphile/crystal/pull/2965)
13
- [`d15e1c2`](https://github.com/graphile/crystal/commit/d15e1c2dc9ffad906d08d3ec2963034494d43d98)
14
- Thanks [@benjie](https://github.com/benjie)! - Make EXPORTABLE's scope a
15
- readonly array for greater compatibility.
16
-
17
- ## 0.1.0-rc.4
18
-
19
- ### Patch Changes
20
-
21
- - [`a3722d6`](https://github.com/graphile/crystal/commit/a3722d613bc6fb9e32f167aae9a31eaa422ceef1)
22
- Thanks [@benjie](https://github.com/benjie)! - Refactor to enable TypeScript
23
- options rewriteRelativeImportExtensions and erasableSyntaxOnly (including
24
- using .ts extensions in source code)
25
- - Updated dependencies
26
- [[`a3722d6`](https://github.com/graphile/crystal/commit/a3722d613bc6fb9e32f167aae9a31eaa422ceef1)]:
27
- - @graphile/lru@5.0.0-rc.4
28
-
29
- ## 0.1.0-rc.3
30
-
31
- ### Patch Changes
32
-
33
- - [#2873](https://github.com/graphile/crystal/pull/2873)
34
- [`0772086`](https://github.com/graphile/crystal/commit/0772086411a55d56b4e345cff1eef133eee31b36)
35
- Thanks [@benjie](https://github.com/benjie)! - Update TypeScript configuration
36
- to support Node 22 minimum
37
-
38
- - [#2888](https://github.com/graphile/crystal/pull/2888)
39
- [`1a56db2`](https://github.com/graphile/crystal/commit/1a56db2f53bc455a3d3ba6555a2cd777b27b271c)
40
- Thanks [@benjaie](https://github.com/benjaie)! - Node v22+ is required for
41
- this module.
42
-
43
- - Updated dependencies
44
- [[`0772086`](https://github.com/graphile/crystal/commit/0772086411a55d56b4e345cff1eef133eee31b36),
45
- [`1a56db2`](https://github.com/graphile/crystal/commit/1a56db2f53bc455a3d3ba6555a2cd777b27b271c)]:
46
- - @graphile/lru@5.0.0-rc.3
47
-
48
- ## 0.1.0-rc.2
49
-
50
- ### Patch Changes
51
-
52
- - [#2829](https://github.com/graphile/crystal/pull/2829)
53
- [`a82e6fa`](https://github.com/graphile/crystal/commit/a82e6fae099f7e9d62fb3fc1ee173368cdabca27)
54
- Thanks [@benjie](https://github.com/benjie)! - Update dependency ranges.
55
-
56
- - Updated dependencies
57
- [[`a82e6fa`](https://github.com/graphile/crystal/commit/a82e6fae099f7e9d62fb3fc1ee173368cdabca27)]:
58
- - @graphile/lru@5.0.0-rc.2
59
-
60
- ## 0.1.0-rc.1
61
-
62
- ### Patch Changes
63
-
64
- - [`8a5a7c5`](https://github.com/graphile/crystal/commit/8a5a7c536fc4b9b702600c5cc3d413724670c327)
65
- Thanks [@benjie](https://github.com/benjie)! - Bump to release candidate
66
-
67
- - Updated dependencies
68
- [[`8a5a7c5`](https://github.com/graphile/crystal/commit/8a5a7c536fc4b9b702600c5cc3d413724670c327)]:
69
- - @graphile/lru@5.0.0-rc.1
70
-
71
- ## 0.0.0-beta.9
72
-
73
- ### Patch Changes
74
-
75
- - [#2692](https://github.com/graphile/crystal/pull/2692)
76
- [`3d5c464`](https://github.com/graphile/crystal/commit/3d5c4641df66b431066efd6c74b67ca0d38ba7f4)
77
- Thanks [@benjie](https://github.com/benjie)! - Allow forbidding certain
78
- objects/functions from being exported, and raise error as early as possible.
79
-
80
- ## 0.0.0-beta.8
81
-
82
- ### Patch Changes
83
-
84
- - [#2482](https://github.com/graphile/crystal/pull/2482)
85
- [`459e1869a2ec58925b2bac5458af487c52a8ca37`](https://github.com/graphile/crystal/commit/459e1869a2ec58925b2bac5458af487c52a8ca37)
86
- Thanks [@benjie](https://github.com/benjie)! - Minimum version of Node.js
87
- bumped to Node 22 (the latest LTS).
88
-
89
- - Updated dependencies
90
- [[`459e1869a2ec58925b2bac5458af487c52a8ca37`](https://github.com/graphile/crystal/commit/459e1869a2ec58925b2bac5458af487c52a8ca37)]:
91
- - @graphile/lru@5.0.0-beta.4
92
-
93
- ## 0.0.0-beta.7
94
-
95
- ### Patch Changes
96
-
97
- - [#1973](https://github.com/graphile/crystal/pull/1973)
98
- [`b788dd868`](https://github.com/graphile/crystal/commit/b788dd86849e703cc3aa863fd9190c36a087b865)
99
- Thanks [@benjie](https://github.com/benjie)! - Add te.debug helper for
100
- debugging a te expression via printing a formatted version.
101
-
102
- ## 0.0.0-beta.6
103
-
104
- ### Patch Changes
105
-
106
- - [#1958](https://github.com/graphile/crystal/pull/1958)
107
- [`8315e8d01`](https://github.com/graphile/crystal/commit/8315e8d01c118cebc4ebbc53a2f264b958b252ad)
108
- Thanks [@benjie](https://github.com/benjie)! - EXPORTABLE now accepts a third
109
- argument, `nameHint`, which is used to hint what variable name to use for the
110
- given value. Used this in `graphile-export` along with some fixes and
111
- optimizations to improve the exports further.
112
-
113
- ## 0.0.0-beta.5
114
-
115
- ### Patch Changes
116
-
117
- - [#1935](https://github.com/graphile/crystal/pull/1935)
118
- [`49fd8afed`](https://github.com/graphile/crystal/commit/49fd8afed1afe573ea76a2a7a821dfa5d6288e2d)
119
- Thanks [@benjie](https://github.com/benjie)! - Add `te.runExportable` method,
120
- instead of simply calling the generated factory, it exports it in a way that's
121
- compatible with `graphile-export`.
122
-
123
- - [#1924](https://github.com/graphile/crystal/pull/1924)
124
- [`ef44c29b2`](https://github.com/graphile/crystal/commit/ef44c29b24a1ad5a042ae1536a4546dd64b17195)
125
- Thanks [@benjie](https://github.com/benjie)! - 🚨 TypeScript is now configured
126
- to hide interfaces marked as `@internal`. This may result in a few errors
127
- where you're accessing things you oughtn't be, but also may hide some
128
- interfaces that should be exposed - please file an issue if an API you were
129
- dependent on has been removed from the TypeScript typings. If that API happens
130
- to be `step.dependencies`; you should first read this:
131
- https://benjie.dev/graphql/ancestors
132
-
133
- - [#1935](https://github.com/graphile/crystal/pull/1935)
134
- [`8ea67f891`](https://github.com/graphile/crystal/commit/8ea67f8910693edaf70daa9952e35d8396166f38)
135
- Thanks [@benjie](https://github.com/benjie)! - Fix lots of things related to
136
- exporting a schema with `graphile-export`.
137
-
138
- ## 0.0.0-beta.4
139
-
140
- ### Patch Changes
141
-
142
- - [#1902](https://github.com/graphile/crystal/pull/1902)
143
- [`1b6c2f636`](https://github.com/graphile/crystal/commit/1b6c2f6360a316a8dc550c60e28c61deea538f19)
144
- Thanks [@benjie](https://github.com/benjie)! - Forbid `__proto__` set even
145
- when `--disable-proto=delete` option is in use.
146
-
147
- ## 0.0.0-beta.3
148
-
149
- ### Patch Changes
150
-
151
- - [#514](https://github.com/graphile/crystal-pre-merge/pull/514)
152
- [`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)
153
- Thanks [@benjie](https://github.com/benjie)! - Update package.json repository
154
- information
155
-
156
- - Updated dependencies
157
- [[`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)]:
158
- - @graphile/lru@5.0.0-beta.3
159
-
160
- ## 0.0.0-beta.2
161
-
162
- ### Patch Changes
163
-
164
- - [#496](https://github.com/benjie/crystal/pull/496)
165
- [`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
166
- Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
167
- through major versions).
168
-
169
- - Updated dependencies
170
- [[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)]:
171
- - @graphile/lru@5.0.0-beta.2
172
-
173
- ## 0.0.0-beta.1
174
-
175
- ### Patch Changes
176
-
177
- - [`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)
178
- Thanks [@benjie](https://github.com/benjie)! - Bump all packages to beta
179
-
180
- - Updated dependencies
181
- [[`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)]:
182
- - @graphile/lru@5.0.0-beta.1
183
-
184
- ## 0.0.0-alpha.4
185
-
186
- ### Patch Changes
187
-
188
- - [#408](https://github.com/benjie/crystal/pull/408)
189
- [`f5dd38aa3`](https://github.com/benjie/crystal/commit/f5dd38aa34c10f5ef0e0fa8fa48b70534ac3c294)
190
- Thanks [@benjie](https://github.com/benjie)! - 'toJSON' export is now named
191
- 'stringifyJSON'
192
-
193
- - [#408](https://github.com/benjie/crystal/pull/408)
194
- [`088d83b1d`](https://github.com/benjie/crystal/commit/088d83b1de2782a1a37a5998747b202a6c2b27a2)
195
- Thanks [@benjie](https://github.com/benjie)! - Rename `dangerousKey` to
196
- `safeKeyOrThrow` for clarity.
197
-
198
- ## 0.0.0-alpha.3
199
-
200
- ### Patch Changes
201
-
202
- - [#370](https://github.com/benjie/crystal/pull/370)
203
- [`339fe20d0`](https://github.com/benjie/crystal/commit/339fe20d0c6e8600d263ce8093cd85a6ea8adbbf)
204
- Thanks [@benjie](https://github.com/benjie)! - Allow multiple instances of
205
- pg-sql2 and tamedevil to help handle package manager shenanigans.
206
-
207
- ## 0.0.0-alpha.2
208
-
209
- ### Patch Changes
210
-
211
- - [`87e6c65a7`](https://github.com/benjie/crystal/commit/87e6c65a7a687044895b3b6c9f131384984e7674)
212
- Thanks [@benjie](https://github.com/benjie)! - Performance overhaul and new
213
- caching functionality.
214
-
215
- - [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
216
- Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
217
- TypeScript/tslib
218
-
219
- - Updated dependencies
220
- [[`98ae00f59`](https://github.com/benjie/crystal/commit/98ae00f59a8ab3edc5718ad8437a0dab734a7d69),
221
- [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)]:
222
- - @graphile/lru@5.0.0-alpha.2
223
-
224
- ## 0.0.0-alpha.1
225
-
226
- ### Patch Changes
227
-
228
- - [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
229
- Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
230
- https://postgraphile.org/news/2023-04-26-version-5-alpha
231
-
232
- - Updated dependencies
233
- [[`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
234
- - @graphile/lru@5.0.0-alpha.1
235
-
236
- ## 0.0.0-1.1
237
-
238
- ### Patch Changes
239
-
240
- - [#260](https://github.com/benjie/crystal/pull/260)
241
- [`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
242
- Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
243
-
244
- - Updated dependencies
245
- [[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)]:
246
- - @graphile/lru@5.0.0-1.1
247
-
248
- ## 0.0.0-0.4
249
-
250
- ### Patch Changes
251
-
252
- - [`0ab95d0b1`](undefined) - Update sponsors.
253
-
254
- ## 0.0.0-0.3
255
-
256
- ### Patch Changes
257
-
258
- - [`4ca7fce12`](undefined) - Make runnable in the browser for playground
259
-
260
- ## 0.0.0-0.2
261
-
262
- ### Patch Changes
263
-
264
- - [`9b296ba54`](undefined) - More secure, more compatible, and lots of fixes
265
- across the monorepo
266
-
267
- ## 0.0.0-0.1
268
-
269
- ### Patch Changes
270
-
271
- - [`cd37fd02a`](undefined) - Introduce new tamedevil package for managing JIT
272
- code