react-smart-copy 1.20.0 → 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 +73 -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 +31 -3
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, clean pastes from Word and Google Docs,
|
|
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",
|
|
@@ -77,7 +77,11 @@
|
|
|
77
77
|
"drag-and-drop-folders",
|
|
78
78
|
"file-type-detection",
|
|
79
79
|
"magic-bytes",
|
|
80
|
-
"safe-filename"
|
|
80
|
+
"safe-filename",
|
|
81
|
+
"secret-scanning",
|
|
82
|
+
"redaction",
|
|
83
|
+
"api-key-detection",
|
|
84
|
+
"data-loss-prevention"
|
|
81
85
|
],
|
|
82
86
|
"license": "MIT",
|
|
83
87
|
"author": {
|
|
@@ -142,6 +146,9 @@
|
|
|
142
146
|
],
|
|
143
147
|
"files": [
|
|
144
148
|
"./dist/files.d.ts"
|
|
149
|
+
],
|
|
150
|
+
"secrets": [
|
|
151
|
+
"./dist/secrets.d.ts"
|
|
145
152
|
]
|
|
146
153
|
}
|
|
147
154
|
},
|
|
@@ -286,6 +293,16 @@
|
|
|
286
293
|
"default": "./dist/files.cjs"
|
|
287
294
|
}
|
|
288
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
|
+
},
|
|
289
306
|
"./package.json": "./package.json"
|
|
290
307
|
},
|
|
291
308
|
"engines": {
|
|
@@ -519,6 +536,17 @@
|
|
|
519
536
|
"import": "{ safeFileName }",
|
|
520
537
|
"limit": "2.45 kB"
|
|
521
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
|
+
},
|
|
522
550
|
{
|
|
523
551
|
"name": "An app using five entry points (one shared core)",
|
|
524
552
|
"path": [
|