define-data-property
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -8,2 +8,10 @@ # Changelog | ||
## [v1.0.1](https://github.com/ljharb/define-data-property/compare/v1.0.0...v1.0.1) - 2023-09-12 | ||
### Commits | ||
- [meta] add TS types [`43d763c`](https://github.com/ljharb/define-data-property/commit/43d763c6c883f652de1c9c02ef6216ee507ffa69) | ||
- [Dev Deps] update `@types/tape`, `typescript` [`f444985`](https://github.com/ljharb/define-data-property/commit/f444985811c36f3e6448a03ad2f9b7898917f4c7) | ||
- [meta] add `safe-publish-latest`, [`172bb10`](https://github.com/ljharb/define-data-property/commit/172bb10890896ebb160e64398f6ee55760107bee) | ||
## v1.0.0 - 2023-09-12 | ||
@@ -10,0 +18,0 @@ |
{ | ||
"name": "define-data-property", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Define a data property on an object. Will fall back to assignment in an engine without descriptors.", | ||
"main": "index.js", | ||
"exports": { | ||
".": "./index.js", | ||
".": [ | ||
{ | ||
"types": "./index.d.ts", | ||
"default": "./index.js" | ||
}, | ||
"./index.js" | ||
], | ||
"./package.json": "./package.json" | ||
}, | ||
"sideEffects": false, | ||
"types": "./index.d.ts", | ||
"scripts": { | ||
"prepack": "npmignore --auto --commentLines=autogenerated", | ||
"prepublish": "not-in-publish || npm run prepublishOnly", | ||
"prepublishOnly": "safe-publish-latest", | ||
"tsc": "tsc -p .", | ||
"preemit-types": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map", | ||
"emit-types": "npm run tsc -- --noEmit false --emitDeclarationOnly", | ||
"postemit-types": "rm test/*.ts test/*.ts.map", | ||
"prelint": "evalmd README.md", | ||
"lint": "eslint --ext=js,mjs .", | ||
"postlint": "tsc -p .", | ||
"postlint": "npm run tsc", | ||
"pretest": "npm run lint", | ||
@@ -59,3 +73,3 @@ "tests-only": "nyc tape 'test/**/*.js'", | ||
"@types/object.getownpropertydescriptors": "^2.1.2", | ||
"@types/tape": "^5.6.0", | ||
"@types/tape": "^5.6.1", | ||
"aud": "^2.0.3", | ||
@@ -75,3 +89,3 @@ "auto-changelog": "^2.4.0", | ||
"tape": "^5.6.6", | ||
"typescript": "^5.2.2" | ||
"typescript": "^5.3.0-dev.20230912" | ||
}, | ||
@@ -94,5 +108,7 @@ "engines": { | ||
"ignore": [ | ||
".github/workflows" | ||
".github/workflows", | ||
"!*.ts", | ||
"!*.ts.map" | ||
] | ||
} | ||
} |
@@ -26,5 +26,8 @@ { | ||
"checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ | ||
"maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ | ||
"maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ | ||
/* Emit */ | ||
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ | ||
"declarationMap": true, /* Create sourcemaps for d.ts files. */ | ||
// "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ | ||
"noEmit": true, /* Disable emitting files from a compilation. */ | ||
@@ -31,0 +34,0 @@ |
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
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
37533
13
381