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 0.0.13 to 1.0.0

dist/cjs/index.cjs

258

package.json
{
"name": "compatfactory",
"version": "0.0.13",
"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": "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.json --module commonjs --outDir dist/cjs",
"tsc:esm": "tsc -p tsconfig.build.json --module esnext --outDir dist/esm",
"tsc": "pnpm run tsc:cjs && pnpm run tsc: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-*,ava --dep dev,prod && pnpm update && pnpm install"
},
"keywords": [
"typescript",
"NodeFactory",
"Compiler API",
"compat",
"normalize"
],
"files": [
"dist/**/*.*"
],
"contributors": [
{
"name": "Frederik Wessberg",
"email": "frederikwessberg@hotmail.com",
"url": "https://github.com/wessberg",
"imageUrl": "https://avatars2.githubusercontent.com/u/20454213?s=460&v=4",
"role": "Lead Developer",
"twitter": "FredWessberg",
"github": "wessberg"
}
],
"license": "MIT",
"dependencies": {
"helpertypes": "^0.0.18"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"@types/semver": "^7.3.9",
"@types/node": "17.0.23",
"@wessberg/ts-config": "^2.0.0",
"sandhog": "^1.0.43",
"ava": "^3.15.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.2.0",
"husky": "^7.0.4",
"np": "7.6.1",
"pnpm": "^6.32.6",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"standard-changelog": "^2.0.27",
"ts-node": "^10.7.0",
"npm-check-updates": "^12.5.9",
"semver": "^7.3.7",
"typescript": "^4.6.3",
"typescript-3-0-1": "npm:typescript@3.0.1",
"typescript-3-1-1": "npm:typescript@3.1.1",
"typescript-3-2-1": "npm:typescript@3.2.1",
"typescript-3-3-1": "npm:typescript@3.3.1",
"typescript-3-4-1": "npm:typescript@3.4.1",
"typescript-3-5-1": "npm:typescript@3.5.1",
"typescript-3-6-2": "npm:typescript@3.6.2",
"typescript-3-7-2": "npm:typescript@3.7.2",
"typescript-3-8-3": "npm:typescript@3.8.3",
"typescript-3-9-2": "npm:typescript@3.9.2",
"typescript-4-0-3": "npm:typescript@4.0.3",
"typescript-4-1-2": "npm:typescript@4.1.2",
"typescript-4-2-4": "npm:typescript@4.2.4",
"typescript-4-3-5": "npm:typescript@4.3.5",
"typescript-4-4-3": "npm:typescript@4.4.3",
"typescript-4-5-4": "npm:typescript@4.5.4"
},
"peerDependencies": {
"typescript": ">=3.x || >= 4.x"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"browser": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"typings": "./dist/esm/index.d.ts",
"es2015": "./dist/esm/index.js",
"repository": {
"type": "git",
"url": "https://github.com/wessberg/compatfactory.git"
},
"bugs": {
"url": "https://github.com/wessberg/compatfactory/issues"
},
"engines": {
"node": ">=10.0.0"
},
"ava": {
"files": [
"test/**.test.ts"
],
"verbose": true,
"timeout": "400s",
"extensions": [
"ts"
],
"environmentVariables": {
"NODE_OPTIONS": "--max_old_space_size=4096",
"FORCE_COLOR": "3"
},
"require": [
"ts-node/register/transpile-only"
]
}
"name": "compatfactory",
"version": "1.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": "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.json --module nodenext --outDir dist/cjs",
"tsc:esm": "tsc -p tsconfig.build.json --module esnext --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-*,ava --dep dev,prod",
"update:commit": "pnpx npm-check-updates -u -x typescript-*,ava --dep dev,prod && pnpm update && pnpm install"
},
"keywords": [
"typescript",
"NodeFactory",
"Compiler API",
"compat",
"normalize"
],
"files": [
"dist/**/*.*"
],
"contributors": [
{
"name": "Frederik Wessberg",
"email": "frederikwessberg@hotmail.com",
"url": "https://github.com/wessberg",
"imageUrl": "https://avatars2.githubusercontent.com/u/20454213?s=460&v=4",
"role": "Lead Developer",
"twitter": "FredWessberg",
"github": "wessberg"
}
],
"license": "MIT",
"dependencies": {
"helpertypes": "^0.0.18"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"@types/semver": "^7.3.9",
"@types/node": "17.0.36",
"@wessberg/ts-config": "^2.0.2",
"@wessberg/prettier-config": "1.0.0",
"sandhog": "^2.0.1",
"dotcjs": "1.0.0",
"ava": "3.15.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.2",
"husky": "^8.0.1",
"np": "7.6.1",
"pnpm": "^7.1.7",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"standard-changelog": "^2.0.27",
"ts-node": "^10.8.0",
"npm-check-updates": "^13.0.3",
"semver": "^7.3.7",
"typescript": "^4.7.2",
"typescript-3-0-1": "npm:typescript@3.0.1",
"typescript-3-1-1": "npm:typescript@3.1.1",
"typescript-3-2-1": "npm:typescript@3.2.1",
"typescript-3-3-1": "npm:typescript@3.3.1",
"typescript-3-4-1": "npm:typescript@3.4.1",
"typescript-3-5-1": "npm:typescript@3.5.1",
"typescript-3-6-2": "npm:typescript@3.6.2",
"typescript-3-7-2": "npm:typescript@3.7.2",
"typescript-3-8-3": "npm:typescript@3.8.3",
"typescript-3-9-2": "npm:typescript@3.9.2",
"typescript-4-0-3": "npm:typescript@4.0.3",
"typescript-4-1-2": "npm:typescript@4.1.2",
"typescript-4-2-4": "npm:typescript@4.2.4",
"typescript-4-3-5": "npm:typescript@4.3.5",
"typescript-4-4-3": "npm:typescript@4.4.3",
"typescript-4-5-4": "npm:typescript@4.5.4",
"typescript-4-6-4": "npm:typescript@4.6.4"
},
"peerDependencies": {
"typescript": ">=3.x || >= 4.x"
},
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
},
"type": "module",
"types": "./dist/esm/index.d.ts",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.js",
"repository": {
"type": "git",
"url": "https://github.com/wessberg/compatfactory.git"
},
"bugs": {
"url": "https://github.com/wessberg/compatfactory/issues"
},
"engines": {
"node": ">=14.9.0"
},
"prettier": "@wessberg/prettier-config",
"ava": {
"files": [
"test/**.test.ts"
],
"verbose": true,
"timeout": "400s",
"nonSemVerExperiments": {
"configurableModuleFormat": true
},
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--loader=ts-node/esm"
],
"environmentVariables": {
"FORCE_COLOR": "3"
}
}
}

