Files
smart-city-digital-twin-mar…/smart-app-city/frontend/node_modules/is-invalid-path
Eric FELIXINE e30ae8ed09 feat(smart-app): implement complete mobile app MVP
- 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
2026-06-01 18:00:35 -04:00
..

is-invalid-path NPM version

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'
  • is-glob: Returns true if 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.