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

@ms-cloudpack/bundler-plugin-ori

Package Overview
Dependencies
Maintainers
2
Versions
277
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/bundler-plugin-ori - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

lib/getEntriesMapFromArray.test.d.ts

31

CHANGELOG.json

@@ -5,3 +5,32 @@ {

{
"date": "Wed, 21 Sep 2022 08:14:52 GMT",
"date": "Thu, 22 Sep 2022 08:14:56 GMT",
"tag": "@ms-cloudpack/bundler-plugin-ori_v0.5.0",
"version": "0.5.0",
"comments": {
"patch": [
{
"author": "email not defined",
"package": "@ms-cloudpack/bundler-plugin-ori",
"commit": "dceb96e83229877a63015e8c9a81253ce21fe3f4",
"comment": "Update dependency @oribuild/api to v0.0.0-pre-alpha.2-897227c"
}
],
"minor": [
{
"author": "dzearing@microsoft.com",
"package": "@ms-cloudpack/bundler-plugin-ori",
"commit": "e2b8667c1783bdad905805ced51a9fdfedd450a0",
"comment": "Updating option gen to only strip extensions for source files. Also ensuring all dev dependencies are externalized to avoid accidents."
},
{
"author": "beachball",
"package": "@ms-cloudpack/bundler-plugin-ori",
"comment": "Bump @ms-cloudpack/package-utilities to v0.12.0",
"commit": "bf1f396952dc6bf592e7d4fb82d700da2e5deac6"
}
]
}
},
{
"date": "Wed, 21 Sep 2022 08:15:19 GMT",
"tag": "@ms-cloudpack/bundler-plugin-ori_v0.4.1",

@@ -8,0 +37,0 @@ "version": "0.4.1",

# Change Log - @ms-cloudpack/bundler-plugin-ori
This log was last generated on Wed, 21 Sep 2022 08:14:52 GMT and should not be manually modified.
This log was last generated on Thu, 22 Sep 2022 08:14:56 GMT and should not be manually modified.
<!-- Start content -->
## 0.5.0
Thu, 22 Sep 2022 08:14:56 GMT
### Minor changes
- Updating option gen to only strip extensions for source files. Also ensuring all dev dependencies are externalized to avoid accidents. (dzearing@microsoft.com)
- Bump @ms-cloudpack/package-utilities to v0.12.0
### Patches
- Update dependency @oribuild/api to v0.0.0-pre-alpha.2-897227c (email not defined)
## 0.4.1
Wed, 21 Sep 2022 08:14:52 GMT
Wed, 21 Sep 2022 08:15:19 GMT

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

9

lib/getEntriesMapFromArray.js

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

import { isExternalPackage } from '@ms-cloudpack/package-utilities';
const extensionsToStrip = ['.js', '.jsx', '.mjs', '.cjs', '.ts', '.tsx', '.mts', '.cts', '.cjs'];
export function getEntriesMapFromArray(packagePath, entries) {

@@ -11,6 +12,6 @@ if (entries && !Array.isArray(entries)) {

const entryMap = {};
const isExternal = isExternalPackage(packagePath);
const isInternal = !isExternalPackage(packagePath);
for (let entry of entries) {
// Convert intermediate to source locations for internal packages.
if (!isExternal) {
if (isInternal) {
entry = intermediateToSourcePath(entry, packagePath) || entry;

@@ -21,3 +22,5 @@ }

const fullOutbase = path.join(packagePath, getOutbase(packagePath, [entry]));
const entryKey = slash(path.join(sourceToIntermediatePath(path.relative(fullOutbase, path.dirname(entry))), path.basename(entry, path.extname(entry))));
const ext = path.extname(entry);
const entryKey = slash(path.join(sourceToIntermediatePath(path.relative(fullOutbase, path.dirname(entry))), extensionsToStrip.includes(ext) ? path.basename(entry, ext) : path.basename(entry)));
// Strip non-existent files.
if (isFile(entry)) {

@@ -24,0 +27,0 @@ const entryPath = slash('./' + path.relative(packagePath, entry));

@@ -27,2 +27,3 @@ import { PackageDefinitions } from '@ms-cloudpack/package-utilities';

...Object.keys(packageDefinition.peerDependencies || {}),
...Object.keys(packageDefinition.devDependencies || {}),
],

@@ -29,0 +30,0 @@ incremental: options.incremental,

@@ -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.31.1"
"packageVersion": "7.31.2"
}
]
}
{
"name": "@ms-cloudpack/bundler-plugin-ori",
"version": "0.4.1",
"version": "0.5.0",
"description": "An abstraction to bundle source code using ori.",

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

"@ms-cloudpack/json-utilities": "^0.0.3",
"@ms-cloudpack/package-utilities": "^0.11.0",
"@ms-cloudpack/package-utilities": "^0.12.0",
"@ms-cloudpack/path-utilities": "^0.5.0",
"@oribuild/api": "0.0.0-pre-alpha.2-51f79b2"
"@oribuild/api": "0.0.0-pre-alpha.2-897227c"
},

@@ -23,0 +23,0 @@ "devDependencies": {

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