New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@herberttn/bytenode-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@herberttn/bytenode-webpack-plugin - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

lib/loader.d.ts

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.2.3](https://github.com/herberttn/bytenode-webpack-plugin/compare/v1.2.2...v1.2.3) (2021-04-23)
### Bug Fixes
* normalize loader import path to compiled file ([1bb918f](https://github.com/herberttn/bytenode-webpack-plugin/commit/1bb918f7320ba5a1a172c050e52d7e33066e6592))
## [1.2.2](https://github.com/herberttn/bytenode-webpack-plugin/compare/v1.2.1...v1.2.2) (2021-04-10)

@@ -2,0 +9,0 @@

9

lib/index.js

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

const webpack_virtual_modules_1 = __importDefault(require("webpack-virtual-modules"));
const loader_1 = require("./loader");
v8_1.default.setFlagsFromString('--no-lazy');

@@ -116,3 +117,3 @@ class BytenodeWebpackPlugin {

if (!e.dependency) {
virtualModules.push([e.location, createLoaderCode(relativeImportPath)]);
virtualModules.push([e.location, loader_1.createLoaderCode(relativeImportPath)]);
}

@@ -221,8 +222,2 @@ }

exports.BytenodeWebpackPlugin = BytenodeWebpackPlugin;
function createLoaderCode(relativePath) {
return `
require('bytenode');
require('${relativePath}');
`;
}
function prepare(context, location, name, suffix = '') {

@@ -229,0 +224,0 @@ const locationArray = Array.isArray(location) ? location : [location];

{
"name": "@herberttn/bytenode-webpack-plugin",
"description": "Compile JavaScript into bytecode using bytenode",
"version": "1.2.2",
"version": "1.2.3",
"license": "MIT",

@@ -46,2 +46,3 @@ "repository": {

"semantic-release": "17.4.2",
"slash": "3.0.0",
"ts-jest": "26.5.4",

@@ -48,0 +49,0 @@ "ts-node": "9.1.1",

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