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

compatfactory

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compatfactory - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

dist/index.cjs

2

LICENSE.md
The MIT License (MIT)
Copyright © 2023 [Frederik Wessberg](mailto:frederikwessberg@hotmail.com) ([@FredWessberg](https://twitter.com/FredWessberg)) ([Website](https://github.com/wessberg))
Copyright © 2024 [Frederik Wessberg](mailto:frederikwessberg@hotmail.com) ([@FredWessberg](https://twitter.com/FredWessberg)) ([Website](https://github.com/wessberg))

@@ -5,0 +5,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy

{
"name": "compatfactory",
"version": "3.0.0",
"version": "4.0.0",
"description": "A library that unifies the TypeScript Compiler API factory functions across all versions of TypeScript and makes them conform with the Node Factory API",
"scripts": {
"generate:sandhog": "sandhog all --yes",
"generate:changelog": "standard-changelog --first-release",
"generate:all": "pnpm run generate:sandhog && pnpm run generate:changelog",
"clean": "rimraf dist",
"lint": "tsc --noEmit && eslint \"src/**/*.ts\" --color",
"prettier": "prettier --write \"{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}\"",
"test": "cross-env NODE_NO_WARNINGS=1 FORCE_COLOR=3 NODE_OPTIONS=\"--loader=tsx --max_old_space_size=4096\" ava",
"prebuild": "pnpm run clean",
"build": "pnpm run prebuild && pnpm run tsc",
"prewatch": "pnpm run clean",
"watch": "pnpm run prewatch && pnpm run tsc -- --watch",
"tsc:cjs": "tsc -p tsconfig.build.cjs.json --outDir dist/cjs",
"tsc:esm": "tsc -p tsconfig.build.json --outDir dist/esm",
"tsc": "pnpm run tsc:cjs && pnpm run tsc:esm",
"preversion": "pnpm run lint && pnpm run build && dotcjs dist/cjs",
"version": "pnpm run preversion && pnpm run generate:all && git add .",
"release": "np --no-cleanup --no-yarn",
"update:check": "pnpx npm-check-updates -x typescript-* --dep dev,prod",
"update:commit": "pnpx npm-check-updates -u -x typescript-* --dep dev,prod && pnpm update && pnpm install"
},
"keywords": [

@@ -52,29 +31,26 @@ "typescript",

"devDependencies": {
"@prettier/sync": "0.3.0",
"@types/node": "20.4.5",
"@types/semver": "^7.5.0",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@prettier/sync": "0.5.2",
"@types/node": "22.6.1",
"@types/semver": "^7.5.8",
"@wessberg/prettier-config": "1.0.0",
"@wessberg/ts-config": "^4.0.0",
"ava": "5.3.1",
"cross-env": "^7.0.3",
"@wessberg/ts-config": "^5.0.3",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^50.2.4",
"eslint-plugin-prettier": "^5.2.1",
"typescript-eslint": "^8.7.0",
"crosspath": "2.0.0",
"dotcjs": "1.0.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jsdoc": "^46.4.5",
"husky": "^8.0.3",
"np": "8.0.4",
"npm-check-updates": "^16.10.17",
"pnpm": "^8.6.11",
"prettier": "^3.0.0",
"pretty-quick": "^3.1.3",
"rimraf": "^5.0.1",
"husky": "^9.1.6",
"np": "10.0.7",
"npm-check-updates": "^17.1.3",
"pnpm": "^9.11.0",
"prettier": "^3.3.3",
"lint-staged": "^15.2.10",
"rimraf": "^6.0.1",
"sandhog": "^2.0.2",
"semver": "^7.5.4",
"standard-changelog": "^3.0.0",
"tsx": "^3.12.7",
"typescript": "5.1.6",
"semver": "^7.6.3",
"standard-changelog": "^6.0.0",
"tsup": "^8.3.0",
"tsx": "^4.19.1",
"typescript": "5.6.2",
"typescript-3-0-1": "npm:typescript@3.0.1",

@@ -100,3 +76,9 @@ "typescript-3-1-1": "npm:typescript@3.1.1",

"typescript-4-9-4": "npm:typescript@4.9.4",
"typescript-5-0-4": "npm:typescript@5.0.4"
"typescript-5-0-4": "npm:typescript@5.0.4",
"typescript-5-1-6": "npm:typescript@5.1.6",
"typescript-5-2-2": "npm:typescript@5.2.2",
"typescript-5-3-3": "npm:typescript@5.3.3",
"typescript-5-4-5": "npm:typescript@5.4.5",
"typescript-5-5-4": "npm:typescript@5.5.4",
"typescript-5-6-2": "npm:typescript@5.6.2"
},

@@ -107,9 +89,9 @@ "peerDependencies": {

"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"type": "module",
"types": "./dist/esm/index.d.ts",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"repository": {

@@ -123,15 +105,24 @@ "type": "git",

"engines": {
"node": ">=14.9.0"
"node": ">=18.20.0"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"prettier": "@wessberg/prettier-config",
"ava": {
"files": [
"test/**.test.ts"
],
"verbose": true,
"timeout": "400s",
"extensions": {
"ts": "module"
}
"scripts": {
"generate:sandhog": "sandhog all --yes",
"generate:changelog": "standard-changelog --first-release",
"generate:all": "pnpm run generate:sandhog && pnpm run generate:changelog",
"clean": "rimraf dist",
"lint": "tsc --noEmit && eslint \"src/**/*.ts\" --color",
"prettier": "prettier --write \"{src,test,documentation}/**/*.{js,ts,json,html,xml,css,md}\"",
"test": "node --import tsx --test \"./test/**/*.test.ts\"",
"prebuild": "pnpm run clean",
"build": "tsup \"src/index.ts\" --sourcemap --dts --format cjs,esm",
"preversion": "pnpm run lint && pnpm run build",
"version": "pnpm run preversion && pnpm run generate:all && git add .",
"release": "np --no-cleanup --no-yarn",
"update:check": "pnpx npm-check-updates -x typescript-* --dep dev,prod",
"update:commit": "pnpx npm-check-updates -u -x typescript-* --dep dev,prod && pnpm update && pnpm install"
}
}
}

@@ -57,6 +57,2 @@ <!-- SHADOW_SECTION_LOGO_START -->

| <a href="https://changelog.me"><img alt="Trent Raymond" src="https://avatars.githubusercontent.com/u/1509616?v=4" height="70" /></a> | <a href="https://scrubtheweb.com/computers/programming/1"><img alt="scrubtheweb" src="https://avatars.githubusercontent.com/u/41668218?v=4" height="70" /></a> |
| -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Trent Raymond](https://changelog.me) | [scrubtheweb](https://scrubtheweb.com/computers/programming/1) |
### Patreon

@@ -63,0 +59,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