@capgo/camera-preview 3.6.22 → 3.6.23

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.
File without changes
@@ -1,2 +1,2 @@
1
- #Mon Feb 13 03:56:23 UTC 2023
2
- gradle.version=7.4.2
1
+ #Mon Feb 13 21:55:09 UTC 2023
2
+ gradle.version=7.6
@@ -1,5 +1,6 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https://services.gradle.org/distributions/gradle-7.4.2-bin.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
4
+ networkTimeout=10000
4
5
  zipStoreBase=GRADLE_USER_HOME
5
- zipStorePath=wrapper/dists
6
+ zipStorePath=wrapper/dists
package/android/gradlew CHANGED
@@ -55,7 +55,7 @@
55
55
  # Darwin, MinGW, and NonStop.
56
56
  #
57
57
  # (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58
+ # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
59
  # within the Gradle project.
60
60
  #
61
61
  # You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
80
80
  esac
81
81
  done
82
82
 
83
- APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84
-
85
- APP_NAME="Gradle"
83
+ # This is normally unused
84
+ # shellcheck disable=SC2034
86
85
  APP_BASE_NAME=${0##*/}
86
+ APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
87
87
 
88
88
  # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
89
89
  DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
143
143
  if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144
144
  case $MAX_FD in #(
145
145
  max*)
146
+ # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147
+ # shellcheck disable=SC3045
146
148
  MAX_FD=$( ulimit -H -n ) ||
147
149
  warn "Could not query maximum file descriptor limit"
148
150
  esac
149
151
  case $MAX_FD in #(
150
152
  '' | soft) :;; #(
151
153
  *)
154
+ # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155
+ # shellcheck disable=SC3045
152
156
  ulimit -n "$MAX_FD" ||
153
157
  warn "Could not set maximum file descriptor limit to $MAX_FD"
154
158
  esac
@@ -205,6 +209,12 @@ set -- \
205
209
  org.gradle.wrapper.GradleWrapperMain \
206
210
  "$@"
207
211
 
212
+ # Stop when "xargs" is not available.
213
+ if ! command -v xargs >/dev/null 2>&1
214
+ then
215
+ die "xargs is not available"
216
+ fi
217
+
208
218
  # Use "xargs" to parse quoted args.
209
219
  #
210
220
  # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
@@ -1,4 +1,20 @@
1
- @if "%DEBUG%" == "" @echo off
1
+ @rem
2
+ @rem Copyright 2015 the original author or authors.
3
+ @rem
4
+ @rem Licensed under the Apache License, Version 2.0 (the "License");
5
+ @rem you may not use this file except in compliance with the License.
6
+ @rem You may obtain a copy of the License at
7
+ @rem
8
+ @rem https://www.apache.org/licenses/LICENSE-2.0
9
+ @rem
10
+ @rem Unless required by applicable law or agreed to in writing, software
11
+ @rem distributed under the License is distributed on an "AS IS" BASIS,
12
+ @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ @rem See the License for the specific language governing permissions and
14
+ @rem limitations under the License.
15
+ @rem
16
+
17
+ @if "%DEBUG%"=="" @echo off
2
18
  @rem ##########################################################################
3
19
  @rem
4
20
  @rem Gradle startup script for Windows
@@ -8,20 +24,24 @@
8
24
  @rem Set local scope for the variables with windows NT shell
9
25
  if "%OS%"=="Windows_NT" setlocal
10
26
 
11
- @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12
- set DEFAULT_JVM_OPTS=
13
-
14
27
  set DIRNAME=%~dp0
15
- if "%DIRNAME%" == "" set DIRNAME=.
28
+ if "%DIRNAME%"=="" set DIRNAME=.
29
+ @rem This is normally unused
16
30
  set APP_BASE_NAME=%~n0
17
31
  set APP_HOME=%DIRNAME%
18
32
 
33
+ @rem Resolve any "." and ".." in APP_HOME to make it shorter.
34
+ for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
35
+
36
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
37
+ set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
38
+
19
39
  @rem Find java.exe
20
40
  if defined JAVA_HOME goto findJavaFromJavaHome
21
41
 
22
42
  set JAVA_EXE=java.exe
23
43
  %JAVA_EXE% -version >NUL 2>&1
24
- if "%ERRORLEVEL%" == "0" goto init
44
+ if %ERRORLEVEL% equ 0 goto execute
25
45
 
26
46
  echo.
27
47
  echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -35,7 +55,7 @@ goto fail
35
55
  set JAVA_HOME=%JAVA_HOME:"=%
36
56
  set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37
57
 
38
- if exist "%JAVA_EXE%" goto init
58
+ if exist "%JAVA_EXE%" goto execute
39
59
 
40
60
  echo.
41
61
  echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
@@ -45,44 +65,26 @@ echo location of your Java installation.
45
65
 
46
66
  goto fail
47
67
 
48
- :init
49
- @rem Get command-line arguments, handling Windowz variants
50
-
51
- if not "%OS%" == "Windows_NT" goto win9xME_args
52
- if "%@eval[2+2]" == "4" goto 4NT_args
53
-
54
- :win9xME_args
55
- @rem Slurp the command line arguments.
56
- set CMD_LINE_ARGS=
57
- set _SKIP=2
58
-
59
- :win9xME_args_slurp
60
- if "x%~1" == "x" goto execute
61
-
62
- set CMD_LINE_ARGS=%*
63
- goto execute
64
-
65
- :4NT_args
66
- @rem Get arguments from the 4NT Shell from JP Software
67
- set CMD_LINE_ARGS=%$
68
-
69
68
  :execute
70
69
  @rem Setup the command line
71
70
 
72
71
  set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73
72
 
73
+
74
74
  @rem Execute Gradle
75
- "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
75
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
76
76
 
77
77
  :end
78
78
  @rem End local scope for the variables with windows NT shell
79
- if "%ERRORLEVEL%"=="0" goto mainEnd
79
+ if %ERRORLEVEL% equ 0 goto mainEnd
80
80
 
81
81
  :fail
82
82
  rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
83
  rem the _cmd.exe /c_ return code!
84
- if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85
- exit /b 1
84
+ set EXIT_CODE=%ERRORLEVEL%
85
+ if %EXIT_CODE% equ 0 set EXIT_CODE=1
86
+ if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87
+ exit /b %EXIT_CODE%
86
88
 
87
89
  :mainEnd
88
90
  if "%OS%"=="Windows_NT" endlocal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/camera-preview",
3
- "version": "3.6.22",
3
+ "version": "3.6.23",
4
4
  "description": "Camera preview",
5
5
  "main": "dist/esm/index.js",
6
6
  "types": "dist/esm/index.d.ts",