Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@use-ui/bootstrap3

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@use-ui/bootstrap3 - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

4

dist/Select.d.ts
/// <reference types="react" />
import { Topic } from "push-rpc";
import { FormGroupProps } from "./FormGroup";
import { Constraint, Field } from "@use-ui/hooks";
import { RemoteTopic } from "push-rpc/dist/rpc";
interface Option {

@@ -11,3 +11,3 @@ value: string;

field: Field;
topic?: Topic<D[], P>;
topic?: RemoteTopic<D[], P>;
params?: P;

@@ -14,0 +14,0 @@ map?: (D: any) => Option;

@@ -78,3 +78,3 @@ "use strict";

var _f = react_1.useState(""), inputValue = _f[0], setInputValue = _f[1];
function loadOptions(inputValue) {
function loadOptions(search) {
return __awaiter(this, void 0, void 0, function () {

@@ -91,3 +91,3 @@ var options, items;

_a.trys.push([1, , 3, 4]);
return [4 /*yield*/, topic.get(params)];
return [4 /*yield*/, topic.get(__assign(__assign({}, params), { search: search }))];
case 2:

@@ -94,0 +94,0 @@ items = _a.sent();

import * as React from "react";
export declare function highlight(s: string, term: string): React.ReactFragment;
export declare function highlight(s: string, term: string, exact?: boolean): React.ReactFragment;
export declare function getChildrenText(children: any): string;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
function highlight(s, term) {
function highlight(s, term, exact) {
if (exact === void 0) { exact = false; }
if (s && term) {
s = "" + s;
if (exact) {
return s == term ? React.createElement("span", { className: "hlt" }, "s") : s;
}
var parts = s.split(new RegExp(term, "i"));

@@ -8,0 +12,0 @@ if (parts.length == 1)

{
"name": "@use-ui/bootstrap3",
"version": "1.0.10",
"version": "1.0.11",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc