react-native-roxit-code-scanner 0.1.0 → 0.1.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.
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/react-native-roxit-code-scanner.iml" filepath="$PROJECT_DIR$/.idea/react-native-roxit-code-scanner.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @providesModule AndroidWifiModule
3
+ */
4
+
5
+ 'use strict';
6
+
7
+ import { NativeModules } from 'react-native';
8
+ module.exports = NativeModules.RoxitCodeScannerModule;
package/package.json CHANGED
@@ -1,37 +1,10 @@
1
1
  {
2
2
  "name": "react-native-roxit-code-scanner",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "test",
5
- "main": "lib/commonjs/index",
6
- "module": "lib/module/index",
7
- "types": "lib/typescript/index.d.ts",
8
- "react-native": "src/index",
9
- "source": "src/index",
10
- "files": [
11
- "src",
12
- "lib",
13
- "android",
14
- "cpp",
15
- "*.podspec",
16
- "!lib/typescript/example",
17
- "!android/build",
18
- "!android/gradle",
19
- "!android/gradlew",
20
- "!android/gradlew.bat",
21
- "!android/local.properties",
22
- "!**/__tests__",
23
- "!**/__fixtures__",
24
- "!**/__mocks__",
25
- "!**/.*"
26
- ],
5
+ "main": "index.js",
27
6
  "scripts": {
28
- "test": "jest",
29
- "typescript": "tsc --noEmit",
30
- "lint": "eslint \"**/*.{js,ts,tsx}\"",
31
- "prepare": "bob build",
32
- "release": "release-it",
33
- "example": "yarn --cwd example",
34
- "bootstrap": "yarn example && yarn install && yarn example pods"
7
+ "test": "jest"
35
8
  },
36
9
  "keywords": [
37
10
  "react-native",
@@ -50,27 +23,6 @@
50
23
  "publishConfig": {
51
24
  "registry": "https://registry.npmjs.org/"
52
25
  },
53
- "devDependencies": {
54
- "@arkweid/lefthook": "^0.7.7",
55
- "@commitlint/config-conventional": "^17.0.2",
56
- "@react-native-community/eslint-config": "^3.0.2",
57
- "@release-it/conventional-changelog": "^5.0.0",
58
- "@types/jest": "^28.1.2",
59
- "@types/react": "~17.0.21",
60
- "@types/react-native": "0.70.0",
61
- "commitlint": "^17.0.2",
62
- "eslint": "^8.4.1",
63
- "eslint-config-prettier": "^8.5.0",
64
- "eslint-plugin-prettier": "^4.0.0",
65
- "jest": "^28.1.1",
66
- "pod-install": "^0.1.0",
67
- "prettier": "^2.0.5",
68
- "react": "18.1.0",
69
- "react-native": "0.70.5",
70
- "react-native-builder-bob": "^0.20.0",
71
- "release-it": "^15.0.0",
72
- "typescript": "^4.5.2"
73
- },
74
26
  "resolutions": {
75
27
  "@types/react": "17.0.21"
76
28
  },
@@ -78,831 +30,9 @@
78
30
  "react": "*",
79
31
  "react-native": "*"
80
32
  },
81
- "jest": {
82
- "preset": "react-native",
83
- "modulePathIgnorePatterns": [
84
- "<rootDir>/example/node_modules",
85
- "<rootDir>/lib/"
86
- ]
87
- },
88
- "commitlint": {
89
- "extends": [
90
- "@commitlint/config-conventional"
91
- ]
92
- },
93
- "release-it": {
94
- "git": {
95
- "commitMessage": "chore: release ${version}",
96
- "tagName": "v${version}"
97
- },
98
- "npm": {
99
- "publish": true
100
- },
101
- "github": {
102
- "release": true
103
- },
104
- "plugins": {
105
- "@release-it/conventional-changelog": {
106
- "preset": "angular"
107
- }
108
- }
109
- },
110
- "eslintConfig": {
111
- "root": true,
112
- "extends": [
113
- "@react-native-community",
114
- "prettier"
115
- ],
116
- "rules": {
117
- "prettier/prettier": [
118
- "error",
119
- {
120
- "quoteProps": "consistent",
121
- "singleQuote": true,
122
- "tabWidth": 2,
123
- "trailingComma": "es5",
124
- "useTabs": false
125
- }
126
- ]
127
- }
128
- },
129
- "eslintIgnore": [
130
- "node_modules/",
131
- "lib/"
132
- ],
133
- "prettier": {
134
- "quoteProps": "consistent",
135
- "singleQuote": true,
136
- "tabWidth": 2,
137
- "trailingComma": "es5",
138
- "useTabs": false
139
- },
140
- "react-native-builder-bob": {
141
- "source": "src",
142
- "output": "lib",
143
- "targets": [
144
- "commonjs",
145
- "module",
146
- [
147
- "typescript",
148
- {
149
- "project": "tsconfig.build.json"
150
- }
151
- ]
152
- ]
153
- },
154
33
  "directories": {
155
34
  "example": "example",
156
35
  "lib": "lib"
157
36
  },
158
- "dependencies": {
159
- "acorn-walk": "^8.2.0",
160
- "absolute-path": "^0.0.0",
161
- "add-stream": "^1.0.0",
162
- "JSONStream": "^1.3.5",
163
- "agent-base": "^6.0.2",
164
- "accepts": "^1.3.8",
165
- "acorn": "^8.8.1",
166
- "anser": "^1.4.10",
167
- "ajv": "^6.12.6",
168
- "ansi-align": "^3.0.1",
169
- "aggregate-error": "^3.1.0",
170
- "abort-controller": "^3.0.0",
171
- "ansi-fragments": "^0.2.1",
172
- "ansi-escapes": "^4.3.2",
173
- "appdirsjs": "^1.2.7",
174
- "arg": "^4.1.3",
175
- "ansi-regex": "^5.0.1",
176
- "arr-diff": "^4.0.0",
177
- "argparse": "^1.0.10",
178
- "arr-flatten": "^1.1.0",
179
- "array-ify": "^1.0.0",
180
- "ansi-styles": "^4.3.0",
181
- "arr-union": "^3.1.0",
182
- "array-includes": "^3.1.6",
183
- "acorn-jsx": "^5.3.2",
184
- "array-unique": "^0.3.2",
185
- "anymatch": "^3.1.2",
186
- "array.prototype.flatmap": "^1.3.1",
187
- "asap": "^2.0.6",
188
- "array.prototype.map": "^1.0.5",
189
- "arrify": "^1.0.1",
190
- "astral-regex": "^1.0.0",
191
- "ast-types": "^0.14.2",
192
- "async-retry": "^1.3.3",
193
- "async": "^3.2.4",
194
- "atob": "^2.1.2",
195
- "asynckit": "^0.4.0",
196
- "babel-core": "^7.0.0-bridge.0",
197
- "babel-plugin-jest-hoist": "^28.1.3",
198
- "babel-jest": "^28.1.3",
199
- "array-union": "^2.1.0",
200
- "babel-plugin-polyfill-corejs2": "^0.3.3",
201
- "babel-plugin-polyfill-corejs3": "^0.6.0",
202
- "assign-symbols": "^1.0.0",
203
- "async-limiter": "^1.0.1",
204
- "babel-plugin-istanbul": "^6.1.1",
205
- "babel-preset-fbjs": "^3.4.0",
206
- "babel-plugin-syntax-trailing-function-commas": "^7.0.0-beta.0",
207
- "balanced-match": "^1.0.2",
208
- "babel-preset-current-node-syntax": "^1.0.1",
209
- "babel-preset-jest": "^28.1.3",
210
- "base": "^0.11.2",
211
- "base64-js": "^1.5.1",
212
- "babel-plugin-polyfill-regenerator": "^0.4.1",
213
- "boxen": "^7.0.0",
214
- "before-after-hook": "^2.2.3",
215
- "bl": "^4.1.0",
216
- "bser": "^2.1.1",
217
- "brace-expansion": "^1.1.11",
218
- "buffer-from": "^1.1.2",
219
- "browserslist": "^4.21.4",
220
- "bytes": "^3.0.0",
221
- "braces": "^3.0.2",
222
- "cacheable-request": "^10.2.2",
223
- "buffer": "^5.7.1",
224
- "call-bind": "^1.0.2",
225
- "cache-base": "^1.0.1",
226
- "cacheable-lookup": "^7.0.0",
227
- "caller-callsite": "^2.0.0",
228
- "caller-path": "^2.0.0",
229
- "callsites": "^3.1.0",
230
- "camelcase-keys": "^6.2.2",
231
- "camelcase": "^5.3.1",
232
- "chardet": "^0.7.0",
233
- "ci-info": "^3.5.0",
234
- "caniuse-lite": "^1.0.30001431",
235
- "char-regex": "^1.0.2",
236
- "chalk": "^4.1.2",
237
- "class-utils": "^0.3.6",
238
- "cli-boxes": "^3.0.0",
239
- "cli-cursor": "^4.0.0",
240
- "cli-width": "^4.0.0",
241
- "cli-spinners": "^2.7.0",
242
- "cliui": "^6.0.0",
243
- "cjs-module-lexer": "^1.2.2",
244
- "clone": "^1.0.4",
245
- "clone-deep": "^4.0.1",
246
- "co": "^4.6.0",
247
- "collection-visit": "^1.0.0",
248
- "clean-stack": "^2.2.0",
249
- "color-name": "^1.1.4",
250
- "combined-stream": "^1.0.8",
251
- "colorette": "^1.4.0",
252
- "command-exists": "^1.2.9",
253
- "commondir": "^1.0.1",
254
- "compare-func": "^2.0.0",
255
- "commander": "^9.4.1",
256
- "compression": "^1.7.4",
257
- "component-emitter": "^1.3.0",
258
- "collect-v8-coverage": "^1.0.1",
259
- "color-convert": "^2.0.1",
260
- "concat-map": "^0.0.1",
261
- "compressible": "^2.0.18",
262
- "concat-stream": "^2.0.0",
263
- "configstore": "^6.0.0",
264
- "config-chain": "^1.1.13",
265
- "connect": "^3.7.0",
266
- "conventional-changelog-conventionalcommits": "^5.0.0",
267
- "conventional-changelog-codemirror": "^2.0.8",
268
- "conventional-changelog-angular": "^5.0.13",
269
- "conventional-changelog-eslint": "^3.0.9",
270
- "conventional-changelog-jquery": "^3.0.11",
271
- "conventional-changelog-preset-loader": "^2.3.4",
272
- "conventional-changelog-express": "^2.0.6",
273
- "conventional-changelog": "^3.1.25",
274
- "conventional-changelog-writer": "^5.0.1",
275
- "conventional-changelog-ember": "^2.0.9",
276
- "conventional-changelog-jshint": "^2.0.9",
277
- "conventional-commits-filter": "^2.0.7",
278
- "conventional-recommended-bump": "^6.1.0",
279
- "conventional-changelog-core": "^4.2.4",
280
- "conventional-changelog-atom": "^2.0.8",
281
- "conventional-commits-parser": "^3.2.4",
282
- "core-util-is": "^1.0.3",
283
- "core-js-compat": "^3.26.0",
284
- "convert-source-map": "^1.9.0",
285
- "create-require": "^1.1.1",
286
- "cosmiconfig": "^7.0.1",
287
- "crypto-random-string": "^4.0.0",
288
- "cross-spawn": "^7.0.3",
289
- "dargs": "^7.0.0",
290
- "data-uri-to-buffer": "^4.0.0",
291
- "copy-descriptor": "^0.1.1",
292
- "decamelize": "^1.2.0",
293
- "dateformat": "^3.0.3",
294
- "decamelize-keys": "^1.1.1",
295
- "decompress-response": "^6.0.0",
296
- "deep-extend": "^0.6.0",
297
- "decode-uri-component": "^0.2.0",
298
- "deep-is": "^0.1.4",
299
- "defaults": "^1.0.4",
300
- "define-lazy-prop": "^2.0.0",
301
- "define-properties": "^1.1.4",
302
- "csstype": "^3.1.1",
303
- "define-property": "^0.2.5",
304
- "degenerator": "^3.0.2",
305
- "deepmerge": "^3.3.0",
306
- "deprecation": "^2.3.1",
307
- "defer-to-connect": "^2.0.1",
308
- "delayed-stream": "^1.0.0",
309
- "debug": "^4.3.4",
310
- "dedent": "^0.7.0",
311
- "denodeify": "^1.2.1",
312
- "depd": "^2.0.0",
313
- "destroy": "^1.2.0",
314
- "diff": "^4.0.2",
315
- "diff-sequences": "^28.1.1",
316
- "del": "^6.1.1",
317
- "dot-prop": "^5.3.0",
318
- "eastasianwidth": "^0.2.0",
319
- "detect-newline": "^3.1.0",
320
- "doctrine": "^3.0.0",
321
- "encodeurl": "^1.0.2",
322
- "electron-to-chromium": "^1.4.284",
323
- "dir-glob": "^3.0.1",
324
- "ee-first": "^1.1.1",
325
- "end-of-stream": "^1.4.4",
326
- "envinfo": "^7.8.1",
327
- "emittery": "^0.10.2",
328
- "error-stack-parser": "^2.1.4",
329
- "errorhandler": "^1.5.1",
330
- "error-ex": "^1.3.2",
331
- "es-abstract": "^1.20.4",
332
- "dayjs": "^1.11.6",
333
- "emoji-regex": "^8.0.0",
334
- "es-shim-unscopables": "^1.0.0",
335
- "es-to-primitive": "^1.2.1",
336
- "es-array-method-boxes-properly": "^1.0.0",
337
- "escape-html": "^1.0.3",
338
- "escodegen": "^1.14.3",
339
- "eslint-plugin-eslint-comments": "^3.2.0",
340
- "eslint-plugin-ft-flow": "^2.0.1",
341
- "eslint-plugin-jest": "^26.9.0",
342
- "escape-goat": "^4.0.0",
343
- "escalade": "^3.1.1",
344
- "eslint-plugin-react": "^7.31.10",
345
- "escape-string-regexp": "^1.0.5",
346
- "eslint-plugin-react-hooks": "^4.6.0",
347
- "eslint-plugin-react-native": "^4.0.0",
348
- "eslint-utils": "^3.0.0",
349
- "eslint-plugin-react-native-globals": "^0.1.2",
350
- "eslint-visitor-keys": "^3.3.0",
351
- "espree": "^9.4.1",
352
- "esquery": "^1.4.0",
353
- "esprima": "^4.0.1",
354
- "esutils": "^2.0.3",
355
- "estraverse": "^5.3.0",
356
- "eslint-scope": "^5.1.1",
357
- "esrecurse": "^4.3.0",
358
- "etag": "^1.8.1",
359
- "event-target-shim": "^5.0.1",
360
- "exit": "^0.1.2",
361
- "execa": "^1.0.0",
362
- "expand-brackets": "^2.1.4",
363
- "expect": "^28.1.3",
364
- "extend-shallow": "^2.0.1",
365
- "external-editor": "^3.1.0",
366
- "extglob": "^2.0.4",
367
- "es-get-iterator": "^1.1.2",
368
- "fast-diff": "^1.2.0",
369
- "fast-glob": "^3.2.12",
370
- "fast-deep-equal": "^3.1.3",
371
- "fastq": "^1.13.0",
372
- "file-entry-cache": "^6.0.1",
373
- "figures": "^5.0.0",
374
- "file-uri-to-path": "^2.0.0",
375
- "fast-json-stable-stringify": "^2.1.0",
376
- "finalhandler": "^1.1.2",
377
- "fb-watchman": "^2.0.2",
378
- "fast-levenshtein": "^2.0.6",
379
- "find-cache-dir": "^2.1.0",
380
- "find-up": "^4.1.0",
381
- "flat-cache": "^3.0.4",
382
- "flow-parser": "^0.121.0",
383
- "flatted": "^3.2.7",
384
- "form-data": "^4.0.0",
385
- "for-in": "^1.0.2",
386
- "fragment-cache": "^0.2.1",
387
- "fetch-blob": "^3.2.0",
388
- "fill-range": "^7.0.1",
389
- "fs-extra": "^8.1.0",
390
- "formdata-polyfill": "^4.0.10",
391
- "fs.realpath": "^1.0.0",
392
- "form-data-encoder": "^2.1.3",
393
- "fsevents": "^2.3.2",
394
- "function.prototype.name": "^1.1.5",
395
- "ftp": "^0.3.10",
396
- "fresh": "^0.5.2",
397
- "functions-have-names": "^1.2.3",
398
- "get-intrinsic": "^1.1.3",
399
- "get-package-type": "^0.1.0",
400
- "function-bind": "^1.1.1",
401
- "get-symbol-description": "^1.0.0",
402
- "get-uri": "^3.0.2",
403
- "get-pkg-repo": "^4.2.1",
404
- "git-raw-commits": "^2.0.11",
405
- "git-remote-origin-url": "^2.0.0",
406
- "get-value": "^2.0.6",
407
- "git-url-parse": "^13.1.0",
408
- "gensync": "^1.0.0-beta.2",
409
- "git-semver-tags": "^4.1.1",
410
- "get-caller-file": "^2.0.5",
411
- "get-stream": "^6.0.1",
412
- "git-up": "^7.0.0",
413
- "gitconfiglocal": "^1.0.0",
414
- "global-dirs": "^0.1.1",
415
- "glob-parent": "^6.0.2",
416
- "got": "^12.5.1",
417
- "globals": "^11.12.0",
418
- "grapheme-splitter": "^1.0.4",
419
- "glob": "^7.2.3",
420
- "graceful-fs": "^4.2.10",
421
- "has-bigints": "^1.0.2",
422
- "hard-rejection": "^2.1.0",
423
- "has": "^1.0.3",
424
- "handlebars": "^4.7.7",
425
- "has-tostringtag": "^1.0.0",
426
- "has-property-descriptors": "^1.0.0",
427
- "has-flag": "^4.0.0",
428
- "has-value": "^1.0.0",
429
- "has-symbols": "^1.0.3",
430
- "globby": "^11.1.0",
431
- "has-values": "^1.0.0",
432
- "hermes-estree": "^0.8.0",
433
- "has-yarn": "^3.0.0",
434
- "hermes-parser": "^0.8.0",
435
- "hermes-profile-transformer": "^0.0.6",
436
- "http-cache-semantics": "^4.1.0",
437
- "html-escaper": "^2.0.2",
438
- "hosted-git-info": "^4.1.0",
439
- "https-proxy-agent": "^5.0.1",
440
- "http2-wrapper": "^2.1.11",
441
- "http-proxy-agent": "^4.0.1",
442
- "human-signals": "^3.0.1",
443
- "ieee754": "^1.2.1",
444
- "iconv-lite": "^0.4.24",
445
- "image-size": "^0.6.3",
446
- "import-lazy": "^4.0.0",
447
- "import-fresh": "^3.3.0",
448
- "imurmurhash": "^0.1.4",
449
- "ignore": "^5.2.0",
450
- "inflight": "^1.0.6",
451
- "import-local": "^3.1.0",
452
- "interpret": "^1.4.0",
453
- "inherits": "^2.0.4",
454
- "indent-string": "^4.0.0",
455
- "internal-slot": "^1.0.3",
456
- "ini": "^1.3.8",
457
- "http-errors": "^2.0.0",
458
- "inquirer": "^9.1.2",
459
- "invariant": "^2.2.4",
460
- "ip": "^1.1.8",
461
- "is-accessor-descriptor": "^1.0.0",
462
- "is-arrayish": "^0.2.1",
463
- "is-arguments": "^1.1.1",
464
- "is-bigint": "^1.0.4",
465
- "is-buffer": "^1.1.6",
466
- "is-boolean-object": "^1.1.2",
467
- "is-absolute": "^1.0.0",
468
- "is-data-descriptor": "^1.0.0",
469
- "is-date-object": "^1.0.5",
470
- "is-ci": "^3.0.1",
471
- "is-docker": "^2.2.1",
472
- "is-generator-fn": "^2.1.0",
473
- "is-callable": "^1.2.7",
474
- "is-extendable": "^0.1.1",
475
- "is-descriptor": "^1.0.2",
476
- "is-directory": "^0.3.1",
477
- "is-fullwidth-code-point": "^3.0.0",
478
- "is-core-module": "^2.11.0",
479
- "is-extglob": "^2.1.1",
480
- "is-git-repository": "^2.0.0",
481
- "is-installed-globally": "^0.4.0",
482
- "is-interactive": "^1.0.0",
483
- "is-negative-zero": "^2.0.2",
484
- "is-map": "^2.0.2",
485
- "is-number": "^3.0.0",
486
- "is-npm": "^6.0.0",
487
- "is-obj": "^2.0.0",
488
- "is-number-object": "^1.0.7",
489
- "is-git-dirty": "^2.0.1",
490
- "is-path-cwd": "^2.2.0",
491
- "is-plain-obj": "^1.1.0",
492
- "is-glob": "^4.0.3",
493
- "is-plain-object": "^2.0.4",
494
- "is-path-inside": "^3.0.3",
495
- "is-set": "^2.0.2",
496
- "is-shared-array-buffer": "^1.0.2",
497
- "is-string": "^1.0.7",
498
- "is-regex": "^1.1.4",
499
- "is-ssh": "^1.4.0",
500
- "is-text-path": "^1.0.1",
501
- "is-relative": "^1.0.0",
502
- "is-symbol": "^1.0.4",
503
- "is-stream": "^2.0.1",
504
- "is-weakref": "^1.0.2",
505
- "is-typedarray": "^1.0.0",
506
- "is-wsl": "^2.2.0",
507
- "is-yarn-global": "^0.4.0",
508
- "isarray": "^1.0.0",
509
- "is-unc-path": "^1.0.0",
510
- "is-unicode-supported": "^1.3.0",
511
- "is-windows": "^1.0.2",
512
- "isexe": "^2.0.0",
513
- "istanbul-lib-coverage": "^3.2.0",
514
- "istanbul-lib-instrument": "^5.2.1",
515
- "isobject": "^3.0.1",
516
- "istanbul-lib-report": "^3.0.0",
517
- "istanbul-lib-source-maps": "^4.0.1",
518
- "iterate-iterator": "^1.0.2",
519
- "iterate-value": "^1.0.2",
520
- "istanbul-reports": "^3.1.5",
521
- "jest-changed-files": "^28.1.3",
522
- "jest-config": "^28.1.3",
523
- "jest-circus": "^28.1.3",
524
- "jest-docblock": "^28.1.1",
525
- "jest-diff": "^28.1.3",
526
- "jest-cli": "^28.1.3",
527
- "jest-environment-node": "^28.1.3",
528
- "jest-get-type": "^28.0.2",
529
- "jest-haste-map": "^28.1.3",
530
- "jest-mock": "^28.1.3",
531
- "jest-leak-detector": "^28.1.3",
532
- "jest-matcher-utils": "^28.1.3",
533
- "jest-each": "^28.1.3",
534
- "jest-resolve": "^28.1.3",
535
- "jest-runtime": "^28.1.3",
536
- "jest-message-util": "^28.1.3",
537
- "jest-pnp-resolver": "^1.2.2",
538
- "jest-regex-util": "^28.0.2",
539
- "jest-serializer": "^27.5.1",
540
- "jest-validate": "^28.1.3",
541
- "jest-resolve-dependencies": "^28.1.3",
542
- "jest-snapshot": "^28.1.3",
543
- "jest-util": "^28.1.3",
544
- "jest-runner": "^28.1.3",
545
- "jetifier": "^2.0.0",
546
- "joi": "^17.7.0",
547
- "jest-watcher": "^28.1.3",
548
- "js-yaml": "^3.14.1",
549
- "jest-worker": "^28.1.3",
550
- "js-sdsl": "^4.1.5",
551
- "jsc-android": "^250230.2.1",
552
- "jscodeshift": "^0.13.1",
553
- "json-buffer": "^3.0.1",
554
- "json-parse-better-errors": "^1.0.2",
555
- "json-stringify-safe": "^5.0.1",
556
- "js-tokens": "^4.0.0",
557
- "jsesc": "^2.5.2",
558
- "json-schema-traverse": "^0.4.1",
559
- "jsx-ast-utils": "^3.3.3",
560
- "jsonfile": "^4.0.0",
561
- "jsonparse": "^1.3.1",
562
- "json-stable-stringify-without-jsonify": "^1.0.1",
563
- "json-parse-even-better-errors": "^2.3.1",
564
- "keyv": "^4.5.2",
565
- "klaw": "^1.3.1",
566
- "latest-version": "^7.0.0",
567
- "kind-of": "^6.0.3",
568
- "levn": "^0.4.1",
569
- "json5": "^2.2.1",
570
- "load-json-file": "^4.0.0",
571
- "lodash.ismatch": "^4.4.0",
572
- "lodash.debounce": "^4.0.8",
573
- "lodash.merge": "^4.6.2",
574
- "lines-and-columns": "^1.2.4",
575
- "leven": "^3.1.0",
576
- "lodash": "^4.17.21",
577
- "log-symbols": "^4.1.0",
578
- "logkitty": "^0.7.1",
579
- "locate-path": "^5.0.0",
580
- "loose-envify": "^1.4.0",
581
- "macos-release": "^3.1.0",
582
- "lowercase-keys": "^3.0.0",
583
- "make-error": "^1.3.6",
584
- "makeerror": "^1.0.12",
585
- "lodash.throttle": "^4.1.1",
586
- "lru-cache": "^6.0.0",
587
- "make-dir": "^2.1.0",
588
- "map-visit": "^1.0.0",
589
- "meow": "^8.1.2",
590
- "memoize-one": "^5.2.1",
591
- "metro": "^0.72.3",
592
- "metro-babel-transformer": "^0.72.3",
593
- "map-cache": "^0.2.2",
594
- "metro-cache-key": "^0.72.3",
595
- "metro-cache": "^0.72.3",
596
- "metro-config": "^0.72.3",
597
- "metro-core": "^0.72.3",
598
- "merge-stream": "^2.0.0",
599
- "map-obj": "^1.0.1",
600
- "kleur": "^4.1.5",
601
- "metro-file-map": "^0.72.3",
602
- "metro-hermes-compiler": "^0.72.3",
603
- "merge2": "^1.4.1",
604
- "metro-inspector-proxy": "^0.72.3",
605
- "metro-react-native-babel-transformer": "^0.72.3",
606
- "metro-minify-uglify": "^0.72.3",
607
- "metro-react-native-babel-preset": "^0.72.3",
608
- "metro-symbolicate": "^0.72.3",
609
- "metro-runtime": "^0.72.3",
610
- "metro-source-map": "^0.72.3",
611
- "metro-resolver": "^0.72.3",
612
- "metro-transform-worker": "^0.72.3",
613
- "metro-transform-plugins": "^0.72.3",
614
- "min-indent": "^1.0.1",
615
- "mime-types": "^2.1.35",
616
- "mime": "^2.6.0",
617
- "mime-db": "^1.52.0",
618
- "minimatch": "^3.1.2",
619
- "mimic-response": "^3.1.0",
620
- "minimist": "^1.2.7",
621
- "mimic-fn": "^2.1.0",
622
- "micromatch": "^4.0.5",
623
- "minimist-options": "^4.1.0",
624
- "mkdirp": "^0.5.6",
625
- "mute-stream": "^0.0.8",
626
- "modify-values": "^1.0.1",
627
- "ms": "^2.1.2",
628
- "nanomatch": "^1.2.13",
629
- "negotiator": "^0.6.3",
630
- "netmask": "^2.0.2",
631
- "new-github-release-url": "^2.0.0",
632
- "nocache": "^3.0.4",
633
- "neo-async": "^2.6.2",
634
- "natural-compare-lite": "^1.4.0",
635
- "nice-try": "^1.0.5",
636
- "node-dir": "^0.1.17",
637
- "node-fetch": "^2.6.7",
638
- "node-domexception": "^1.0.0",
639
- "natural-compare": "^1.4.0",
640
- "node-int64": "^0.4.0",
641
- "mixin-deep": "^1.3.2",
642
- "normalize-package-data": "^2.5.0",
643
- "node-stream-zip": "^1.15.0",
644
- "normalize-url": "^7.2.0",
645
- "object-assign": "^4.1.1",
646
- "ob1": "^0.72.3",
647
- "npm-run-path": "^4.0.1",
648
- "object-copy": "^0.1.0",
649
- "object-inspect": "^1.12.2",
650
- "normalize-path": "^3.0.0",
651
- "object.assign": "^4.1.4",
652
- "nullthrows": "^1.1.1",
653
- "object-keys": "^1.1.1",
654
- "node-releases": "^2.0.6",
655
- "object.entries": "^1.1.6",
656
- "object.fromentries": "^2.0.6",
657
- "on-finished": "^2.4.1",
658
- "on-headers": "^1.0.2",
659
- "object.values": "^1.1.6",
660
- "open": "^8.4.0",
661
- "optionator": "^0.9.1",
662
- "object.hasown": "^1.1.2",
663
- "ora": "^5.4.1",
664
- "os-tmpdir": "^1.0.2",
665
- "os-name": "^5.0.1",
666
- "p-cancelable": "^3.0.0",
667
- "once": "^1.4.0",
668
- "p-finally": "^1.0.0",
669
- "onetime": "^5.1.2",
670
- "p-locate": "^4.1.0",
671
- "p-try": "^2.2.0",
672
- "pac-proxy-agent": "^5.0.0",
673
- "parent-module": "^1.0.1",
674
- "package-json": "^8.1.0",
675
- "parse-json": "^5.2.0",
676
- "pac-resolver": "^5.0.1",
677
- "parse-path": "^7.0.0",
678
- "object.pick": "^1.3.0",
679
- "p-limit": "^3.1.0",
680
- "pascalcase": "^0.1.1",
681
- "parseurl": "^1.3.3",
682
- "parse-url": "^8.1.0",
683
- "object-visit": "^1.0.1",
684
- "path-key": "^2.0.1",
685
- "path-is-absolute": "^1.0.1",
686
- "path-exists": "^3.0.0",
687
- "picocolors": "^1.0.0",
688
- "path-parse": "^1.0.7",
689
- "pify": "^3.0.0",
690
- "path-type": "^4.0.0",
691
- "p-map": "^4.0.0",
692
- "pirates": "^4.0.5",
693
- "posix-character-classes": "^0.1.1",
694
- "picomatch": "^2.3.1",
695
- "pkg-dir": "^4.2.0",
696
- "pretty-format": "^28.1.3",
697
- "prelude-ls": "^1.1.2",
698
- "prettier-linter-helpers": "^1.0.0",
699
- "process-nextick-args": "^2.0.1",
700
- "promise": "^8.3.0",
701
- "prompts": "^2.4.2",
702
- "proto-list": "^1.2.4",
703
- "prop-types": "^15.8.1",
704
- "protocols": "^2.0.1",
705
- "proxy-from-env": "^1.1.0",
706
- "proxy-agent": "^5.0.0",
707
- "pupa": "^3.1.0",
708
- "promise.allsettled": "^1.0.5",
709
- "q": "^1.5.1",
710
- "quick-lru": "^5.1.1",
711
- "range-parser": "^1.2.1",
712
- "raw-body": "^2.5.1",
713
- "rc": "^1.2.8",
714
- "pump": "^3.0.0",
715
- "react-devtools-core": "^4.24.0",
716
- "queue-microtask": "^1.2.3",
717
- "react-refresh": "^0.4.3",
718
- "react-native-codegen": "^0.70.6",
719
- "react-native-gradle-plugin": "^0.70.3",
720
- "react-shallow-renderer": "^16.15.0",
721
- "read-pkg-up": "^3.0.0",
722
- "read-pkg": "^3.0.0",
723
- "recast": "^0.20.5",
724
- "readline": "^1.3.0",
725
- "readable-stream": "^3.6.0",
726
- "react-is": "^18.2.0",
727
- "rechoir": "^0.6.2",
728
- "redent": "^3.0.0",
729
- "regenerate-unicode-properties": "^10.1.0",
730
- "regenerate": "^1.4.2",
731
- "regex-not": "^1.0.2",
732
- "punycode": "^2.1.1",
733
- "regenerator-transform": "^0.15.0",
734
- "regexpu-core": "^5.2.1",
735
- "regenerator-runtime": "^0.13.10",
736
- "registry-auth-token": "^5.0.1",
737
- "registry-url": "^6.0.1",
738
- "regexp.prototype.flags": "^1.4.3",
739
- "repeat-element": "^1.1.4",
740
- "regjsgen": "^0.7.1",
741
- "regexpp": "^3.2.0",
742
- "require-from-string": "^2.0.2",
743
- "require-main-filename": "^2.0.0",
744
- "repeat-string": "^1.6.1",
745
- "regjsparser": "^0.9.1",
746
- "resolve-cwd": "^3.0.0",
747
- "resolve-url": "^0.2.1",
748
- "resolve-global": "^1.0.0",
749
- "resolve-alpn": "^1.2.1",
750
- "resolve.exports": "^1.1.0",
751
- "require-directory": "^2.1.1",
752
- "resolve": "^1.22.1",
753
- "responselike": "^3.0.0",
754
- "ret": "^0.1.15",
755
- "reusify": "^1.0.4",
756
- "retry": "^0.13.1",
757
- "rimraf": "^3.0.2",
758
- "restore-cursor": "^4.0.0",
759
- "resolve-from": "^5.0.0",
760
- "run-async": "^2.4.1",
761
- "safer-buffer": "^2.1.2",
762
- "safe-regex-test": "^1.0.0",
763
- "safe-regex": "^1.1.0",
764
- "safe-buffer": "^5.1.2",
765
- "scheduler": "^0.22.0",
766
- "run-parallel": "^1.2.0",
767
- "rxjs": "^7.5.7",
768
- "semver": "^6.3.0",
769
- "send": "^0.18.0",
770
- "semver-diff": "^4.0.0",
771
- "serve-static": "^1.15.0",
772
- "setprototypeof": "^1.2.0",
773
- "set-blocking": "^2.0.0",
774
- "set-value": "^2.0.1",
775
- "shallow-clone": "^3.0.1",
776
- "shebang-regex": "^3.0.0",
777
- "shell-quote": "^1.7.4",
778
- "shelljs": "^0.8.5",
779
- "sisteransi": "^1.0.5",
780
- "side-channel": "^1.0.4",
781
- "serialize-error": "^2.1.0",
782
- "shebang-command": "^2.0.0",
783
- "slash": "^3.0.0",
784
- "signal-exit": "^3.0.7",
785
- "smart-buffer": "^4.2.0",
786
- "slice-ansi": "^2.1.0",
787
- "snapdragon-node": "^2.1.1",
788
- "snapdragon-util": "^3.0.1",
789
- "snapdragon": "^0.8.2",
790
- "socks-proxy-agent": "^5.0.1",
791
- "socks": "^2.7.1",
792
- "source-map-url": "^0.4.1",
793
- "source-map": "^0.6.1",
794
- "source-map-resolve": "^0.5.3",
795
- "source-map-support": "^0.5.13",
796
- "spdx-correct": "^3.1.1",
797
- "spdx-expression-parse": "^3.0.1",
798
- "spdx-exceptions": "^2.3.0",
799
- "split-string": "^3.1.0",
800
- "split": "^1.0.1",
801
- "split2": "^3.2.2",
802
- "sprintf-js": "^1.0.3",
803
- "stackframe": "^1.3.4",
804
- "stacktrace-parser": "^0.1.10",
805
- "string-length": "^4.0.2",
806
- "statuses": "^2.0.1",
807
- "string-natural-compare": "^3.0.1",
808
- "spdx-license-ids": "^3.0.12",
809
- "static-extend": "^0.1.2",
810
- "stack-utils": "^2.0.6",
811
- "string.prototype.matchall": "^4.0.8",
812
- "string-width": "^4.2.3",
813
- "string.prototype.trimend": "^1.0.6",
814
- "strip-bom": "^3.0.0",
815
- "string_decoder": "^1.3.0",
816
- "strip-final-newline": "^2.0.0",
817
- "strip-eof": "^1.0.0",
818
- "strip-indent": "^3.0.0",
819
- "string.prototype.trimstart": "^1.0.6",
820
- "strip-ansi": "^6.0.1",
821
- "strip-json-comments": "^3.1.1",
822
- "supports-preserve-symlinks-flag": "^1.0.0",
823
- "supports-color": "^7.2.0",
824
- "supports-hyperlinks": "^2.3.0",
825
- "temp": "^0.8.4",
826
- "test-exclude": "^6.0.0",
827
- "text-extensions": "^1.9.0",
828
- "text-table": "^0.2.0",
829
- "throat": "^5.0.0",
830
- "through": "^2.3.8",
831
- "through2": "^4.0.2",
832
- "tmpl": "^1.0.5",
833
- "to-object-path": "^0.3.0",
834
- "to-regex": "^3.0.2",
835
- "toidentifier": "^1.0.1",
836
- "tr46": "^0.0.3",
837
- "terminal-link": "^2.1.1",
838
- "to-fast-properties": "^2.0.0",
839
- "trim-newlines": "^3.0.1",
840
- "tslib": "^2.4.1",
841
- "tsutils": "^3.21.0",
842
- "sudo-prompt": "^9.2.1",
843
- "to-regex-range": "^5.0.1",
844
- "type-check": "^0.3.2",
845
- "type-detect": "^4.0.8",
846
- "type-fest": "^1.4.0",
847
- "typedarray-to-buffer": "^3.1.5",
848
- "typedarray": "^0.0.6",
849
- "tmp": "^0.0.33",
850
- "unbox-primitive": "^1.0.2",
851
- "unc-path-regex": "^0.1.2",
852
- "uglify-js": "^3.17.4",
853
- "unicode-canonical-property-names-ecmascript": "^2.0.0",
854
- "unicode-property-aliases-ecmascript": "^2.1.0",
855
- "uglify-es": "^3.3.9",
856
- "unique-string": "^3.0.0",
857
- "unicode-match-property-ecmascript": "^2.0.0",
858
- "unicode-match-property-value-ecmascript": "^2.0.0",
859
- "union-value": "^1.0.1",
860
- "unpipe": "^1.0.0",
861
- "unset-value": "^1.0.0",
862
- "universal-user-agent": "^6.0.0",
863
- "update-notifier": "^6.0.2",
864
- "update-browserslist-db": "^1.0.10",
865
- "urix": "^0.1.0",
866
- "use-sync-external-store": "^1.2.0",
867
- "use": "^3.1.1",
868
- "url-join": "^5.0.0",
869
- "util-deprecate": "^1.0.2",
870
- "universalify": "^2.0.0",
871
- "v8-compile-cache-lib": "^3.0.1",
872
- "utils-merge": "^1.0.1",
873
- "validate-npm-package-license": "^3.0.4",
874
- "vlq": "^1.0.1",
875
- "vary": "^1.1.2",
876
- "vm2": "^3.9.11",
877
- "wcwidth": "^1.0.1",
878
- "webidl-conversions": "^3.0.1",
879
- "web-streams-polyfill": "^3.2.1",
880
- "whatwg-fetch": "^3.6.2",
881
- "whatwg-url": "^5.0.0",
882
- "uri-js": "^4.4.1",
883
- "which-boxed-primitive": "^1.0.2",
884
- "which-module": "^2.0.0",
885
- "which": "^2.0.2",
886
- "widest-line": "^4.0.1",
887
- "v8-to-istanbul": "^9.0.1",
888
- "windows-release": "^5.0.1",
889
- "word-wrap": "^1.2.3",
890
- "wrappy": "^1.0.2",
891
- "wordwrap": "^1.0.0",
892
- "wrap-ansi": "^7.0.0",
893
- "walker": "^1.0.8",
894
- "wildcard-match": "^5.1.2",
895
- "xregexp": "^2.0.0",
896
- "ws": "^7.5.9",
897
- "write-file-atomic": "^2.4.3",
898
- "xdg-basedir": "^5.1.0",
899
- "xtend": "^4.0.2",
900
- "yallist": "^4.0.0",
901
- "yocto-queue": "^0.1.0",
902
- "yargs-parser": "^20.2.9",
903
- "y18n": "^5.0.8",
904
- "yaml": "^1.10.2",
905
- "yn": "^3.1.1",
906
- "yargs": "^15.4.1"
907
- }
37
+ "devDependencies": {}
908
38
  }
