Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Rename] kbn-std in packages directory to osd-std #58

Merged
merged 1 commit into from
Mar 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
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.