@depup/qrcode 1.5.4-depup.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 (42) hide show
  1. package/README.md +33 -0
  2. package/bin/qrcode +159 -0
  3. package/changes.json +18 -0
  4. package/helper/to-sjis-browser.js +2 -0
  5. package/helper/to-sjis.js +105 -0
  6. package/lib/browser.js +76 -0
  7. package/lib/can-promise.js +7 -0
  8. package/lib/core/alignment-pattern.js +83 -0
  9. package/lib/core/alphanumeric-data.js +59 -0
  10. package/lib/core/bit-buffer.js +37 -0
  11. package/lib/core/bit-matrix.js +65 -0
  12. package/lib/core/byte-data.js +30 -0
  13. package/lib/core/error-correction-code.js +135 -0
  14. package/lib/core/error-correction-level.js +50 -0
  15. package/lib/core/finder-pattern.js +22 -0
  16. package/lib/core/format-info.js +29 -0
  17. package/lib/core/galois-field.js +69 -0
  18. package/lib/core/kanji-data.js +54 -0
  19. package/lib/core/mask-pattern.js +234 -0
  20. package/lib/core/mode.js +167 -0
  21. package/lib/core/numeric-data.js +43 -0
  22. package/lib/core/polynomial.js +62 -0
  23. package/lib/core/qrcode.js +495 -0
  24. package/lib/core/reed-solomon-encoder.js +56 -0
  25. package/lib/core/regex.js +31 -0
  26. package/lib/core/segments.js +330 -0
  27. package/lib/core/utils.js +63 -0
  28. package/lib/core/version-check.js +9 -0
  29. package/lib/core/version.js +163 -0
  30. package/lib/index.js +12 -0
  31. package/lib/renderer/canvas.js +63 -0
  32. package/lib/renderer/png.js +78 -0
  33. package/lib/renderer/svg-tag.js +81 -0
  34. package/lib/renderer/svg.js +19 -0
  35. package/lib/renderer/terminal/terminal-small.js +85 -0
  36. package/lib/renderer/terminal/terminal.js +49 -0
  37. package/lib/renderer/terminal.js +9 -0
  38. package/lib/renderer/utf8.js +71 -0
  39. package/lib/renderer/utils.js +99 -0
  40. package/lib/server.js +138 -0
  41. package/license +10 -0
  42. package/package.json +102 -0
package/package.json ADDED
@@ -0,0 +1,102 @@
1
+ {
2
+ "name": "@depup/qrcode",
3
+ "description": "[DepUp] QRCode / 2d Barcode api with both server side and client side support using canvas",
4
+ "version": "1.5.4-depup.0",
5
+ "author": "Ryan Day <soldair@gmail.com>",
6
+ "contributors": [
7
+ "Vincenzo Greco <greco.vincenzo@gmail.com>",
8
+ "Linus Unnebäck <linus@folkdatorn.se>"
9
+ ],
10
+ "keywords": [
11
+ "depup",
12
+ "dependency-bumped",
13
+ "updated-deps",
14
+ "qrcode",
15
+ "qr",
16
+ "code",
17
+ "canvas"
18
+ ],
19
+ "main": "./lib/index.js",
20
+ "browser": {
21
+ "./lib/index.js": "./lib/browser.js",
22
+ "fs": false
23
+ },
24
+ "files": [
25
+ "bin",
26
+ "build",
27
+ "lib",
28
+ "helper",
29
+ "changes.json",
30
+ "README.md"
31
+ ],
32
+ "homepage": "http://github.com/soldair/node-qrcode",
33
+ "license": "MIT",
34
+ "scripts": {
35
+ "lint": "standard",
36
+ "pretest": "npm run lint",
37
+ "test": "node --throw-deprecation test.js",
38
+ "build": "rollup -c",
39
+ "browser": "node examples/clientsideserver.js"
40
+ },
41
+ "bin": {
42
+ "qrcode": "./bin/qrcode"
43
+ },
44
+ "dependencies": {
45
+ "dijkstrajs": "^1.0.3",
46
+ "pngjs": "^7.0.0",
47
+ "yargs": "^18.0.0"
48
+ },
49
+ "devDependencies": {
50
+ "@babel/core": "^7.9.0",
51
+ "@babel/preset-env": "^7.9.5",
52
+ "@rollup/plugin-commonjs": "^11.1.0",
53
+ "@rollup/plugin-node-resolve": "^7.1.3",
54
+ "browserify": "^16.5.1",
55
+ "canvas": "^2.8.0",
56
+ "canvasutil": "0.0.4",
57
+ "colors": "^1.4.0",
58
+ "express": "^4.17.1",
59
+ "htmlparser2": "^4.1.0",
60
+ "rollup": "^2.6.1",
61
+ "rollup-plugin-babel": "^4.4.0",
62
+ "rollup-plugin-terser": "^5.3.0",
63
+ "sinon": "^9.0.2",
64
+ "standard": "^16.0.4",
65
+ "tap": "^16.2.0"
66
+ },
67
+ "repository": {
68
+ "type": "git",
69
+ "url": "git://github.com/soldair/node-qrcode.git"
70
+ },
71
+ "engines": {
72
+ "node": ">=10.13.0"
73
+ },
74
+ "standard": {
75
+ "ignore": [
76
+ "build/",
77
+ "examples/vendors/",
78
+ "lib/core/regex.js"
79
+ ]
80
+ },
81
+ "depup": {
82
+ "changes": {
83
+ "dijkstrajs": {
84
+ "from": "^1.0.1",
85
+ "to": "^1.0.3"
86
+ },
87
+ "pngjs": {
88
+ "from": "^5.0.0",
89
+ "to": "^7.0.0"
90
+ },
91
+ "yargs": {
92
+ "from": "^15.3.1",
93
+ "to": "^18.0.0"
94
+ }
95
+ },
96
+ "depsUpdated": 3,
97
+ "originalPackage": "qrcode",
98
+ "originalVersion": "1.5.4",
99
+ "processedAt": "2026-03-17T19:33:45.502Z",
100
+ "smokeTest": "passed"
101
+ }
102
+ }