@@ -1,20 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.multiply = multiply;
7
- var _reactNative = require("react-native");
8
- const LINKING_ERROR = `The package 'react-native-roxit-code-scanner' doesn't seem to be linked. Make sure: \n\n` + _reactNative.Platform.select({
9
- ios: "- You have run 'pod install'\n",
10
- default: ''
11
- }) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
12
- const RoxitCodeScanner = _reactNative.NativeModules.RoxitCodeScanner ? _reactNative.NativeModules.RoxitCodeScanner : new Proxy({}, {
13
- get() {
14
- throw new Error(LINKING_ERROR);
15
- }
16
- });
17
- function multiply(a, b) {
18
- return RoxitCodeScanner.multiply(a, b);
19
- }
20
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["LINKING_ERROR","Platform","select","ios","default","RoxitCodeScanner","NativeModules","Proxy","get","Error","multiply","a","b"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;;AAAA;AAEA,MAAMA,aAAa,GAChB,0FAAyF,GAC1FC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,gBAAgB,GAAGC,0BAAa,CAACD,gBAAgB,GACnDC,0BAAa,CAACD,gBAAgB,GAC9B,IAAIE,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAG,GAAG;IACJ,MAAM,IAAIC,KAAK,CAACT,aAAa,CAAC;EAChC;AACF,CAAC,CACF;AAEE,SAASU,QAAQ,CAACC,CAAS,EAAEC,CAAS,EAAmB;EAC9D,OAAOP,gBAAgB,CAACK,QAAQ,CAACC,CAAC,EAAEC,CAAC,CAAC;AACxC"}
@@ -1,14 +0,0 @@
1
- import { NativeModules, Platform } from 'react-native';
2
- const LINKING_ERROR = `The package 'react-native-roxit-code-scanner' doesn't seem to be linked. Make sure: \n\n` + Platform.select({
3
- ios: "- You have run 'pod install'\n",
4
- default: ''
5
- }) + '- You rebuilt the app after installing the package\n' + '- You are not using Expo Go\n';
6
- const RoxitCodeScanner = NativeModules.RoxitCodeScanner ? NativeModules.RoxitCodeScanner : new Proxy({}, {
7
- get() {
8
- throw new Error(LINKING_ERROR);
9
- }
10
- });
11
- export function multiply(a, b) {
12
- return RoxitCodeScanner.multiply(a, b);
13
- }
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["NativeModules","Platform","LINKING_ERROR","select","ios","default","RoxitCodeScanner","Proxy","get","Error","multiply","a","b"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,SAASA,aAAa,EAAEC,QAAQ,QAAQ,cAAc;AAEtD,MAAMC,aAAa,GAChB,0FAAyF,GAC1FD,QAAQ,CAACE,MAAM,CAAC;EAAEC,GAAG,EAAE,gCAAgC;EAAEC,OAAO,EAAE;AAAG,CAAC,CAAC,GACvE,sDAAsD,GACtD,+BAA+B;AAEjC,MAAMC,gBAAgB,GAAGN,aAAa,CAACM,gBAAgB,GACnDN,aAAa,CAACM,gBAAgB,GAC9B,IAAIC,KAAK,CACP,CAAC,CAAC,EACF;EACEC,GAAG,GAAG;IACJ,MAAM,IAAIC,KAAK,CAACP,aAAa,CAAC;EAChC;AACF,CAAC,CACF;AAEL,OAAO,SAASQ,QAAQ,CAACC,CAAS,EAAEC,CAAS,EAAmB;EAC9D,OAAON,gBAAgB,CAACI,QAAQ,CAACC,CAAC,EAAEC,CAAC,CAAC;AACxC"}
@@ -1,2 +0,0 @@
1
- export declare function multiply(a: number, b: number): Promise<number>;
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAmBA,wBAAgB,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAE9D"}
package/src/index.tsx DELETED
@@ -1,22 +0,0 @@
1
- import { NativeModules, Platform } from 'react-native';
2
-
3
- const LINKING_ERROR =
4
- `The package 'react-native-roxit-code-scanner' doesn't seem to be linked. Make sure: \n\n` +
5
- Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
6
- '- You rebuilt the app after installing the package\n' +
7
- '- You are not using Expo Go\n';
8
-
9
- const RoxitCodeScanner = NativeModules.RoxitCodeScanner
10
- ? NativeModules.RoxitCodeScanner
11
- : new Proxy(
12
- {},
13
- {
14
- get() {
15
- throw new Error(LINKING_ERROR);
16
- },
17
- }
18
- );
19
-
20
- export function multiply(a: number, b: number): Promise<number> {
21
- return RoxitCodeScanner.multiply(a, b);
22
- }