@@ -17,3 +17,3 @@ <!-- SHADOW_SECTION_LOGO_START -->

<a href="https://www.npmjs.com/package/compatfactory"><img alt="NPM version" src="https://badge.fury.io/js/compatfactory.svg" /></a>
<a href="https://david-dm.org/wessberg/compatfactory"><img alt="Dependencies" src="https://img.shields.io/david/wessberg%2Fcompatfactory.svg" /></a>
<img alt="Dependencies" src="https://img.shields.io/librariesio/github/wessberg%2Fcompatfactory.svg" />
<a href="https://github.com/wessberg/compatfactory/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/wessberg%2Fcompatfactory.svg" /></a>

@@ -59,5 +59,5 @@ <a href="https://github.com/prettier/prettier"><img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" /></a>

| <a href="https://usebubbles.com"><img alt="Bubbles" src="https://uploads-ssl.webflow.com/5d682047c28b217055606673/5e5360be16879c1d0dca6514_icon-thin-128x128%402x.png" height="70" /></a> | <a href="https://github.com/cblanc"><img alt="Christopher Blanchard" src="https://avatars0.githubusercontent.com/u/2160685?s=400&v=4" height="70" /></a> | <a href="https://github.com/ideal-postcodes"><img alt="Ideal Postcodes" src="https://avatars.githubusercontent.com/u/4996310?s=200&v=4" height="70" /></a> | <a href="https://www.xerox.com"><img alt="Xerox" src="https://avatars.githubusercontent.com/u/9158512?s=200&v=4" height="70" /></a> | <a href="https://changelog.me"><img alt="Trent Raymond" src="https://avatars.githubusercontent.com/u/1509616?v=4" height="70" /></a> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| [Bubbles](https://usebubbles.com)<br><strong>Twitter</strong>: [@usebubbles](https://twitter.com/usebubbles) | [Christopher Blanchard](https://github.com/cblanc) | [Ideal Postcodes](https://github.com/ideal-postcodes) | [Xerox](https://www.xerox.com) | [Trent Raymond](https://changelog.me) |
| <a href="https://usebubbles.com"><img alt="Bubbles" src="https://uploads-ssl.webflow.com/5d682047c28b217055606673/5e5360be16879c1d0dca6514_icon-thin-128x128%402x.png" height="70" /></a> | <a href="https://github.com/cblanc"><img alt="Christopher Blanchard" src="https://avatars0.githubusercontent.com/u/2160685?s=400&v=4" height="70" /></a> | <a href="https://github.com/ideal-postcodes"><img alt="Ideal Postcodes" src="https://avatars.githubusercontent.com/u/4996310?s=200&v=4" height="70" /></a> | <a href="https://www.xerox.com"><img alt="Xerox" src="https://avatars.githubusercontent.com/u/9158512?s=200&v=4" height="70" /></a> | <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"><img alt="scrubtheweb" src="https://avatars.githubusercontent.com/u/41668218?v=4" height="70" /></a> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| [Bubbles](https://usebubbles.com)<br><strong>Twitter</strong>: [@usebubbles](https://twitter.com/usebubbles) | [Christopher Blanchard](https://github.com/cblanc) | [Ideal Postcodes](https://github.com/ideal-postcodes) | [Xerox](https://www.xerox.com) | [Trent Raymond](https://changelog.me) | [scrubtheweb](https://scrubtheweb.com) |

@@ -64,0 +64,0 @@ ### Patreon

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

Sorry, the diff of this file is not supported yet

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