ts-clone-node
Advanced tools
Comparing version 0.3.32 to 1.0.0
@@ -25,3 +25,3 @@ import * as TS from "typescript"; | ||
type CloneNodeHookFactory<T extends MetaNode> = (node: T, payload: CloneNodeHookFactoryPayload) => CloneNodeHook<T> | undefined; | ||
interface CloneNodeOptions<T extends MetaNode = MetaNode> { | ||
interface CloneNodeOptions<T extends MetaNode> { | ||
hook: CloneNodeHookFactory<T>; | ||
@@ -28,0 +28,0 @@ finalize: CloneNodeFinalizerCallback<T>; |
{ | ||
"name": "ts-clone-node", | ||
"version": "0.3.32", | ||
"version": "1.0.0", | ||
"description": "A library that helps you clone Nodes from a Typescript AST", | ||
@@ -18,3 +18,3 @@ "scripts": { | ||
"rollup": "rollup -c rollup.config.js", | ||
"preversion": "pnpm run lint && pnpm run build", | ||
"preversion": "pnpm run lint && pnpm run build && dotcjs dist/cjs", | ||
"version": "pnpm run preversion && pnpm run generate:all && git add .", | ||
@@ -50,28 +50,31 @@ "release": "np --no-cleanup --no-yarn", | ||
"@types/semver": "^7.3.9", | ||
"@types/node": "^17.0.23", | ||
"@types/prettier": "^2.6.0", | ||
"@typescript-eslint/eslint-plugin": "^5.19.0", | ||
"@typescript-eslint/parser": "^5.19.0", | ||
"@wessberg/ts-config": "^2.0.0", | ||
"rollup-plugin-ts": "^2.0.5", | ||
"sandhog": "^1.0.43", | ||
"@types/node": "^17.0.36", | ||
"@types/prettier": "^2.6.3", | ||
"@typescript-eslint/eslint-plugin": "^5.26.0", | ||
"@typescript-eslint/parser": "^5.26.0", | ||
"@wessberg/ts-config": "^2.0.2", | ||
"@wessberg/prettier-config": "1.0.0", | ||
"crosspath": "1.0.0", | ||
"dotcjs": "1.0.0", | ||
"rollup-plugin-ts": "^2.0.7", | ||
"sandhog": "^2.0.1", | ||
"ava": "^3.15.0", | ||
"eslint": "^8.13.0", | ||
"eslint": "^8.16.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jsdoc": "^39.2.0", | ||
"husky": "^7.0.4", | ||
"eslint-plugin-jsdoc": "^39.3.2", | ||
"husky": "^8.0.1", | ||
"np": "7.6.1", | ||
"pnpm": "^6.32.6", | ||
"pnpm": "^7.1.7", | ||
"prettier": "^2.6.2", | ||
"pretty-quick": "^3.1.3", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.70.1", | ||
"rollup": "^2.75.3", | ||
"standard-changelog": "^2.0.27", | ||
"ts-node": "^10.7.0", | ||
"ts-node": "^10.8.0", | ||
"semver": "^7.3.7", | ||
"helpertypes": "^0.0.18", | ||
"tslib": "^2.3.1", | ||
"npm-check-updates": "^12.5.9", | ||
"typescript": "^4.6.3", | ||
"tslib": "^2.4.0", | ||
"npm-check-updates": "^13.0.3", | ||
"typescript": "^4.7.2", | ||
"typescript-3-0-1": "npm:typescript@3.0.1", | ||
@@ -95,3 +98,3 @@ "typescript-3-1-1": "npm:typescript@3.1.1", | ||
"dependencies": { | ||
"compatfactory": "^0.0.13" | ||
"compatfactory": "^1.0.1" | ||
}, | ||
@@ -101,8 +104,10 @@ "peerDependencies": { | ||
}, | ||
"main": "./dist/cjs/index.js", | ||
"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", | ||
"browser": "./dist/esm/index.js", | ||
"types": "./dist/esm/index.d.ts", | ||
"typings": "./dist/esm/index.d.ts", | ||
"es2015": "./dist/esm/index.js", | ||
"funding": { | ||
@@ -120,4 +125,5 @@ "type": "github", | ||
"engines": { | ||
"node": ">=10.0.0" | ||
"node": ">=14.9.0" | ||
}, | ||
"prettier": "@wessberg/prettier-config", | ||
"ava": { | ||
@@ -128,14 +134,16 @@ "files": [ | ||
"verbose": true, | ||
"timeout": "40s", | ||
"extensions": [ | ||
"ts" | ||
"timeout": "400s", | ||
"nonSemVerExperiments": { | ||
"configurableModuleFormat": true | ||
}, | ||
"extensions": { | ||
"ts": "module" | ||
}, | ||
"nodeArguments": [ | ||
"--loader=ts-node/esm" | ||
], | ||
"environmentVariables": { | ||
"NODE_OPTIONS": "--max_old_space_size=4096", | ||
"FORCE_COLOR": "3" | ||
}, | ||
"require": [ | ||
"ts-node/register/transpile-only" | ||
] | ||
} | ||
} | ||
} |
@@ -17,3 +17,3 @@ <!-- SHADOW_SECTION_LOGO_START --> | ||
<a href="https://www.npmjs.com/package/ts-clone-node"><img alt="NPM version" src="https://badge.fury.io/js/ts-clone-node.svg" /></a> | ||
<a href="https://david-dm.org/wessberg/ts-clone-node"><img alt="Dependencies" src="https://img.shields.io/david/wessberg%2Fts-clone-node.svg" /></a> | ||
<img alt="Dependencies" src="https://img.shields.io/librariesio/github/wessberg%2Fts-clone-node.svg" /> | ||
<a href="https://github.com/wessberg/ts-clone-node/graphs/contributors"><img alt="Contributors" src="https://img.shields.io/github/contributors/wessberg%2Fts-clone-node.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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
903806
1
Yes
46
4301
1
+ Addedcompatfactory@1.0.1(transitive)
- Removedcompatfactory@0.0.13(transitive)
Updatedcompatfactory@^1.0.1