mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-24 09:41:17 +00:00
chore: update frontend build for v1.1.83 [skip ci]
This commit is contained in:
12
web/admin-spa/node_modules/is-path-inside/index.js
generated
vendored
Normal file
12
web/admin-spa/node_modules/is-path-inside/index.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
'use strict';
|
||||
const path = require('path');
|
||||
|
||||
module.exports = (childPath, parentPath) => {
|
||||
const relation = path.relative(parentPath, childPath);
|
||||
return Boolean(
|
||||
relation &&
|
||||
relation !== '..' &&
|
||||
!relation.startsWith(`..${path.sep}`) &&
|
||||
relation !== path.resolve(childPath)
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user