gatsby-core-utils
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,2 +6,6 @@ # Change Log | ||
## [1.0.3](https://github.com/gatsbyjs/gatsby/compare/gatsby-core-utils@1.0.2...gatsby-core-utils@1.0.3) (2019-07-12) | ||
**Note:** Version bump only for package gatsby-core-utils | ||
## [1.0.2](https://github.com/gatsbyjs/gatsby/compare/gatsby-core-utils@1.0.1...gatsby-core-utils@1.0.2) (2019-07-12) | ||
@@ -8,0 +12,0 @@ |
@@ -5,2 +5,3 @@ "use strict"; | ||
exports.joinPath = require(`./path`).joinPath; | ||
exports.cpuCoreCount = require(`./cpu-core-count`); | ||
exports.cpuCoreCount = require(`./cpu-core-count`); | ||
exports.urlResolve = require(`./url`).resolve; |
@@ -19,5 +19,5 @@ "use strict"; | ||
return joinedPath.replace(/\\/g, `\\\\`); | ||
} else { | ||
return joinedPath; | ||
} | ||
return joinedPath; | ||
} |
@@ -10,3 +10,3 @@ /** | ||
/** | ||
* Joins all given path segments together using a forward slash (/) as a delimiter | ||
* Joins all given path segments and converts | ||
* @param {string[]} paths A sequence of path segments | ||
@@ -23,1 +23,7 @@ */ | ||
export declare function cpuCoreCount(ignoreEnvVar?: boolean): number | ||
/** | ||
* Joins all given segments and converts using a forward slash (/) as a delimiter | ||
* @param {string[]} segments A sequence of segments | ||
*/ | ||
export declare function urlResolve(...segments: string[]): string |
{ | ||
"name": "gatsby-core-utils", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A collection of gatsby utils used in different gatsby packages", | ||
@@ -10,3 +10,3 @@ "keywords": [ | ||
"author": "Ward Peeters <ward@coding-tech.com>", | ||
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-utils#readme", | ||
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-core-utils#readme", | ||
"license": "MIT", | ||
@@ -17,3 +17,3 @@ "main": "dist/index.js", | ||
"url": "https://github.com/gatsbyjs/gatsby.git", | ||
"directory": "packages/gatsby-utils" | ||
"directory": "packages/gatsby-core-utils" | ||
}, | ||
@@ -39,3 +39,3 @@ "scripts": { | ||
}, | ||
"gitHead": "e900ae106a535668d46fa68bc118af9381595653" | ||
"gitHead": "9ee08f4cf72c15d660974bf6a377e7222e935d67" | ||
} |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
9532
11
144
0
0
16