@anolilab/package-json-utils
Advanced tools
Comparing version 3.0.5 to 3.0.6
@@ -0,1 +1,8 @@ | ||
## @anolilab/package-json-utils [3.0.6](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/package-json-utils@3.0.5...@anolilab/package-json-utils@3.0.6) (2023-09-26) | ||
### Bug Fixes | ||
* Various project dependencies have been updated to their respective newer versions. This covers multiple packages such as '@babel/cli', '@babel/core', '@nrwl/js', and 'eslint' among others within the package.json file. This upgrade is necessary to ensure the utilization of the most recent features, optimization and security improvements of the updated packages, and it also helps to maintain overall project consistency. ([38535ab](https://github.com/anolilab/javascript-style-guide/commit/38535abf2557680e3f22e1ff74372764ca11c2f1)) | ||
## @anolilab/package-json-utils [3.0.5](https://github.com/anolilab/javascript-style-guide/compare/@anolilab/package-json-utils@3.0.4...@anolilab/package-json-utils@3.0.5) (2023-08-30) | ||
@@ -2,0 +9,0 @@ |
'use strict'; | ||
var dotPathValue = require('dot-path-value'); | ||
var fs = require('fs'); | ||
@@ -8,4 +7,6 @@ var g = require('module'); | ||
var process = require('process'); | ||
var dotPathValue = require('dot-path-value'); | ||
var $ = require('read-pkg-up'); | ||
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null; | ||
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; } | ||
@@ -16,3 +17,3 @@ | ||
var l=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(n,t)=>(typeof require<"u"?require:n)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var {packageJson:o,path:u}=$__default.default.sync({cwd:fs.realpathSync(process.cwd())})??{packageJson:void 0,path:void 0},p=e=>e.split("@").includes("@")?e:`${e}@latest`,w=e=>{if(o!==void 0)return dotPathValue.getByPath(o,e)},U=e=>n=>w(`${e}.${n}`),c=e=>!!(o!==void 0&&dotPathValue.getByPath(o,e)),d=e=>n=>c(`${e}.${n}`),x=(e,n)=>n?e.every(t=>c(t)):e.some(t=>c(t)),a=e=>(n,t)=>x(n.map(r=>`${e}.${r}`),t),T=e=>!!(process.env[e]&&process.env[e]!=="undefined"),_=(e,n)=>{if(T(e))try{return JSON.parse(process.env[e]??"")}catch{return process.env[e]}return n},m=u?path.dirname(u):"",C=m,S=(...e)=>path.join(m,...e),M=(...e)=>fs.existsSync(S(...e)),G=a("scripts"),H=d("peerDependencies"),j=a("peerDependencies"),R=d("dependencies"),J=a("dependencies"),V=d("devDependencies"),q=a("devDependencies"),K=(e,n)=>[J,q,n?.peerDeps===!1?()=>!1:j].some(t=>t(e,n?.strict)),Q=(R("typescript")||V("typescript"))&&M("tsconfig.json"),A=x(["type"])&&o?.type==="module",B=e=>{if(process.versions.pnp){let n=(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('out.js', document.baseURI).href)),r=g__default.default.findPnpApi(n).resolveRequest(e,n);if(r)return r}else if(A){let n=(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (document.currentScript && document.currentScript.src || new URL('out.js', document.baseURI).href));try{return g__default.default.createRequire(n).resolve(e)}catch{return}}try{return l.resolve(e)}catch{return}},W=e=>B(e)!==void 0,X=(e,n,t={})=>{let r=n.length===1?"":"s";console[t.consoleType??"warn"](` | ||
var l=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(n,t)=>(typeof require<"u"?require:n)[t]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var {packageJson:o,path:u}=$__default.default.sync({cwd:fs.realpathSync(process.cwd())})??{packageJson:void 0,path:void 0},p=e=>e.split("@").includes("@")?e:`${e}@latest`,w=e=>{if(o!==void 0)return dotPathValue.getByPath(o,e)},U=e=>n=>w(`${e}.${n}`),c=e=>!!(o!==void 0&&dotPathValue.getByPath(o,e)),d=e=>n=>c(`${e}.${n}`),x=(e,n)=>n?e.every(t=>c(t)):e.some(t=>c(t)),a=e=>(n,t)=>x(n.map(r=>`${e}.${r}`),t),T=e=>!!(process.env[e]&&process.env[e]!=="undefined"),_=(e,n)=>{if(T(e))try{return JSON.parse(process.env[e]??"")}catch{return process.env[e]}return n},m=u?path.dirname(u):"",C=m,S=(...e)=>path.join(m,...e),M=(...e)=>fs.existsSync(S(...e)),G=a("scripts"),H=d("peerDependencies"),j=a("peerDependencies"),R=d("dependencies"),J=a("dependencies"),V=d("devDependencies"),q=a("devDependencies"),K=(e,n)=>[J,q,n?.peerDeps===!1?()=>!1:j].some(t=>t(e,n?.strict)),Q=(R("typescript")||V("typescript"))&&M("tsconfig.json"),A=x(["type"])&&o?.type==="module",B=e=>{if(process.versions.pnp){let n=(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('out.js', document.baseURI).href)),r=g__default.default.findPnpApi(n).resolveRequest(e,n);if(r)return r}else if(A){let n=(typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('out.js', document.baseURI).href));try{return g__default.default.createRequire(n).resolve(e)}catch{return}}try{return l.resolve(e)}catch{return}},W=e=>B(e)!==void 0,X=(e,n,t={})=>{let r=n.length===1?"":"s";console[t.consoleType??"warn"](` | ||
${t.preMessage??""} | ||
@@ -19,0 +20,0 @@ ${e} could not find the following package${r} |
{ | ||
"name": "@anolilab/package-json-utils", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"description": "Shared utilities for parsing information from a package.json.", | ||
@@ -68,8 +68,8 @@ "keywords": [ | ||
"@semantic-release/changelog": "^6.0.3", | ||
"@semantic-release/commit-analyzer": "^10.0.4", | ||
"@semantic-release/commit-analyzer": "^11.0.0", | ||
"@semantic-release/exec": "^6.0.3", | ||
"@semantic-release/git": "^10.0.1", | ||
"@semantic-release/github": "^9.0.4", | ||
"@semantic-release/npm": "^10.0.5", | ||
"@semantic-release/release-notes-generator": "^11.0.7", | ||
"@semantic-release/github": "^9.0.7", | ||
"@semantic-release/npm": "^11.0.0", | ||
"@semantic-release/release-notes-generator": "^12.0.0", | ||
"commitizen": "^4.3.0", | ||
@@ -79,8 +79,8 @@ "conventional-changelog-conventionalcommits": "6.1.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"rimraf": "^5.0.1", | ||
"semantic-release": "^21.1.1", | ||
"rimraf": "^5.0.2", | ||
"semantic-release": "^21.1.2", | ||
"semantic-release-conventional-commits": "^3.0.0", | ||
"tsup": "^7.2.0", | ||
"typescript": "^5.2.2", | ||
"vitest": "^0.34.3" | ||
"vitest": "^0.34.5" | ||
}, | ||
@@ -87,0 +87,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
53021
125
1