react-smart-copy 1.19.1 → 1.21.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.
- package/README.md +165 -0
- package/dist/files.cjs +948 -0
- package/dist/files.cjs.map +1 -0
- package/dist/files.d.cts +311 -0
- package/dist/files.d.ts +311 -0
- package/dist/files.js +932 -0
- package/dist/files.js.map +1 -0
- package/dist/secrets.cjs +551 -0
- package/dist/secrets.cjs.map +1 -0
- package/dist/secrets.d.cts +152 -0
- package/dist/secrets.d.ts +152 -0
- package/dist/secrets.js +544 -0
- package/dist/secrets.js.map +1 -0
- package/package.json +67 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-smart-copy",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Headless, type-safe clipboard interactions for React: copy and paste text, rich HTML, images, spreadsheet tables, typed application data, Markdown, code, privacy-safe images, links, sharing, colours, portable rich text
|
|
3
|
+
"version": "1.21.0",
|
|
4
|
+
"description": "Headless, type-safe clipboard interactions for React: copy and paste text, rich HTML, images, spreadsheet tables, typed application data, Markdown, code, privacy-safe images, links, sharing, colours, portable rich text, clean pastes from Word and Google Docs, safe file and folder drops with content-type checks, and secret detection and redaction in pastes and copies, with coordinated copy groups, SVG/DOM capture, Trojan Source and homoglyph detection, honest error states, retry and screen-reader announcements.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
7
7
|
"clipboard",
|
|
@@ -72,7 +72,16 @@
|
|
|
72
72
|
"lexical",
|
|
73
73
|
"prosemirror",
|
|
74
74
|
"contenteditable",
|
|
75
|
-
"wysiwyg"
|
|
75
|
+
"wysiwyg",
|
|
76
|
+
"file-upload",
|
|
77
|
+
"drag-and-drop-folders",
|
|
78
|
+
"file-type-detection",
|
|
79
|
+
"magic-bytes",
|
|
80
|
+
"safe-filename",
|
|
81
|
+
"secret-scanning",
|
|
82
|
+
"redaction",
|
|
83
|
+
"api-key-detection",
|
|
84
|
+
"data-loss-prevention"
|
|
76
85
|
],
|
|
77
86
|
"license": "MIT",
|
|
78
87
|
"author": {
|
|
@@ -134,6 +143,12 @@
|
|
|
134
143
|
],
|
|
135
144
|
"rich": [
|
|
136
145
|
"./dist/rich.d.ts"
|
|
146
|
+
],
|
|
147
|
+
"files": [
|
|
148
|
+
"./dist/files.d.ts"
|
|
149
|
+
],
|
|
150
|
+
"secrets": [
|
|
151
|
+
"./dist/secrets.d.ts"
|
|
137
152
|
]
|
|
138
153
|
}
|
|
139
154
|
},
|
|
@@ -268,6 +283,26 @@
|
|
|
268
283
|
"default": "./dist/rich.cjs"
|
|
269
284
|
}
|
|
270
285
|
},
|
|
286
|
+
"./files": {
|
|
287
|
+
"import": {
|
|
288
|
+
"types": "./dist/files.d.ts",
|
|
289
|
+
"default": "./dist/files.js"
|
|
290
|
+
},
|
|
291
|
+
"require": {
|
|
292
|
+
"types": "./dist/files.d.cts",
|
|
293
|
+
"default": "./dist/files.cjs"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"./secrets": {
|
|
297
|
+
"import": {
|
|
298
|
+
"types": "./dist/secrets.d.ts",
|
|
299
|
+
"default": "./dist/secrets.js"
|
|
300
|
+
},
|
|
301
|
+
"require": {
|
|
302
|
+
"types": "./dist/secrets.d.cts",
|
|
303
|
+
"default": "./dist/secrets.cjs"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
271
306
|
"./package.json": "./package.json"
|
|
272
307
|
},
|
|
273
308
|
"engines": {
|
|
@@ -484,6 +519,34 @@
|
|
|
484
519
|
"import": "{ pasteAsRich }",
|
|
485
520
|
"limit": "16.6 kB"
|
|
486
521
|
},
|
|
522
|
+
{
|
|
523
|
+
"name": "files, all exports",
|
|
524
|
+
"path": "dist/files.js",
|
|
525
|
+
"limit": "7.1 kB"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"name": "files: acceptFiles",
|
|
529
|
+
"path": "dist/files.js",
|
|
530
|
+
"import": "{ acceptFiles }",
|
|
531
|
+
"limit": "6.85 kB"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "files: safeFileName",
|
|
535
|
+
"path": "dist/files.js",
|
|
536
|
+
"import": "{ safeFileName }",
|
|
537
|
+
"limit": "2.45 kB"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"name": "secrets, all exports",
|
|
541
|
+
"path": "dist/secrets.js",
|
|
542
|
+
"limit": "4.25 kB"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "secrets: scanSecrets",
|
|
546
|
+
"path": "dist/secrets.js",
|
|
547
|
+
"import": "{ scanSecrets }",
|
|
548
|
+
"limit": "3.45 kB"
|
|
549
|
+
},
|
|
487
550
|
{
|
|
488
551
|
"name": "An app using five entry points (one shared core)",
|
|
489
552
|
"path": [
|
|
@@ -530,7 +593,7 @@
|
|
|
530
593
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
531
594
|
"fast-check": "^4.10.2",
|
|
532
595
|
"jsdom": "^30.1.3",
|
|
533
|
-
"markdown-it": "14.3.
|
|
596
|
+
"markdown-it": "14.3.3",
|
|
534
597
|
"micromark": "4.0.3",
|
|
535
598
|
"micromark-extension-gfm": "3.0.0",
|
|
536
599
|
"publint": "^0.3.25",
|