Add Robot_JoyIt driver
This commit is contained in:
0
node_modules/import-local/fixtures/cli.js
generated
vendored
Normal file → Executable file
0
node_modules/import-local/fixtures/cli.js
generated
vendored
Normal file → Executable file
17
node_modules/import-local/index.d.ts
generated
vendored
Normal file
17
node_modules/import-local/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
Let a globally installed package use a locally installed version of itself if available.
|
||||
|
||||
@param filePath - The absolute file path to the main file of the package.
|
||||
|
||||
@example
|
||||
```
|
||||
import importLocal from 'import-local';
|
||||
|
||||
if (importLocal(import.meta.url)) {
|
||||
console.log('Using local version of this package');
|
||||
} else {
|
||||
// Code for both global and local version here…
|
||||
}
|
||||
```
|
||||
*/
|
||||
export default function importLocal(filePath: string): boolean | undefined | unknown;
|
||||
2
node_modules/import-local/license
generated
vendored
2
node_modules/import-local/license
generated
vendored
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
||||
4
node_modules/import-local/package.json
generated
vendored
4
node_modules/import-local/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "import-local",
|
||||
"version": "3.1.0",
|
||||
"version": "3.2.0",
|
||||
"description": "Let a globally installed package use a locally installed version of itself if available",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/import-local",
|
||||
@@ -13,6 +13,7 @@
|
||||
"bin": {
|
||||
"import-local-fixture": "fixtures/cli.js"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
@@ -21,6 +22,7 @@
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"fixtures/cli.js"
|
||||
],
|
||||
"keywords": [
|
||||
|
||||
12
node_modules/import-local/readme.md
generated
vendored
12
node_modules/import-local/readme.md
generated
vendored
@@ -23,15 +23,3 @@ if (importLocal(import.meta.url)) {
|
||||
```
|
||||
|
||||
You can also pass in `__filename` when used in a CommonJS context.
|
||||
|
||||
---
|
||||
|
||||
<div align="center">
|
||||
<b>
|
||||
<a href="https://tidelift.com/subscription/pkg/npm-import-local?utm_source=npm-import-local&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
|
||||
</b>
|
||||
<br>
|
||||
<sub>
|
||||
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
|
||||
</sub>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user