Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ms-cloudpack/path-utilities

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/path-utilities - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Wed, 08 Jun 2022 20:06:34 GMT",
"date": "Sat, 03 Sep 2022 08:15:01 GMT",
"tag": "@ms-cloudpack/path-utilities_v0.3.2",
"version": "0.3.2",
"comments": {
"patch": [
{
"author": "dzearing@microsoft.com",
"package": "@ms-cloudpack/path-utilities",
"commit": "ec909bf967a54b174cb1d50e7e55bd4b3ed02884",
"comment": "Updating sourceToIntermediatePath to deal with source paths that have leading periods."
}
]
}
},
{
"date": "Wed, 08 Jun 2022 20:07:00 GMT",
"tag": "@ms-cloudpack/path-utilities_v0.3.1",

@@ -8,0 +23,0 @@ "version": "0.3.1",

# Change Log - @ms-cloudpack/path-utilities
This log was last generated on Wed, 08 Jun 2022 20:06:34 GMT and should not be manually modified.
This log was last generated on Sat, 03 Sep 2022 08:15:01 GMT and should not be manually modified.
<!-- Start content -->
## 0.3.2
Sat, 03 Sep 2022 08:15:01 GMT
### Patches
- Updating sourceToIntermediatePath to deal with source paths that have leading periods. (dzearing@microsoft.com)
## 0.3.1
Wed, 08 Jun 2022 20:06:34 GMT
Wed, 08 Jun 2022 20:07:00 GMT

@@ -11,0 +19,0 @@ ### Patches

@@ -0,1 +1,2 @@

import { describe, it, expect } from '@jest/globals';
import { findPackageRoot } from './findPackageRoot.js';

@@ -2,0 +3,0 @@ import path from 'path';

@@ -0,1 +1,2 @@

import { describe, it, expect } from '@jest/globals';
import { fileURLToPath } from 'url';

@@ -2,0 +3,0 @@ import { intermediateToSourcePath } from './intermediateToSourcePath.js';

@@ -0,1 +1,2 @@

import { describe, it, expect } from '@jest/globals';
import path from 'path';

@@ -2,0 +3,0 @@ import { isFile } from './isFile.js';

@@ -0,1 +1,2 @@

import { describe, it, expect } from '@jest/globals';
import path from 'path';

@@ -2,0 +3,0 @@ import { isFolder } from './isFolder.js';

@@ -0,1 +1,2 @@

import { describe, it, expect } from '@jest/globals';
import { slash } from './slash.js';

@@ -2,0 +3,0 @@ describe('slash', () => {

@@ -11,2 +11,5 @@ import path from 'path';

const pathParts = slash(path.dirname(sourcePath)).split('/');
if (pathParts[0] === '.') {
pathParts.shift();
}
if (pathParts[0] === 'src') {

@@ -13,0 +16,0 @@ pathParts[0] = 'lib';

@@ -0,1 +1,2 @@

import { describe, it, expect } from '@jest/globals';
import { sourceToIntermediatePath } from './sourceToIntermediatePath.js';

@@ -12,2 +13,5 @@ describe('sourceToIntermediatePath', () => {

});
it('can ignore a leading period', () => {
expect(sourceToIntermediatePath('./src/ts.ts')).toEqual('lib/ts.js');
});
it('can resolve a .tsx', () => {

@@ -25,3 +29,3 @@ expect(sourceToIntermediatePath('src/tsx.tsx')).toEqual('lib/tsx.js');

});
it('can fall back tot he original path', () => {
it('can fall back to the original path', () => {
expect(sourceToIntermediatePath('lib/dne.mjs')).toEqual('lib/dne.mjs');

@@ -28,0 +32,0 @@ });

2

lib/tsdoc-metadata.json

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.25.0"
"packageVersion": "7.30.0"
}
]
}
{
"name": "@ms-cloudpack/path-utilities",
"version": "0.3.1",
"version": "0.3.2",
"description": "Utilities for resolving paths between source/intermediate/output locations in Cloudpack.",

@@ -5,0 +5,0 @@ "license": "MIT",

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

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

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