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

is-valid-acn

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-valid-acn - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

dist/cjs/package.json

38

package.json
{
"name": "is-valid-acn",
"version": "1.3.2",
"version": "1.3.3",
"description": "Check if a number is a valid Australian Company Number (ACN)",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"source": "src/index.ts",
"types": "dist/cjs/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"source": "./src/index.ts",
"types": "./dist/cjs/index.d.ts",
"sideEffects": false,
"type": "module",
"exports": {
"default": "./dist/esm/index.js"
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},

@@ -17,10 +18,10 @@ "scripts": {

"build-esm": "tsc --project tsconfig.build.json --outDir dist/esm --module esnext",
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs",
"build-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs && echo '{\n \"type\": \"commonjs\"\n}' > dist/cjs/package.json",
"clean": "rimraf dist",
"jest": "jest",
"lint": "eslint src",
"lint": "eslint .",
"prepack": "yarn clean && yarn build",
"prettier": "prettier --check . --cache",
"test": "yarn lint && yarn tsc && yarn prettier && yarn jest",
"tsc": "tsc --noEmit"
"test": "yarn lint && yarn tsc && yarn prettier && yarn unit",
"tsc": "tsc --noEmit",
"unit": "vitest run"
},

@@ -37,20 +38,11 @@ "keywords": [

"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-typescript": "^7.18.6",
"@types/jest": "^29.0.0",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.44.0",
"eslint": "^8.26.0",
"eslint-config-wojtekmaj": "^0.7.1",
"eslint-config-wojtekmaj": "^0.8.2",
"husky": "^8.0.0",
"jest": "^29.0.0",
"prettier": "^2.7.0",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.0",
"typescript": "^4.9.4"
"typescript": "^4.9.4",
"vitest": "^0.29.2"
},
"resolutions": {
"semver@7.0.0": "^7.0.0"
},
"files": [

@@ -57,0 +49,0 @@ "dist",

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

[![npm](https://img.shields.io/npm/v/is-valid-acn.svg)](https://www.npmjs.com/package/is-valid-acn) ![downloads](https://img.shields.io/npm/dt/is-valid-acn.svg) [![CI](https://github.com/wojtekmaj/is-valid-acn/workflows/CI/badge.svg)](https://github.com/wojtekmaj/is-valid-acn/actions) [![tested with jest](https://img.shields.io/badge/tested_with-jest-99424f.svg)](https://github.com/facebook/jest)
[![npm](https://img.shields.io/npm/v/is-valid-acn.svg)](https://www.npmjs.com/package/is-valid-acn) ![downloads](https://img.shields.io/npm/dt/is-valid-acn.svg) [![CI](https://github.com/wojtekmaj/is-valid-acn/workflows/CI/badge.svg)](https://github.com/wojtekmaj/is-valid-acn/actions)

@@ -3,0 +3,0 @@ # Is-Valid-ACN

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

import { describe, expect, it } from 'vitest';
import isValidACN from './index';

@@ -2,0 +3,0 @@

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