Initial commit — jibo-cli v3.0.7 with bundled node_modules

This commit is contained in:
pasketti
2026-04-05 18:40:18 -04:00
commit b2569b4ce4
10488 changed files with 1631271 additions and 0 deletions

1
node_modules/ensureDir/.idea/.name generated vendored Normal file
View File

@@ -0,0 +1 @@
ensureDir

13
node_modules/ensureDir/.idea/codeStyleSettings.xml generated vendored Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value>
<XML>
<option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
</XML>
</value>
</option>
</component>
</project>

7
node_modules/ensureDir/.idea/dictionaries/Sam.xml generated vendored Normal file
View File

@@ -0,0 +1,7 @@
<component name="ProjectDictionaryState">
<dictionary name="Sam">
<words>
<w>mkdir</w>
</words>
</dictionary>
</component>

5
node_modules/ensureDir/.idea/encodings.xml generated vendored Normal file
View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
</project>

9
node_modules/ensureDir/.idea/ensureDir.iml generated vendored Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

19
node_modules/ensureDir/.idea/jsLibraryMappings.xml generated vendored Normal file
View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<excludedPredefinedLibrary name="AJAX" />
<excludedPredefinedLibrary name="DHTML" />
<excludedPredefinedLibrary name="DOM Core" />
<excludedPredefinedLibrary name="DOM Events" />
<excludedPredefinedLibrary name="DOM Traversal And Range" />
<excludedPredefinedLibrary name="DOM XPath" />
<excludedPredefinedLibrary name="EcmaScript" />
<excludedPredefinedLibrary name="EcmaScript Additional" />
<excludedPredefinedLibrary name="EcmaScript L5" />
<excludedPredefinedLibrary name="EcmaScript for XML" />
<excludedPredefinedLibrary name="HTML 5" />
<excludedPredefinedLibrary name="Node.js Embedded Symbols" />
<excludedPredefinedLibrary name="WebGL" />
</component>
</project>

8
node_modules/ensureDir/.idea/misc.xml generated vendored Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectResources">
<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
</component>
<component name="ProjectRootManager" version="2" />
</project>

9
node_modules/ensureDir/.idea/modules.xml generated vendored Normal file
View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/ensureDir.iml" filepath="$PROJECT_DIR$/.idea/ensureDir.iml" />
</modules>
</component>
</project>

View File

@@ -0,0 +1,5 @@
<component name="DependencyValidationManager">
<state>
<option name="SKIP_IMPORT_STATEMENTS" value="false" />
</state>
</component>

7
node_modules/ensureDir/.idea/vcs.xml generated vendored Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

404
node_modules/ensureDir/.idea/workspace.xml generated vendored Normal file
View File

