wp-studio 1.7.8-beta2 → 1.7.8-beta3
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 +33 -0
- package/assets/demo.gif +0 -0
- package/dist/cli/{_events-BRGCap7g.mjs → _events-C60cNJ1W.mjs} +1 -1
- package/dist/cli/{index-9Oz-0bqF.mjs → index-D9syEMMz.mjs} +4 -4
- package/dist/cli/{index-CT4S2538.mjs → index-Ru6CUP6w.mjs} +24 -12
- package/dist/cli/{login-D4E3GoXe.mjs → login-C3QlGVbr.mjs} +1 -1
- package/dist/cli/{logout-DE-RoshK.mjs → logout-B63eZwJZ.mjs} +1 -1
- package/dist/cli/main.mjs +2 -1
- package/dist/cli/{resume-DLoXmzNG.mjs → resume-DQT_MK6A.mjs} +1 -1
- package/dist/cli/{set-B0L-QiXT.mjs → set-C805heQS.mjs} +1 -1
- package/dist/cli/{set-B8YYUENH.mjs → set-CjTbueyB.mjs} +1 -1
- package/dist/cli/{status-DEOAA0yx.mjs → status-SnKm1rRP.mjs} +1 -1
- package/dist/cli/{wp-CobSX6C6.mjs → wp-D0HZdudM.mjs} +1 -1
- package/dist/cli/wp-files/sqlite-command/composer.json +4 -3
- package/dist/cli/wp-files/sqlite-command/composer.lock +132 -80
- package/dist/cli/wp-files/sqlite-command/vendor/autoload.php +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_classmap.php +58 -70
- package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_namespaces.php +1 -0
- package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_psr4.php +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_real.php +5 -5
- package/dist/cli/wp-files/sqlite-command/vendor/composer/autoload_static.php +78 -80
- package/dist/cli/wp-files/sqlite-command/vendor/composer/installed.json +104 -49
- package/dist/cli/wp-files/sqlite-command/vendor/composer/installed.php +29 -16
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/CHANGELOG.md +103 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Comparator/Comparator.php +62 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Comparator/DateComparator.php +50 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Comparator/NumberComparator.php +78 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Exception/AccessDeniedException.php +19 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Exception/DirectoryNotFoundException.php +19 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Finder.php +851 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Gitignore.php +91 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Glob.php +116 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/CustomFilterIterator.php +61 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php +58 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php +48 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php +110 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php +51 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php +58 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/FilenameFilterIterator.php +45 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/LazyIterator.php +32 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php +107 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/PathFilterIterator.php +56 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php +134 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +57 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/SortableIterator.php +115 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php +173 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/LICENSE +19 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/README.md +14 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/SplFileInfo.php +80 -0
- package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/composer.json +31 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/mustache/.gitattributes +8 -0
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache → wp-cli}/mustache/LICENSE +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/mustache/README.md +76 -0
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache → wp-cli}/mustache/composer.json +6 -16
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/mustache/src/Mustache/Autoloader.php +88 -0
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Cache/AbstractCache.php +7 -15
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Cache/FilesystemCache.php +15 -20
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Cache/NoopCache.php +4 -8
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Cache.php +7 -10
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Compiler.php +87 -144
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Context.php +19 -23
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Engine.php +134 -251
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/InvalidArgumentException.php +2 -6
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/LogicException.php +2 -6
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/RuntimeException.php +2 -6
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/SyntaxException.php +8 -7
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/UnknownFilterException.php +7 -7
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/UnknownHelperException.php +7 -7
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception/UnknownTemplateException.php +7 -7
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Exception.php +5 -4
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/HelperCollection.php +17 -22
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/LambdaHelper.php +8 -28
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/ArrayLoader.php +9 -12
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/CascadingLoader.php +15 -18
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/FilesystemLoader.php +18 -24
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/InlineLoader.php +13 -19
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/MutableLoader.php +7 -4
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/ProductionFilesystemLoader.php +16 -23
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader/StringLoader.php +4 -8
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Loader.php +7 -8
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Logger/AbstractLogger.php +26 -22
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Logger/StreamLogger.php +20 -25
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Logger.php +37 -13
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Parser.php +93 -100
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Source/FilesystemSource.php +7 -11
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Source.php +5 -4
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Template.php +32 -39
- package/dist/cli/wp-files/sqlite-command/vendor/{mustache/mustache/src → wp-cli/mustache/src/Mustache}/Tokenizer.php +29 -33
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/.actrc +3 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/.gitattributes +6 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/.mailmap +234 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/README.md +4 -4
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/VERSION +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/CHANGELOG.md +0 -65
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/README.md +1 -2
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/certificates/cacert.pem +372 -315
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/certificates/cacert.pem.sha256 +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/composer.json +5 -7
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Iri.php +18 -20
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Requests.php +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Response/Headers.php +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Transport/Curl.php +1 -5
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Transport/Fsockopen.php +0 -2
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Utility/CaseInsensitiveDictionary.php +0 -12
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Utility/FilteredIterator.php +2 -2
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/composer.json +13 -30
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/dependencies.yml +6 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/manifest.json +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Autoloader.php +2 -4
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/AutoloaderStep.php +1 -10
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/CheckRoot.php +2 -20
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/DefineProtectedCommands.php +3 -3
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/IncludeFrameworkAutoloader.php +4 -3
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/IncludeRequestsAutoloader.php +3 -4
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/InitializeContexts.php +0 -3
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/InitializeLogger.php +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php +3 -6
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/{RegisterShutdownHandler.php → LoadDispatcher.php} +4 -6
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LoadRequiredCommand.php +5 -9
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LoadUtilityFunctions.php +0 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Completions.php +6 -149
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Configurator.php +49 -202
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Context/Admin.php +21 -113
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Context/Auto.php +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Context/Cli.php +1 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Context/Frontend.php +1 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php +26 -63
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CompositeCommand.php +9 -19
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php +19 -284
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/DocParser.php +5 -17
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Exception/NonExistentKeyException.php +3 -6
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Extractor.php +54 -30
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Base.php +3 -7
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Comment.php +2 -4
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Post.php +3 -8
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Signup.php +1 -3
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Site.php +4 -12
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/User.php +1 -3
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/FileCache.php +33 -135
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Formatter.php +57 -221
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Inflector.php +4 -4
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Iterators/CSV.php +1 -6
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Iterators/Query.php +1 -3
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Iterators/Table.php +1 -7
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Iterators/Transform.php +0 -2
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Base.php +0 -15
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Quiet.php +3 -2
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Loggers/Regular.php +3 -4
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/NoOp.php +0 -4
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Process.php +7 -40
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/RequestsLibrary.php +1 -4
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php +234 -795
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/SynopsisParser.php +26 -116
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/SynopsisValidator.php +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Traverser/RecursiveDataStructureTraverser.php +26 -69
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/UpgraderSkin.php +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/WpHttpCacheManager.php +5 -67
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/WpOrgApi.php +3 -3
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/boot-fs.php +2 -2
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/bootstrap.php +2 -5
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/class-wp-cli.php +62 -311
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/commands/src/CLI_Alias_Command.php +60 -292
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/commands/src/CLI_Cache_Command.php +1 -1
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/commands/src/CLI_Command.php +31 -191
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/commands/src/Help_Command.php +35 -177
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/config-spec.php +4 -28
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/utils-wp.php +47 -81
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/utils.php +200 -512
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/wp-cli.php +2 -2
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/wp-settings-cli.php +465 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/templates/man-params.mustache +4 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/templates/man.mustache +0 -8
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/ArgValidationTest.php +74 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/CommandFactoryTest.php +420 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/ConfiguratorTest.php +87 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/DocParserTest.php +213 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/ExtractorTest.php +293 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/FileCacheTest.php +207 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/HelpTest.php +119 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/InflectorTest.php +37 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/LoggingTest.php +124 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/ProcessTest.php +30 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/SynopsisParserTest.php +194 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/UtilsTest.php +1092 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WPCLITest.php +16 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WP_CLI/Iterators/CSVTest.php +109 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WP_CLI/Traversers/RecursiveDataStructureTraverserTest.php +151 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WP_CLI/WpOrgApiTest.php +166 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/WpVersionCompareTest.php +78 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/bootstrap.php +17 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-class-win.php +70 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-class.php +70 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-function-win.php +19 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/commandfactory-doc_comment-function.php +19 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/bar.ab2 +0 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/baz.ab1 +0 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/baz.ac1 +0 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/baz.efg2 +0 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.ab1 +0 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.ab2 +0 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.efg1 +0 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.efg2 +0 -0
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/tests/mock-requests-transport.php +34 -0
- package/dist/cli/wp-files/sqlite-command/version +1 -1
- package/package.json +4 -3
- package/dist/cli/wp-files/sqlite-command/vendor/mustache/mustache/.php-cs-fixer.php +0 -20
- package/dist/cli/wp-files/sqlite-command/vendor/mustache/mustache/README.md +0 -94
- package/dist/cli/wp-files/sqlite-command/vendor/mustache/mustache/src/RenderedString.php +0 -51
- package/dist/cli/wp-files/sqlite-command/vendor/mustache/mustache/src/compat.php +0 -282
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/.typos.toml +0 -14
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/AGENTS.md +0 -121
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/scripts/proxy/proxy.py +0 -5
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/scripts/proxy/start.sh +0 -19
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/bundle/rmccue/requests/scripts/proxy/stop.sh +0 -10
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/Path.php +0 -260
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/php/WP_CLI/ShutdownHandler.php +0 -329
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/schemas/wp-cli-config.json +0 -218
- package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/schemas/wp-cli.example.yml +0 -55
- /package/dist/cli/wp-files/sqlite-command/vendor/wp-cli/wp-cli/{codecov.yml → tests/data/expand_globs/bar.ab1} +0 -0
|
@@ -1,42 +1,113 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packages": [
|
|
3
3
|
{
|
|
4
|
-
"name": "
|
|
5
|
-
"version": "
|
|
6
|
-
"version_normalized": "
|
|
4
|
+
"name": "symfony/finder",
|
|
5
|
+
"version": "v8.0.8",
|
|
6
|
+
"version_normalized": "8.0.8.0",
|
|
7
7
|
"source": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/
|
|
10
|
-
"reference": "
|
|
9
|
+
"url": "https://github.com/symfony/finder.git",
|
|
10
|
+
"reference": "8da41214757b87d97f181e3d14a4179286151007"
|
|
11
11
|
},
|
|
12
12
|
"dist": {
|
|
13
13
|
"type": "zip",
|
|
14
|
-
"url": "https://api.github.com/repos/
|
|
15
|
-
"reference": "
|
|
14
|
+
"url": "https://api.github.com/repos/symfony/finder/zipball/8da41214757b87d97f181e3d14a4179286151007",
|
|
15
|
+
"reference": "8da41214757b87d97f181e3d14a4179286151007",
|
|
16
16
|
"shasum": ""
|
|
17
17
|
},
|
|
18
18
|
"require": {
|
|
19
|
-
"php": ">=
|
|
19
|
+
"php": ">=8.4"
|
|
20
20
|
},
|
|
21
21
|
"require-dev": {
|
|
22
|
-
"
|
|
23
|
-
"yoast/phpunit-polyfills": "^2.0"
|
|
22
|
+
"symfony/filesystem": "^7.4|^8.0"
|
|
24
23
|
},
|
|
25
|
-
"time": "
|
|
24
|
+
"time": "2026-03-30T15:14:47+00:00",
|
|
26
25
|
"type": "library",
|
|
27
26
|
"installation-source": "dist",
|
|
28
27
|
"autoload": {
|
|
29
28
|
"psr-4": {
|
|
30
|
-
"
|
|
29
|
+
"Symfony\\Component\\Finder\\": ""
|
|
31
30
|
},
|
|
32
|
-
"classmap": [
|
|
33
|
-
"
|
|
31
|
+
"exclude-from-classmap": [
|
|
32
|
+
"/Tests/"
|
|
34
33
|
]
|
|
35
34
|
},
|
|
36
35
|
"notification-url": "https://packagist.org/downloads/",
|
|
37
36
|
"license": [
|
|
38
37
|
"MIT"
|
|
39
38
|
],
|
|
39
|
+
"authors": [
|
|
40
|
+
{
|
|
41
|
+
"name": "Fabien Potencier",
|
|
42
|
+
"email": "fabien@symfony.com"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "Symfony Community",
|
|
46
|
+
"homepage": "https://symfony.com/contributors"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"description": "Finds files and directories via an intuitive fluent interface",
|
|
50
|
+
"homepage": "https://symfony.com",
|
|
51
|
+
"support": {
|
|
52
|
+
"source": "https://github.com/symfony/finder/tree/v8.0.8"
|
|
53
|
+
},
|
|
54
|
+
"funding": [
|
|
55
|
+
{
|
|
56
|
+
"url": "https://symfony.com/sponsor",
|
|
57
|
+
"type": "custom"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"url": "https://github.com/fabpot",
|
|
61
|
+
"type": "github"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"url": "https://github.com/nicolas-grekas",
|
|
65
|
+
"type": "github"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
|
|
69
|
+
"type": "tidelift"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"install-path": "../symfony/finder"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "wp-cli/mustache",
|
|
76
|
+
"version": "v2.14.99",
|
|
77
|
+
"version_normalized": "2.14.99.0",
|
|
78
|
+
"source": {
|
|
79
|
+
"type": "git",
|
|
80
|
+
"url": "https://github.com/wp-cli/mustache.php.git",
|
|
81
|
+
"reference": "ca23b97ac35fbe01c160549eb634396183d04a59"
|
|
82
|
+
},
|
|
83
|
+
"dist": {
|
|
84
|
+
"type": "zip",
|
|
85
|
+
"url": "https://api.github.com/repos/wp-cli/mustache.php/zipball/ca23b97ac35fbe01c160549eb634396183d04a59",
|
|
86
|
+
"reference": "ca23b97ac35fbe01c160549eb634396183d04a59",
|
|
87
|
+
"shasum": ""
|
|
88
|
+
},
|
|
89
|
+
"require": {
|
|
90
|
+
"php": ">=5.6"
|
|
91
|
+
},
|
|
92
|
+
"replace": {
|
|
93
|
+
"mustache/mustache": "^2.14.2"
|
|
94
|
+
},
|
|
95
|
+
"require-dev": {
|
|
96
|
+
"friendsofphp/php-cs-fixer": "~2.19.3",
|
|
97
|
+
"yoast/phpunit-polyfills": "^2.0"
|
|
98
|
+
},
|
|
99
|
+
"time": "2025-05-06T16:15:37+00:00",
|
|
100
|
+
"type": "library",
|
|
101
|
+
"installation-source": "dist",
|
|
102
|
+
"autoload": {
|
|
103
|
+
"psr-0": {
|
|
104
|
+
"Mustache": "src/"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"notification-url": "https://packagist.org/downloads/",
|
|
108
|
+
"license": [
|
|
109
|
+
"MIT"
|
|
110
|
+
],
|
|
40
111
|
"authors": [
|
|
41
112
|
{
|
|
42
113
|
"name": "Justin Hileman",
|
|
@@ -51,10 +122,9 @@
|
|
|
51
122
|
"templating"
|
|
52
123
|
],
|
|
53
124
|
"support": {
|
|
54
|
-
"
|
|
55
|
-
"source": "https://github.com/bobthecow/mustache.php/tree/v3.0.0"
|
|
125
|
+
"source": "https://github.com/wp-cli/mustache.php/tree/v2.14.99"
|
|
56
126
|
},
|
|
57
|
-
"install-path": "../
|
|
127
|
+
"install-path": "../wp-cli/mustache"
|
|
58
128
|
},
|
|
59
129
|
{
|
|
60
130
|
"name": "wp-cli/mustangostang-spyc",
|
|
@@ -178,62 +248,47 @@
|
|
|
178
248
|
},
|
|
179
249
|
{
|
|
180
250
|
"name": "wp-cli/wp-cli",
|
|
181
|
-
"version": "
|
|
182
|
-
"version_normalized": "
|
|
251
|
+
"version": "v2.12.0",
|
|
252
|
+
"version_normalized": "2.12.0.0",
|
|
183
253
|
"source": {
|
|
184
254
|
"type": "git",
|
|
185
255
|
"url": "https://github.com/wp-cli/wp-cli.git",
|
|
186
|
-
"reference": "
|
|
256
|
+
"reference": "03d30d4138d12b4bffd8b507b82e56e129e0523f"
|
|
187
257
|
},
|
|
188
258
|
"dist": {
|
|
189
259
|
"type": "zip",
|
|
190
|
-
"url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/
|
|
191
|
-
"reference": "
|
|
260
|
+
"url": "https://api.github.com/repos/wp-cli/wp-cli/zipball/03d30d4138d12b4bffd8b507b82e56e129e0523f",
|
|
261
|
+
"reference": "03d30d4138d12b4bffd8b507b82e56e129e0523f",
|
|
192
262
|
"shasum": ""
|
|
193
263
|
},
|
|
194
264
|
"require": {
|
|
195
|
-
"
|
|
196
|
-
"php": "
|
|
265
|
+
"ext-curl": "*",
|
|
266
|
+
"php": "^5.6 || ^7.0 || ^8.0",
|
|
267
|
+
"symfony/finder": ">2.7",
|
|
268
|
+
"wp-cli/mustache": "^2.14.99",
|
|
197
269
|
"wp-cli/mustangostang-spyc": "^0.6.3",
|
|
198
|
-
"wp-cli/php-cli-tools": "~0.12.
|
|
270
|
+
"wp-cli/php-cli-tools": "~0.12.4"
|
|
199
271
|
},
|
|
200
272
|
"require-dev": {
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
"wp-cli/
|
|
204
|
-
"wp-cli/
|
|
205
|
-
"wp-cli/
|
|
206
|
-
"wp-cli/package-command": "^2",
|
|
207
|
-
"wp-cli/wp-cli-tests": "^5"
|
|
273
|
+
"wp-cli/db-command": "^1.3 || ^2",
|
|
274
|
+
"wp-cli/entity-command": "^1.2 || ^2",
|
|
275
|
+
"wp-cli/extension-command": "^1.1 || ^2",
|
|
276
|
+
"wp-cli/package-command": "^1 || ^2",
|
|
277
|
+
"wp-cli/wp-cli-tests": "^4.3.10"
|
|
208
278
|
},
|
|
209
279
|
"suggest": {
|
|
210
|
-
"ext-curl": "For better performance when making HTTP requests",
|
|
211
280
|
"ext-readline": "Include for a better --prompt implementation",
|
|
212
281
|
"ext-zip": "Needed to support extraction of ZIP archives when doing downloads or updates"
|
|
213
282
|
},
|
|
214
|
-
"time": "
|
|
215
|
-
"default-branch": true,
|
|
283
|
+
"time": "2025-05-07T01:16:12+00:00",
|
|
216
284
|
"bin": [
|
|
217
285
|
"bin/wp",
|
|
218
286
|
"bin/wp.bat"
|
|
219
287
|
],
|
|
220
288
|
"type": "library",
|
|
221
289
|
"extra": {
|
|
222
|
-
"commands": [
|
|
223
|
-
"cli",
|
|
224
|
-
"cli alias",
|
|
225
|
-
"cli cache",
|
|
226
|
-
"cli check-update",
|
|
227
|
-
"cli cmd-dump",
|
|
228
|
-
"cli completions",
|
|
229
|
-
"cli has-command",
|
|
230
|
-
"cli info",
|
|
231
|
-
"cli param-dump",
|
|
232
|
-
"cli update",
|
|
233
|
-
"cli version"
|
|
234
|
-
],
|
|
235
290
|
"branch-alias": {
|
|
236
|
-
"dev-main": "2.
|
|
291
|
+
"dev-main": "2.12.x-dev"
|
|
237
292
|
}
|
|
238
293
|
},
|
|
239
294
|
"installation-source": "dist",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<?php return array(
|
|
2
2
|
'root' => array(
|
|
3
3
|
'name' => 'automattic/wp-cli-sqlite-command',
|
|
4
|
-
'pretty_version' => 'v1.1.
|
|
5
|
-
'version' => '1.1.
|
|
6
|
-
'reference' => '
|
|
4
|
+
'pretty_version' => 'v1.1.7',
|
|
5
|
+
'version' => '1.1.7.0',
|
|
6
|
+
'reference' => 'c31e09e98450380548fabc0415a40c73b8334f53',
|
|
7
7
|
'type' => 'wp-cli-package',
|
|
8
8
|
'install_path' => __DIR__ . '/../../',
|
|
9
9
|
'aliases' => array(),
|
|
@@ -11,20 +11,35 @@
|
|
|
11
11
|
),
|
|
12
12
|
'versions' => array(
|
|
13
13
|
'automattic/wp-cli-sqlite-command' => array(
|
|
14
|
-
'pretty_version' => 'v1.1.
|
|
15
|
-
'version' => '1.1.
|
|
16
|
-
'reference' => '
|
|
14
|
+
'pretty_version' => 'v1.1.7',
|
|
15
|
+
'version' => '1.1.7.0',
|
|
16
|
+
'reference' => 'c31e09e98450380548fabc0415a40c73b8334f53',
|
|
17
17
|
'type' => 'wp-cli-package',
|
|
18
18
|
'install_path' => __DIR__ . '/../../',
|
|
19
19
|
'aliases' => array(),
|
|
20
20
|
'dev_requirement' => false,
|
|
21
21
|
),
|
|
22
22
|
'mustache/mustache' => array(
|
|
23
|
-
'
|
|
24
|
-
'
|
|
25
|
-
|
|
23
|
+
'dev_requirement' => false,
|
|
24
|
+
'replaced' => array(
|
|
25
|
+
0 => '^2.14.2',
|
|
26
|
+
),
|
|
27
|
+
),
|
|
28
|
+
'symfony/finder' => array(
|
|
29
|
+
'pretty_version' => 'v8.0.8',
|
|
30
|
+
'version' => '8.0.8.0',
|
|
31
|
+
'reference' => '8da41214757b87d97f181e3d14a4179286151007',
|
|
26
32
|
'type' => 'library',
|
|
27
|
-
'install_path' => __DIR__ . '/../
|
|
33
|
+
'install_path' => __DIR__ . '/../symfony/finder',
|
|
34
|
+
'aliases' => array(),
|
|
35
|
+
'dev_requirement' => false,
|
|
36
|
+
),
|
|
37
|
+
'wp-cli/mustache' => array(
|
|
38
|
+
'pretty_version' => 'v2.14.99',
|
|
39
|
+
'version' => '2.14.99.0',
|
|
40
|
+
'reference' => 'ca23b97ac35fbe01c160549eb634396183d04a59',
|
|
41
|
+
'type' => 'library',
|
|
42
|
+
'install_path' => __DIR__ . '/../wp-cli/mustache',
|
|
28
43
|
'aliases' => array(),
|
|
29
44
|
'dev_requirement' => false,
|
|
30
45
|
),
|
|
@@ -47,14 +62,12 @@
|
|
|
47
62
|
'dev_requirement' => false,
|
|
48
63
|
),
|
|
49
64
|
'wp-cli/wp-cli' => array(
|
|
50
|
-
'pretty_version' => '
|
|
51
|
-
'version' => '
|
|
52
|
-
'reference' => '
|
|
65
|
+
'pretty_version' => 'v2.12.0',
|
|
66
|
+
'version' => '2.12.0.0',
|
|
67
|
+
'reference' => '03d30d4138d12b4bffd8b507b82e56e129e0523f',
|
|
53
68
|
'type' => 'library',
|
|
54
69
|
'install_path' => __DIR__ . '/../wp-cli/wp-cli',
|
|
55
|
-
'aliases' => array(
|
|
56
|
-
0 => '2.13.x-dev',
|
|
57
|
-
),
|
|
70
|
+
'aliases' => array(),
|
|
58
71
|
'dev_requirement' => false,
|
|
59
72
|
),
|
|
60
73
|
),
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
CHANGELOG
|
|
2
|
+
=========
|
|
3
|
+
|
|
4
|
+
6.4
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
* Add early directory pruning to `Finder::filter()`
|
|
8
|
+
|
|
9
|
+
6.2
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
* Add `Finder::sortByExtension()` and `Finder::sortBySize()`
|
|
13
|
+
* Add `Finder::sortByCaseInsensitiveName()` to sort by name with case insensitive sorting methods
|
|
14
|
+
|
|
15
|
+
6.0
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
* Remove `Comparator::setTarget()` and `Comparator::setOperator()`
|
|
19
|
+
|
|
20
|
+
5.4.0
|
|
21
|
+
-----
|
|
22
|
+
|
|
23
|
+
* Deprecate `Comparator::setTarget()` and `Comparator::setOperator()`
|
|
24
|
+
* Add a constructor to `Comparator` that allows setting target and operator
|
|
25
|
+
* Finder's iterator has now `Symfony\Component\Finder\SplFileInfo` inner type specified
|
|
26
|
+
* Add recursive .gitignore files support
|
|
27
|
+
|
|
28
|
+
5.0.0
|
|
29
|
+
-----
|
|
30
|
+
|
|
31
|
+
* added `$useNaturalSort` argument to `Finder::sortByName()`
|
|
32
|
+
|
|
33
|
+
4.3.0
|
|
34
|
+
-----
|
|
35
|
+
|
|
36
|
+
* added Finder::ignoreVCSIgnored() to ignore files based on rules listed in .gitignore
|
|
37
|
+
|
|
38
|
+
4.2.0
|
|
39
|
+
-----
|
|
40
|
+
|
|
41
|
+
* added $useNaturalSort option to Finder::sortByName() method
|
|
42
|
+
* the `Finder::sortByName()` method will have a new `$useNaturalSort`
|
|
43
|
+
argument in version 5.0, not defining it is deprecated
|
|
44
|
+
* added `Finder::reverseSorting()` to reverse the sorting
|
|
45
|
+
|
|
46
|
+
4.0.0
|
|
47
|
+
-----
|
|
48
|
+
|
|
49
|
+
* removed `ExceptionInterface`
|
|
50
|
+
* removed `Symfony\Component\Finder\Iterator\FilterIterator`
|
|
51
|
+
|
|
52
|
+
3.4.0
|
|
53
|
+
-----
|
|
54
|
+
|
|
55
|
+
* deprecated `Symfony\Component\Finder\Iterator\FilterIterator`
|
|
56
|
+
* added Finder::hasResults() method to check if any results were found
|
|
57
|
+
|
|
58
|
+
3.3.0
|
|
59
|
+
-----
|
|
60
|
+
|
|
61
|
+
* added double-star matching to Glob::toRegex()
|
|
62
|
+
|
|
63
|
+
3.0.0
|
|
64
|
+
-----
|
|
65
|
+
|
|
66
|
+
* removed deprecated classes
|
|
67
|
+
|
|
68
|
+
2.8.0
|
|
69
|
+
-----
|
|
70
|
+
|
|
71
|
+
* deprecated adapters and related classes
|
|
72
|
+
|
|
73
|
+
2.5.0
|
|
74
|
+
-----
|
|
75
|
+
* added support for GLOB_BRACE in the paths passed to Finder::in()
|
|
76
|
+
|
|
77
|
+
2.3.0
|
|
78
|
+
-----
|
|
79
|
+
|
|
80
|
+
* added a way to ignore unreadable directories (via Finder::ignoreUnreadableDirs())
|
|
81
|
+
* unified the way subfolders that are not executable are handled by always throwing an AccessDeniedException exception
|
|
82
|
+
|
|
83
|
+
2.2.0
|
|
84
|
+
-----
|
|
85
|
+
|
|
86
|
+
* added Finder::path() and Finder::notPath() methods
|
|
87
|
+
* added finder adapters to improve performance on specific platforms
|
|
88
|
+
* added support for wildcard characters (glob patterns) in the paths passed
|
|
89
|
+
to Finder::in()
|
|
90
|
+
|
|
91
|
+
2.1.0
|
|
92
|
+
-----
|
|
93
|
+
|
|
94
|
+
* added Finder::sortByAccessedTime(), Finder::sortByChangedTime(), and
|
|
95
|
+
Finder::sortByModifiedTime()
|
|
96
|
+
* added Countable to Finder
|
|
97
|
+
* added support for an array of directories as an argument to
|
|
98
|
+
Finder::exclude()
|
|
99
|
+
* added searching based on the file content via Finder::contains() and
|
|
100
|
+
Finder::notContains()
|
|
101
|
+
* added support for the != operator in the Comparator
|
|
102
|
+
* [BC BREAK] filter expressions (used for file name and content) are no more
|
|
103
|
+
considered as regexps but glob patterns when they are enclosed in '*' or '?'
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* This file is part of the Symfony package.
|
|
5
|
+
*
|
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
|
7
|
+
*
|
|
8
|
+
* For the full copyright and license information, please view the LICENSE
|
|
9
|
+
* file that was distributed with this source code.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
namespace Symfony\Component\Finder\Comparator;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @author Fabien Potencier <fabien@symfony.com>
|
|
16
|
+
*/
|
|
17
|
+
class Comparator
|
|
18
|
+
{
|
|
19
|
+
private string $operator;
|
|
20
|
+
|
|
21
|
+
public function __construct(
|
|
22
|
+
private string $target,
|
|
23
|
+
string $operator = '==',
|
|
24
|
+
) {
|
|
25
|
+
if (!\in_array($operator, ['>', '<', '>=', '<=', '==', '!='], true)) {
|
|
26
|
+
throw new \InvalidArgumentException(\sprintf('Invalid operator "%s".', $operator));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
$this->operator = $operator;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Gets the target value.
|
|
34
|
+
*/
|
|
35
|
+
public function getTarget(): string
|
|
36
|
+
{
|
|
37
|
+
return $this->target;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Gets the comparison operator.
|
|
42
|
+
*/
|
|
43
|
+
public function getOperator(): string
|
|
44
|
+
{
|
|
45
|
+
return $this->operator;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Tests against the target.
|
|
50
|
+
*/
|
|
51
|
+
public function test(mixed $test): bool
|
|
52
|
+
{
|
|
53
|
+
return match ($this->operator) {
|
|
54
|
+
'>' => $test > $this->target,
|
|
55
|
+
'>=' => $test >= $this->target,
|
|
56
|
+
'<' => $test < $this->target,
|
|
57
|
+
'<=' => $test <= $this->target,
|
|
58
|
+
'!=' => $test != $this->target,
|
|
59
|
+
default => $test == $this->target,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* This file is part of the Symfony package.
|
|
5
|
+
*
|
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
|
7
|
+
*
|
|
8
|
+
* For the full copyright and license information, please view the LICENSE
|
|
9
|
+
* file that was distributed with this source code.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
namespace Symfony\Component\Finder\Comparator;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* DateCompare compiles date comparisons.
|
|
16
|
+
*
|
|
17
|
+
* @author Fabien Potencier <fabien@symfony.com>
|
|
18
|
+
*/
|
|
19
|
+
class DateComparator extends Comparator
|
|
20
|
+
{
|
|
21
|
+
/**
|
|
22
|
+
* @param string $test A comparison string
|
|
23
|
+
*
|
|
24
|
+
* @throws \InvalidArgumentException If the test is not understood
|
|
25
|
+
*/
|
|
26
|
+
public function __construct(string $test)
|
|
27
|
+
{
|
|
28
|
+
if (!preg_match('#^\s*(==|!=|[<>]=?|after|since|before|until)?\s*(.+?)\s*$#i', $test, $matches)) {
|
|
29
|
+
throw new \InvalidArgumentException(\sprintf('Don\'t understand "%s" as a date test.', $test));
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
try {
|
|
33
|
+
$date = new \DateTimeImmutable($matches[2]);
|
|
34
|
+
$target = $date->format('U');
|
|
35
|
+
} catch (\Exception) {
|
|
36
|
+
throw new \InvalidArgumentException(\sprintf('"%s" is not a valid date.', $matches[2]));
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
$operator = $matches[1] ?: '==';
|
|
40
|
+
if ('since' === $operator || 'after' === $operator) {
|
|
41
|
+
$operator = '>';
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if ('until' === $operator || 'before' === $operator) {
|
|
45
|
+
$operator = '<';
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
parent::__construct($target, $operator);
|
|
49
|
+
}
|
|
50
|
+
}
|
package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Comparator/NumberComparator.php
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* This file is part of the Symfony package.
|
|
5
|
+
*
|
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
|
7
|
+
*
|
|
8
|
+
* For the full copyright and license information, please view the LICENSE
|
|
9
|
+
* file that was distributed with this source code.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
namespace Symfony\Component\Finder\Comparator;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* NumberComparator compiles a simple comparison to an anonymous
|
|
16
|
+
* subroutine, which you can call with a value to be tested again.
|
|
17
|
+
*
|
|
18
|
+
* Now this would be very pointless, if NumberCompare didn't understand
|
|
19
|
+
* magnitudes.
|
|
20
|
+
*
|
|
21
|
+
* The target value may use magnitudes of kilobytes (k, ki),
|
|
22
|
+
* megabytes (m, mi), or gigabytes (g, gi). Those suffixed
|
|
23
|
+
* with an i use the appropriate 2**n version in accordance with the
|
|
24
|
+
* IEC standard: http://physics.nist.gov/cuu/Units/binary.html
|
|
25
|
+
*
|
|
26
|
+
* Based on the Perl Number::Compare module.
|
|
27
|
+
*
|
|
28
|
+
* @author Fabien Potencier <fabien@symfony.com> PHP port
|
|
29
|
+
* @author Richard Clamp <richardc@unixbeard.net> Perl version
|
|
30
|
+
* @copyright 2004-2005 Fabien Potencier <fabien@symfony.com>
|
|
31
|
+
* @copyright 2002 Richard Clamp <richardc@unixbeard.net>
|
|
32
|
+
*
|
|
33
|
+
* @see http://physics.nist.gov/cuu/Units/binary.html
|
|
34
|
+
*/
|
|
35
|
+
class NumberComparator extends Comparator
|
|
36
|
+
{
|
|
37
|
+
/**
|
|
38
|
+
* @param string|null $test A comparison string or null
|
|
39
|
+
*
|
|
40
|
+
* @throws \InvalidArgumentException If the test is not understood
|
|
41
|
+
*/
|
|
42
|
+
public function __construct(?string $test)
|
|
43
|
+
{
|
|
44
|
+
if (null === $test || !preg_match('#^\s*(==|!=|[<>]=?)?\s*([0-9\.]+)\s*([kmg]i?)?\s*$#i', $test, $matches)) {
|
|
45
|
+
throw new \InvalidArgumentException(\sprintf('Don\'t understand "%s" as a number test.', $test ?? 'null'));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
$target = $matches[2];
|
|
49
|
+
if (!is_numeric($target)) {
|
|
50
|
+
throw new \InvalidArgumentException(\sprintf('Invalid number "%s".', $target));
|
|
51
|
+
}
|
|
52
|
+
if (isset($matches[3])) {
|
|
53
|
+
// magnitude
|
|
54
|
+
switch (strtolower($matches[3])) {
|
|
55
|
+
case 'k':
|
|
56
|
+
$target *= 1000;
|
|
57
|
+
break;
|
|
58
|
+
case 'ki':
|
|
59
|
+
$target *= 1024;
|
|
60
|
+
break;
|
|
61
|
+
case 'm':
|
|
62
|
+
$target *= 1000000;
|
|
63
|
+
break;
|
|
64
|
+
case 'mi':
|
|
65
|
+
$target *= 1024 * 1024;
|
|
66
|
+
break;
|
|
67
|
+
case 'g':
|
|
68
|
+
$target *= 1000000000;
|
|
69
|
+
break;
|
|
70
|
+
case 'gi':
|
|
71
|
+
$target *= 1024 * 1024 * 1024;
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
parent::__construct($target, $matches[1] ?: '==');
|
|
77
|
+
}
|
|
78
|
+
}
|
package/dist/cli/wp-files/sqlite-command/vendor/symfony/finder/Exception/AccessDeniedException.php
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* This file is part of the Symfony package.
|
|
5
|
+
*
|
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
|
7
|
+
*
|
|
8
|
+
* For the full copyright and license information, please view the LICENSE
|
|
9
|
+
* file that was distributed with this source code.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
namespace Symfony\Component\Finder\Exception;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
|
|
16
|
+
*/
|
|
17
|
+
class AccessDeniedException extends \UnexpectedValueException
|
|
18
|
+
{
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?php
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* This file is part of the Symfony package.
|
|
5
|
+
*
|
|
6
|
+
* (c) Fabien Potencier <fabien@symfony.com>
|
|
7
|
+
*
|
|
8
|
+
* For the full copyright and license information, please view the LICENSE
|
|
9
|
+
* file that was distributed with this source code.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
namespace Symfony\Component\Finder\Exception;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @author Andreas Erhard <andreas.erhard@i-med.ac.at>
|
|
16
|
+
*/
|
|
17
|
+
class DirectoryNotFoundException extends \InvalidArgumentException
|
|
18
|
+
{
|
|
19
|
+
}
|