Socket
Socket
Sign inDemoInstall

@microsoft/node-core-library

Package Overview
Dependencies
Maintainers
2
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/node-core-library - npm Package Compare versions

Comparing version 0.6.1 to 0.7.0

lib/Path.d.ts

12

CHANGELOG.json

@@ -5,2 +5,14 @@ {

{
"version": "0.7.0",
"tag": "@microsoft/node-core-library_v0.7.0",
"date": "Wed, 21 Feb 2018 03:13:28 GMT",
"comments": {
"minor": [
{
"comment": "Add \"Path.isUnder()\" API"
}
]
}
},
{
"version": "0.6.1",

@@ -7,0 +19,0 @@ "tag": "@microsoft/node-core-library_v0.6.1",

9

CHANGELOG.md
# Change Log - @microsoft/node-core-library
This log was last generated on Sat, 17 Feb 2018 02:53:49 GMT and should not be manually modified.
This log was last generated on Wed, 21 Feb 2018 03:13:28 GMT and should not be manually modified.
## 0.7.0
Wed, 21 Feb 2018 03:13:28 GMT
### Minor changes
- Add "Path.isUnder()" API
## 0.6.1

@@ -6,0 +13,0 @@ Sat, 17 Feb 2018 02:53:49 GMT

@@ -329,1 +329,17 @@ /**

}
/**
* Common operations for manipulating file and directory paths.
* @remarks
* This API is intended to eventually be a complete replacement for the NodeJS "path" API.
* @public
*/
export declare class Path {
/**
* Returns true if childPath refers to a location under parentFolderPath.
* @remarks
* The indicated file/folder objects are not required to actually exist on disk.
* If the paths are relative, they will first be resolved using path.resolve().
*/
static isUnder(childPath: string, parentFolderPath: string): boolean;
}

@@ -11,1 +11,2 @@ /**

export { LockFile } from './LockFile';
export { Path } from './Path';

@@ -20,3 +20,5 @@ "use strict";

exports.LockFile = LockFile_1.LockFile;
var Path_1 = require("./Path");
exports.Path = Path_1.Path;
//# sourceMappingURL=index.js.map

4

package.json
{
"name": "@microsoft/node-core-library",
"version": "0.6.1",
"version": "0.7.0",
"description": "Core libraries that every NodeJS toolchain project should use",

@@ -25,4 +25,4 @@ "main": "lib/index.js",

"mocha": "~3.4.2",
"@microsoft/node-library-build": "4.3.5"
"@microsoft/node-library-build": "4.3.13"
}
}

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