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

is-valid-pesel

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-valid-pesel - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

25

package.json
{
"name": "is-valid-pesel",
"version": "1.2.3",
"version": "1.2.4",
"description": "Check if a number is a valid PESEL",

@@ -16,5 +16,6 @@ "type": "module",

"scripts": {
"build": "yarn build-esm && yarn build-cjs",
"build-esm": "tsc --project tsconfig.build.json --outDir dist/esm --module esnext",
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs && echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json",
"build": "yarn build-esm && yarn build-cjs && yarn build-cjs-package",
"build-esm": "tsc --project tsconfig.build.json --outDir dist/esm",
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs --verbatimModuleSyntax false",
"build-cjs-package": "echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json",
"clean": "rimraf dist",

@@ -26,3 +27,3 @@ "lint": "eslint .",

"tsc": "tsc --noEmit",
"unit": "vitest run"
"unit": "vitest"
},

@@ -40,10 +41,14 @@ "keywords": [

"eslint": "^8.26.0",
"eslint-config-wojtekmaj": "^0.8.2",
"eslint-config-wojtekmaj": "^0.9.0",
"husky": "^8.0.0",
"prettier": "^2.7.0",
"pretty-quick": "^3.1.0",
"lint-staged": "^14.0.0",
"prettier": "^3.0.0",
"rimraf": "^3.0.0",
"typescript": "^4.9.4",
"vitest": "^0.29.2"
"typescript": "^5.0.0",
"vitest": "^0.34.0"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"files": [

@@ -50,0 +55,0 @@ "dist",

13

README.md

@@ -20,5 +20,4 @@ [![npm](https://img.shields.io/npm/v/is-valid-pesel.svg)](https://www.npmjs.com/package/is-valid-pesel) ![downloads](https://img.shields.io/npm/dt/is-valid-pesel.svg) [![CI](https://github.com/wojtekmaj/is-valid-pesel/workflows/CI/badge.svg)](https://github.com/wojtekmaj/is-valid-pesel/actions)

```js
> isValidPESEL('50062373028');
< true
```ts
isValidPESEL('50062373028'); // true
```

@@ -34,11 +33,9 @@

<tr>
<td>
<img src="https://github.com/wojtekmaj.png?s=100" width="100">
<td >
<img src="https://avatars.githubusercontent.com/u/5426427?v=4&s=128" width="64" height="64" alt="Wojciech Maj">
</td>
<td>
Wojciech Maj<br />
<a href="mailto:kontakt@wojtekmaj.pl">kontakt@wojtekmaj.pl</a><br />
<a href="https://wojtekmaj.pl">https://wojtekmaj.pl</a>
<a href="https://github.com/wojtekmaj">Wojciech Maj</a>
</td>
</tr>
</table>
import { describe, expect, it } from 'vitest';
import isValidPESEL from './index';
import isValidPESEL from './index.js';

@@ -4,0 +4,0 @@ describe('isValidPESEL', () => {

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