Skip to content

Commit

Permalink
[Rename] kbn-std in packages directory to osd-std (#58)
Browse files Browse the repository at this point in the history
Signed-off-by: Mihir Soni <mihirsoni.123@gmail.com>
  • Loading branch information
mihirsoni committed Mar 4, 2021
1 parent b760d01 commit 0f710c7
Show file tree
Hide file tree
Showing 27 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/kbn-std/README.md → packages/osd-std/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# `@kbn/std`Kibana standard library
# `@osd/std`OpenSearch Dashboards standard library

This package is a set of utilities that can be used both on server-side and client-side.
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "@kbn/std",
"name": "@osd/std",
"main": "./target/index.js",
"types": "./target/index.d.ts",
"version": "1.0.0",
"license": "Apache-2.0",
"private": true,
"scripts": {
"build": "tsc",
"kbn:bootstrap": "yarn build"
"osd:bootstrap": "yarn build"
},
"dependencies": {
"lodash": "^4.17.20"
},
"devDependencies": {
"@kbn/utility-types": "1.0.0",
"@osd/utility-types": "1.0.0",
"typescript": "4.0.2",
"tsd": "^0.13.1"
}
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* specific language governing permissions and limitations
* under the License.
*/
import { RecursiveReadonly } from '@kbn/utility-types';
import { RecursiveReadonly } from '@osd/utility-types';

/** @public */
export type Freezable = { [k: string]: any } | any[];
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export function modifyUrl(
*/
export function isRelativeUrl(candidatePath: string) {
// validate that `candidatePath` is not attempting a redirect to somewhere
// outside of this Kibana install
// outside of this OpenSearch Dashboards install
const all = parseUrl(candidatePath, false /* parseQueryString */, true /* slashesDenoteHost */);
const { protocol, hostname, port } = all;
// We should explicitly compare `protocol`, `port` and `hostname` to null to make sure these are not
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 0f710c7

Please sign in to comment.