New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@teambit/base-ui.routing.nav-link

Package Overview
Dependencies
Maintainers
15
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teambit/base-ui.routing.nav-link - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/preview-1715178860254.js

6

dist/index.js

@@ -1,6 +0,2 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NavLink = void 0;
var nav_link_1 = require("./nav-link");
Object.defineProperty(exports, "NavLink", { enumerable: true, get: function () { return nav_link_1.NavLink; } });
export { NavLink } from './nav-link';
//# sourceMappingURL=index.js.map

@@ -1,4 +0,3 @@

/// <reference types="react" />
import type { NavLinkProps } from '@teambit/base-ui.routing.native-nav-link';
export type { NavLinkProps };
export declare function NavLink(props: NavLinkProps): JSX.Element;
export declare function NavLink(props: NavLinkProps): import("react/jsx-runtime").JSX.Element;

@@ -1,14 +0,7 @@

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NavLink = void 0;
const react_1 = __importDefault(require("react"));
const base_ui_routing_routing_provider_1 = require("@teambit/base-ui.routing.routing-provider");
function NavLink(props) {
const ActualNavLink = base_ui_routing_routing_provider_1.useRouting().NavLink;
return react_1.default.createElement(ActualNavLink, Object.assign({}, props));
import { jsx as _jsx } from "react/jsx-runtime";
import { useRouting } from '@teambit/base-ui.routing.routing-provider';
export function NavLink(props) {
const ActualNavLink = useRouting().NavLink;
return _jsx(ActualNavLink, { ...props });
}
exports.NavLink = NavLink;
//# sourceMappingURL=nav-link.js.map
{
"name": "@teambit/base-ui.routing.nav-link",
"version": "1.0.0",
"homepage": "https://bit.dev/teambit/base-ui/routing/nav-link",
"version": "1.0.1",
"homepage": "https://bit.cloud/teambit/base-ui/routing/nav-link",
"main": "dist/index.js",

@@ -9,49 +9,21 @@ "componentId": {

"name": "routing/nav-link",
"version": "1.0.0"
"version": "1.0.1"
},
"dependencies": {
"core-js": "^3.0.0",
"@teambit/base-ui.routing.native-nav-link": "1.0.0",
"@teambit/base-ui.routing.routing-provider": "1.0.0"
"@teambit/base-ui.routing.native-nav-link": "1.0.1",
"@teambit/base-ui.routing.routing-provider": "1.0.1"
},
"devDependencies": {
"@types/react": "^17.0.8",
"@types/testing-library__jest-dom": "5.9.5",
"@babel/runtime": "7.12.18",
"@types/jest": "^26.0.0",
"@types/react-dom": "^17.0.5",
"@types/node": "12.20.4"
"@teambit/react.v17.react-env": "1.1.17"
},
"peerDependencies": {
"react-dom": "^16.8.0 || ^17.0.0",
"react": "^16.8.0 || ^17.0.0"
"react": "17.0.2",
"@types/react-dom": "^17.0.0",
"@types/react": "^17.0.0",
"react-dom": "17.0.2"
},
"license": "SEE LICENSE IN LICENSE",
"bit": {
"bindingPrefix": "@teambit",
"env": {},
"overrides": {
"dependencies": {
"core-js": "^3.0.0",
"react-dom": "-",
"react": "-"
},
"devDependencies": {
"@types/testing-library__jest-dom": "5.9.5",
"@babel/runtime": "7.12.18",
"@types/jest": "^26.0.0",
"@types/react-dom": "^17.0.5",
"@types/react": "^17.0.8",
"@types/node": "12.20.4",
"@types/mocha": "-",
"react-dom": "-",
"react": "-"
},
"peerDependencies": {
"react-dom": "^16.8.0 || ^17.0.0",
"react": "^16.8.0 || ^17.0.0"
}
}
},
"optionalDependencies": {},
"peerDependenciesMeta": {},
"private": false
}
}
{
"compilerOptions": {
"lib": [
"es2019",
"DOM",
"ES6",
"DOM.Iterable"
"esnext",
"dom",
"dom.Iterable"
],
"target": "es2015",
"module": "commonjs",
"jsx": "react",
"target": "es2020",
"module": "es2020",
"jsx": "react-jsx",
"declaration": true,
"sourceMap": true,
"experimentalDecorators": true,
"skipLibCheck": true,
"moduleResolution": "node",
"esModuleInterop": true,
"resolveJsonModule": true,
"allowJs": true,
"composite": true,
"outDir": "dist",
"rootDir": "."
"strict": true,
"emitDecoratorMetadata": true,
"preserveConstEnums": true,
"strictPropertyInitialization": false,
"noImplicitAny": false
},
"exclude": [
"dist"
"artifacts",
"public",
"dist",
"node_modules",
"package.json",
"**/*.cjs",
"./dist"
],
"include": [
"**/*",
"**/*.json"
]
}

@@ -6,6 +6,10 @@ declare module '*.png' {

declare module '*.svg' {
const value: any;
export = value;
import type { FunctionComponent, SVGProps } from 'react';
export const ReactComponent: FunctionComponent<
SVGProps<SVGSVGElement> & { title?: string }
>;
const src: string;
export default src;
}
// @TODO Gilad
declare module '*.jpg' {

@@ -27,1 +31,13 @@ const value: any;

}
declare module '*.otf' {
const value: any;
export = value;
}
declare module '*.woff' {
const value: any;
export = value;
}
declare module '*.woff2' {
const value: any;
export = value;
}

@@ -24,2 +24,17 @@ declare module '*.module.css' {

declare module '*.css' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.sass' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.scss' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.mdx' {

@@ -26,0 +41,0 @@ const component: any;

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