@@ -0,0 +1,404 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="d85b0080-a332-42c9-a13f-afa07dc65888" name="Default" comment="" />
<ignored path="ensureDir.iws" />
<ignored path=".idea/workspace.xml" />
<ignored path=".idea/" />
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
<component name="CreatePatchCommitExecutor">
<option name="PATCH_PATH" value="" />
</component>
<component name="DaemonCodeAnalyzer">
<disable_hints />
</component>
<component name="FavoritesManager">
<favorites_list name="ensureDir" />
</component>
<component name="FileEditorManager">
<leaf />
</component>
<component name="FindManager">
<FindUsagesManager>
<setting name="OPEN_NEW_TAB" value="false" />
</FindUsagesManager>
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="IdeDocumentHistory">
<option name="changedFiles">
<list>
<option value="$PROJECT_DIR$/test/ensureDir.test.js" />
<option value="$PROJECT_DIR$/Readme.md" />
<option value="$PROJECT_DIR$/package.json" />
<option value="$PROJECT_DIR$/index.js" />
</list>
</option>
</component>
<component name="ProjectFrameBounds">
<option name="x" value="50" />
<option name="y" value="22" />
<option name="width" value="1316" />
<option name="height" value="746" />
</component>
<component name="ProjectInspectionProfilesVisibleTreeState">
<entry key="Project Default">
<profile-state>
<expanded-state>
<State>
<id />
</State>
<State>
<id>Assignment issuesJavaScript</id>
</State>
<State>
<id>Bitwise operation issuesJavaScript</id>
</State>
<State>
<id>CSS</id>
</State>
<State>
<id>Control flow issuesJavaScript</id>
</State>
<State>
<id>DOM issuesJavaScript</id>
</State>
<State>
<id>HTML</id>
</State>
<State>
<id>JavaScript</id>
</State>
<State>
<id>Naming conventionsJavaScript</id>
</State>
<State>
<id>Probable BugsJavaScript</id>
</State>
</expanded-state>
<selected-state>
<State>
<id>CSS</id>
</State>
</selected-state>
</profile-state>
</entry>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectReloadState">
<option name="STATE" value="0" />
</component>
<component name="ProjectView">
<navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
<flattenPackages />
<showMembers />
<showModules />
<showLibraryContents ProjectPane="true" />
<hideEmptyPackages />
<abbreviatePackageNames />
<autoscrollToSource />
<autoscrollFromSource />
<sortByType />
</navigator>
<panes>
<pane id="Scope">
<subPane subId="Project Files">
<PATH>
<PATH_ELEMENT USER_OBJECT="Root">
<option name="myItemId" value="" />
<option name="myItemType" value="" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="ProjectPane">
<subPane>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="ensureDir" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="ensureDir" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="ensureDir" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="ensureDir" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="ensureDir" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="test" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="Favorites" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder0" value="0" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth0" value="109" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth1" value="192" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder3" value="3" />
<property name="options.splitter.main.proportions" value="0.3" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder1" value="1" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder2" value="2" />
<property name="recentsLimit" value="5" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth0" value="114" />
<property name="options.lastSelected" value="preferences.sourceCode.JavaScript" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder1" value="1" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder0" value="0" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth2" value="121" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth3" value="841" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth3" value="914" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth2" value="119" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth1" value="116" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder2" value="2" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder3" value="3" />
<property name="FullScreen" value="false" />
<property name="options.searchVisible" value="true" />
<property name="options.splitter.details.proportions" value="0.2" />
</component>
<component name="RunManager" selected="JsTestDriver.ensureDir.test.js">
<configuration default="false" name="ensureDir.test.js" type="JSTestDriver:ConfigurationType" factoryName="JsTestDriver" temporary="true">
<setting name="configLocationType" value="JS_FILE" />
<setting name="configType" value="GENERATED" />
<setting name="jsFile" value="$PROJECT_DIR$/test/ensureDir.test.js" />
<setting name="serverType" value="INTERNAL" />
<RunnerSettings RunnerId="JsTestDriverClientRunner" />
<ConfigurationWrapper RunnerId="JsTestDriverClientRunner" />
<method />
</configuration>
<configuration default="true" type="NodeJSConfigurationType" factoryName="Node JS" working-dir="$PROJECT_DIR$" coffeescript-run="false">
<method />
</configuration>
<configuration default="true" type="JSTestDriver:ConfigurationType" factoryName="JsTestDriver">
<setting name="configLocationType" value="CONFIG_FILE" />
<setting name="settingsFile" value="" />
<setting name="serverType" value="INTERNAL" />
<method />
</configuration>
<configuration default="true" type="JavascriptDebugSession" factoryName="Local">
<JSDebuggerConfigurationSettings>
<option name="engineId" value="embedded" />
<option name="fileUrl" />
</JSDebuggerConfigurationSettings>
<method />
</configuration>
<list size="1">
<item index="0" class="java.lang.String" itemvalue="JsTestDriver.ensureDir.test.js" />
</list>
</component>
<component name="ShelveChangesManager" show_recycled="false" />
<component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false">
<option name="USER" value="" />
<option name="PASSWORD" value="" />
<option name="mySSHConnectionTimeout" value="30000" />
<option name="mySSHReadTimeout" value="30000" />
<option name="LAST_MERGED_REVISION" />
<option name="MERGE_DRY_RUN" value="false" />
<option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
<option name="UPDATE_LOCK_ON_DEMAND" value="false" />
<option name="IGNORE_SPACES_IN_MERGE" value="false" />
<option name="DETECT_NESTED_COPIES" value="true" />
<option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
<option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
<option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
<option name="FORCE_UPDATE" value="false" />
<configuration useDefault="true">$USER_HOME$/.subversion_IDEA</configuration>
<myIsUseDefaultProxy>false</myIsUseDefaultProxy>
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="d85b0080-a332-42c9-a13f-afa07dc65888" name="Default" comment="" />
<created>1331999455870</created>
<updated>1331999455870</updated>
</task>
<task id="LOCAL-00001" summary="remove .gitignore">
<created>1339172181374</created>
<updated>1339172181374</updated>
</task>
<task id="LOCAL-00002" summary="reformat the test code">
<created>1339173210180</created>
<updated>1339173210180</updated>
</task>
<task id="LOCAL-00003" summary="reformat">
<created>1339174198141</created>
<updated>1339174198141</updated>
</task>
<task id="LOCAL-00004" summary="reformat">
<created>1339860149574</created>
<updated>1339860149574</updated>
</task>
<task id="LOCAL-00005" summary="reformat">
<created>1339860296349</created>
<updated>1339860296349</updated>
</task>
<task id="LOCAL-00006" summary="Correct grammar">
<created>1346207708821</created>
<updated>1346207708822</updated>
</task>
<task id="LOCAL-00007" summary="Correct grammar">
<created>1346208309303</created>
<updated>1346208309303</updated>
</task>
<task id="LOCAL-00008" summary="fix the bug when concurrency">
<created>1349266327811</created>
<updated>1349266327812</updated>
</task>
<task id="LOCAL-00009" summary="reformat">
<created>1349327672897</created>
<updated>1349327672897</updated>
</task>
<option name="localTasksCounter" value="10" />
<servers />
</component>
<component name="ToolWindowManager">
<frame x="50" y="22" width="1316" height="746" extended-state="0" />
<editor active="false" />
<layout>
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3296" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.1712" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2907966" sideWeight="0.6704" order="0" side_tool="false" content_ui="combo" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3296" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="JsTestDriver Server" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.5104" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Phing Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
</layout>
</component>
<component name="VcsContentAnnotationSettings">
<option name="myLimit" value="2678400000" />
</component>
<component name="VcsManagerConfiguration">
<option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
<option name="CHECK_NEW_TODO" value="true" />
<option name="myTodoPanelSettings">
<value>
<are-packages-shown value="false" />
<are-modules-shown value="false" />
<flatten-packages value="false" />
<is-autoscroll-to-source value="false" />
</value>
</option>
<option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
<option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
<option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
<option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
<option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
<option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
<option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
<option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
<option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
<option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
<option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
<option name="DEFAULT_PATCH_EXTENSION" value="patch" />
<option name="SHORT_DIFF_HORISONTALLY" value="true" />
<option name="SHORT_DIFF_EXTRA_LINES" value="2" />
<option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
<option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
<option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
<option name="CREATE_PATCH_EXPAND_DETAILS_DEFAULT" value="true" />
<option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
<option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
<option name="LAST_COMMIT_MESSAGE" value="reformat" />
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="true" />
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
<option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
<option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
<option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
<option name="ACTIVE_VCS_NAME" />
<option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
<option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
<MESSAGE value="rename" />
<MESSAGE value="first version" />
<MESSAGE value="README text" />
<MESSAGE value="documentation" />
<MESSAGE value="-" />
<MESSAGE value="test added" />
<MESSAGE value="remove .gitignore" />
<MESSAGE value="reformat the test code" />
<MESSAGE value="Correct grammar" />
<MESSAGE value="fix the bug when concurrency" />
<MESSAGE value="reformat" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/Readme.md">
<provider selected="true" editor-type-id="text-editor">
<state line="0" column="101" selection-start="42" selection-end="101" vertical-scroll-proportion="0.0" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/test/ensureDir.test.js">
<provider selected="true" editor-type-id="text-editor">
<state line="10" column="44" selection-start="361" selection-end="361" vertical-scroll-proportion="0.0" />
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/index.js">
<provider selected="true" editor-type-id="text-editor">
<state line="20" column="38" selection-start="530" selection-end="530" vertical-scroll-proportion="0.4013378">
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/package.json">
<provider selected="true" editor-type-id="text-editor">
<state line="14" column="56" selection-start="424" selection-end="424" vertical-scroll-proportion="0.35117057">
<folding />
</state>
</provider>
</entry>
</component>
</project>

