Socket
Socket
Sign inDemoInstall

webdev-essentials

Package Overview
Dependencies
3
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 2.0.0

dist/utils/classNames.d.ts

1

development/README.md

@@ -9,2 +9,3 @@ # NPM Modules

# bump lib-version in package.json
npm version patch #patch|minor|major
# commit & push code

@@ -11,0 +12,0 @@ npm run build

3

dist/utils/index.d.ts
export * from './fetchWithTimeout';
export * from './randomFromTo';
export * from './userLanguage';
export * from './classNames';
export * from './validators';

@@ -15,2 +15,3 @@ "use strict";

__exportStar(require("./randomFromTo"), exports);
__exportStar(require("./userLanguage"), exports);
__exportStar(require("./classNames"), exports);
__exportStar(require("./validators"), exports);
{
"name": "webdev-essentials",
"version": "1.2.0",
"version": "2.0.0",
"description": "A collection of useful hooks and utils for web development.",

@@ -16,4 +16,4 @@ "scripts": {

"devDependencies": {
"@types/react": "^17.0.24",
"typescript": "^4.4.3"
"@types/react": "^18.2.16",
"typescript": "^5.0.4"
},

@@ -23,3 +23,3 @@ "main": "dist/index.js",

"dependencies": {
"react": "^17.0.2"
"react": "^18.2.0"
},

@@ -26,0 +26,0 @@ "publishConfig": {

@@ -11,5 +11,6 @@ # Description

└── utils
├── classNames.ts
├── fetchWithTimeout.ts
├── randomFromTo.ts
└── userLanguage.ts
└── validators.ts
```

@@ -103,11 +103,3 @@ {

},
"exclude": [
"node_modules",
"dist",
"styled-components",
"nextjs",
"animations",
"utils/userLanguage.ts",
"hooks/useAPIFetch.tsx"
]
"exclude": ["node_modules", "dist"]
}

@@ -0,0 +0,0 @@ interface FetchOptions {

export * from './fetchWithTimeout';
export * from './randomFromTo';
export * from './userLanguage';
export * from './classNames';
export * from './validators';
export default function randomFromTo(min: number, max: number): number {
return Math.floor(Math.random() * (max - min + 1) + min);
}

@@ -0,0 +0,0 @@ # Utils

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc