- App.tsx: full navigation (Auth stack + Main tabs with 5 screens) - Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen - HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors - MapScreen: interactive map with layer toggles (6 layers) - MarketplaceScreen: categories (6), products (5), search - ChatScreen: AI chat with quick prompts (4), bot responses - ProfileScreen: user info, stats, menu (9 items), logout - AlertsScreen: alert list with severity, acknowledge - SensorsScreen: sensor list with type filters (6 types), search - ZonesScreen: zone cards with stats - SettingsScreen: language picker (FR/EN/ES/DE), privacy, about - Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n - Hooks: useSensors, useAlerts, useNotifications, useLocation - Components: Card, Button, LoadingSpinner, ErrorBoundary, Header - Services: iotService, notificationService (with axios API client) - Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN) - Theme: colors.ts with full design system (Blue Ocean palette) - Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
2.0 KiB
2.0 KiB
is-invalid-path 
Returns true if a file path has invalid characters.
Install with npm
npm i is-invalid-path --save
Usage
var isInvalid = require('is-invalid-path');
isInvalid('abc.js');
//=> 'false'
isInvalid('abc/def/ghi.js');
//=> 'false'
isInvalid('foo.js');
//=> 'false'
isInvalid();
//=> 'true'
isInvalid(null);
//=> 'true'
isInvalid('!foo.js');
//=> 'true'
isInvalid('*.js');
//=> 'true'
isInvalid('**/abc.js');
//=> 'true'
isInvalid('abc/*.js');
//=> 'true'
isInvalid('abc/(aaa|bbb).js');
//=> 'true'
isInvalid('abc/[a-z].js');
//=> 'true'
isInvalid('abc/{a,b}.js');
//=> 'true'
isInvalid('abc/?.js');
//=> 'true'
Related
- is-glob: Returns
trueif the given string looks like a glob pattern. - is-git-url: Regex to validate that a URL is a git url.
- micromatch: Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… more
- parse-glob: Parse a glob pattern into an object of tokens.
Run tests
Install dev dependencies:
npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on May 06, 2015.