13
node_modules/ensureDir/Readme.md generated vendored Normal file
View File

@@ -0,0 +1,13 @@
A utility for [node](http://nodejs.org), ensures the directory exists, creating it recursively if not.
## Example
ensureDir('./temp/path/to/nonexist/dir/', 0755, function (err) {
if (err) return next(err);
// your code here!
});
## Installation
$ npm install ensureDir

42
node_modules/ensureDir/index.js generated vendored Normal file
View File

@@ -0,0 +1,42 @@
var path = require('path')
, fs = require('fs');
var fnExists = fs.exists || path.exists;
/**
* Ensures the directory exists, creating it recursively if not.
*
* @param {string} dir The directory path to ensure existance.
* @param {number=} mode See fs.mkdir
* @param {function(?Error)} callback
*/
module.exports = function (dir, mode, callback) {
if (mode && typeof(mode) === 'function') {
callback = mode;
mode = null;
}
mode = mode || 0777 & (~process.umask());
callback = callback || function () {
};
_ensureDir(dir, mode, callback);
};
function _ensureDir(dir, mode, callback) {
fnExists(dir, function (exists) {
if (exists) return callback(null);
var current = path.resolve(dir), parent = path.dirname(current);
_ensureDir(parent, mode, function (err) {
if (err) return callback(err);
fs.mkdir(current, mode, function (err) {
if (err && err.code != 'EEXIST') return callback(err); // avoid the error under concurrency
callback(null);
});
});
});
}

58
node_modules/ensureDir/package.json generated vendored Normal file
View File

@@ -0,0 +1,58 @@
{
"_from": "ensureDir@>=1.0.6 <2.0.0",
"_id": "ensureDir@1.0.6",
"_inBundle": false,
"_integrity": "sha512-TJQIie0HdDPNXRRnUfNbnq/kLM9IuWJ473thCzgy+dEsXUOFMOjnq42g1cUMt9XGNTvTakg0fSqlhTdw7tGA9Q==",
"_location": "/ensureDir",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "ensureDir@1.0.6",
"name": "ensureDir",
"escapedName": "ensureDir",
"rawSpec": "1.0.6",
"saveSpec": null,
"fetchSpec": "1.0.6"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/ensureDir/-/ensureDir-1.0.6.tgz",
"_shasum": "2c54fda3181efec072a78c5255e5bb9e94162126",
"_spec": "ensureDir@1.0.6",
"_where": "/tmp/jibo-npm/jibo-cli-3.0.7",
"author": {
"name": "Sam X. Xu",
"email": "samxxu@gmail.com"
},
"bugs": {
"url": "https://github.com/samxxu/ensureDir/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "Ensures the directory exists, creating it recursively if not",
"engines": {
"node": "*"
},
"homepage": "https://github.com/samxxu/ensureDir#readme",
"keywords": [
"ensureDir",
"mkdir -p",
"mkdir",
"directory"
],
"licenses": [
{
"type": "MIT",
"url": "http://www.opensource.org/licenses/mit-license.php"
}
],
"main": "./index",
"name": "ensureDir",
"repository": {
"type": "git",
"url": "git+https://github.com/samxxu/ensureDir.git"
},
"version": "1.0.6"
}

40
node_modules/ensureDir/test/ensureDir.test.js generated vendored Normal file
View File

@@ -0,0 +1,40 @@
var ensureDir = require('../index.js');
var path = require('path');
var fs = require('fs');
var assert = require('assert');
var existsFunction = fs.exists || path.exists;
function removeDir(dir, depth) {
for (var i = 0, current = dir; i < depth; i++, current = path.dirname(current)) {
fs.rmdirSync(current);
//console.log('[' + current + '] removed');
}
}
var dir = '/tmp/path/to/nonexist';
ensureDir(dir, 0755, function (err) {
assert.ifError(err);
existsFunction(dir, function (exists) {
assert.ok(exists, '#ensureDir(notExistingDir) should ensure the dir exists');
removeDir(dir, 3);
});
});
var relativeDir = './temp/path/to/nonexist';
ensureDir(relativeDir, 0755, function (err) {
assert.ifError(err);
existsFunction(relativeDir, function (exists) {
assert.ok(exists, '#ensureDir(relativeDir) should ensure the dir exists');
removeDir(relativeDir, 4);
});
});
var existingDirectory = __dirname;
ensureDir(existingDirectory, function (err) {
assert.ifError(err);
existsFunction(existingDirectory, function (exists) {
assert.ok(exists, '#ensureDir(existingDir) should ensure the dir exists');
});
});