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

react-jsbarcode

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-jsbarcode - npm Package Compare versions

Comparing version 0.4.2 to 1.0.0

lib/core/react-barcode.d.mts

21

lib/index.d.ts

@@ -1,17 +0,4 @@

/// <reference types="react" />
import { Options } from 'jsbarcode';
export declare const enum Renderer {
svg = "svg",
image = "image",
canvas = "canvas"
}
export interface ReactBarcodeProps {
renderer?: Renderer;
value: string;
options?: Options;
style?: React.CSSProperties;
className?: string;
}
export { Options };
declare const ReactBarcode: ({ style, className, value, options, renderer }: ReactBarcodeProps) => JSX.Element;
export default ReactBarcode;
export { ReactBarcode, ReactBarcodeProps } from './core/react-barcode.js';
export { Renderer } from './types/index.js';
import 'jsbarcode';
import 'react';
{
"name": "react-jsbarcode",
"version": "0.4.2",
"version": "1.0.0",
"description": "JSBarcode component for React",

@@ -10,5 +10,16 @@ "homepage": "http://github.com/iamchathu/react-jsbarcode",

},
"main": "lib/index.js",
"module": "lib/index.esm.js",
"types": "lib/index.d.ts",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/index.d.mts",
"default": "./lib/index.mjs"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
}
}
},
"files": [

@@ -22,6 +33,8 @@ "lib"

"tsc": "tsc -b .",
"build": "rollup -c",
"build": "tsup",
"lint": "eslint 'src/**/*.{ts,tsx}' --quiet --fix ",
"prepublishOnly": "pnpm clean && pnpm build",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
},

@@ -32,28 +45,31 @@ "dependencies": {

"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.1",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/react": "^17.0.39",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"eslint": "^8.10.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"@storybook/addon-essentials": "^8.1.1",
"@storybook/addon-interactions": "^8.1.1",
"@storybook/addon-links": "^8.1.1",
"@storybook/addon-onboarding": "^8.1.1",
"@storybook/blocks": "^8.1.1",
"@storybook/react": "^8.1.1",
"@storybook/react-vite": "^8.1.1",
"@types/react": "^18.3.2",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.29.3",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-storybook": "^0.8.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.5",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"rollup": "^2.70.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"react": "^18.3.1",
"rimraf": "^5.0.7",
"semantic-release": "^21.0.7",
"typescript": "^4.6.2"
"storybook": "^8.1.1",
"tsup": "^8.0.2",
"typescript": "^5.4.5"
},

@@ -60,0 +76,0 @@ "peerDependencies": {

Sorry, the diff of this file is too big to display

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