Socket
Socket
Sign inDemoInstall

@protobuf-ts/plugin-framework

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@protobuf-ts/plugin-framework - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

9

build/commonjs/typescript-import-manager.js

@@ -193,5 +193,10 @@ "use strict";

let fromPath = path.relative(path.dirname(currentPath), pathToImportFrom);
// and drop file extension
// on windows, this may add backslash directory separators.
// we replace them with forward slash.
if (path.sep !== "/") {
fromPath = fromPath.split(path.sep).join("/");
}
// drop file extension
fromPath = fromPath.replace(/\.[a-z]+$/, '');
// and make sure to start with './' to signal relative path to module resolution
// make sure to start with './' to signal relative path to module resolution
if (!fromPath.startsWith('../') && !fromPath.startsWith('./')) {

@@ -198,0 +203,0 @@ fromPath = './' + fromPath;

@@ -189,5 +189,10 @@ import { assert } from "@protobuf-ts/runtime";

let fromPath = path.relative(path.dirname(currentPath), pathToImportFrom);
// and drop file extension
// on windows, this may add backslash directory separators.
// we replace them with forward slash.
if (path.sep !== "/") {
fromPath = fromPath.split(path.sep).join("/");
}
// drop file extension
fromPath = fromPath.replace(/\.[a-z]+$/, '');
// and make sure to start with './' to signal relative path to module resolution
// make sure to start with './' to signal relative path to module resolution
if (!fromPath.startsWith('../') && !fromPath.startsWith('./')) {

@@ -194,0 +199,0 @@ fromPath = './' + fromPath;

{
"name": "@protobuf-ts/plugin-framework",
"version": "1.0.10",
"version": "1.0.11",
"description": "framework to create protoc plugins",

@@ -36,6 +36,6 @@ "license": "(Apache-2.0 AND BSD-3-Clause)",

"dependencies": {
"@protobuf-ts/runtime": "^1.0.10",
"@protobuf-ts/runtime": "^1.0.11",
"typescript": ">=3.8.3 <4"
},
"gitHead": "ba565bc648c8eefa46e97a8234120cfe97c443b9"
"gitHead": "0f1e09aa54837c94b5944141189c1bb485de9fc5"
}

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