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

@embroider/shared-internals

Package Overview
Dependencies
Maintainers
5
Versions
403
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@embroider/shared-internals - npm Package Compare versions

Comparing version 0.39.1 to 0.40.0

2

package.json
{
"name": "@embroider/shared-internals",
"version": "0.39.1",
"version": "0.40.0",
"private": false,

@@ -5,0 +5,0 @@ "description": "Utilities shared among the other embroider packages",

@@ -10,2 +10,4 @@ import type { Node } from 'broccoli-node-api';

version: string;
dependencies: Record<string, string>;
devDependencies: Record<string, string>;
};

@@ -12,0 +14,0 @@ root: string;

@@ -13,3 +13,3 @@ "use strict";

let result = path_1.join(path_1.relative(fromDir, path_1.dirname(toFile)), path_1.basename(toFile));
if (!result.startsWith('/') && !result.startsWith('.')) {
if (!path_1.isAbsolute(result) && !result.startsWith('.')) {
result = './' + result;

@@ -24,2 +24,10 @@ }

}
// windows supports both "./" and ".\", but webpack 5 insists on "./"
if (result.startsWith('.\\')) {
return './' + result.slice(2);
}
// windows supports both "../" and "..\", but webpack 5 insists on "../"
if (result.startsWith('..\\')) {
return '../' + result.slice(3);
}
return result;

@@ -26,0 +34,0 @@ }

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