Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

jstransformer-webpack

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jstransformer-webpack - npm Package Compare versions

Comparing version
0.0.1
to
0.1.0
+4
-0
HISTORY.md
# Changelog
## v0.1.0: 2015-05-28
- Updated depencies
## v0.0.1: 2015-04-17
- Initial release
+13
-14

@@ -13,18 +13,17 @@ 'use strict';

exports.renderFileAsync = function (filename, options, locals) {
// Parse the file path.
var file = path.parse(filename);
// Create the promise which compiles with Webpack.
return new Promise(function (resolve, reject) {
// Parse the file path.
var file = path.parse(filename);
// Construct the options array, cleansing the values.
options = options || {};
options.context = options.context || file.dir;
options.context = fs.realpathSync(options.context);
options.entry = options.entry || './' + file.base;
// Construct the options array, cleansing the values.
options = options || {};
options.context = options.context || file.dir;
options.context = fs.realpathSync(options.context);
options.entry = options.entry || './' + file.base;
// Merge locals into options.
if (locals) {
options = merge(options, locals);
}
// Create the promise which compiles with Webpack.
return new Promise(function (resolve, reject) {
// Merge locals into options.
if (locals) {
options = merge(options, locals);
}
// Compile with Webpack.

@@ -31,0 +30,0 @@ webpack(options, function(error, stats) {

{
"name": "jstransformer-webpack",
"version": "0.0.1",
"version": "0.1.0",
"description": "Webpack support for JSTransformers.",
"keywords": [
"jstransformer"
"jstransformer",
"webpack"
],

@@ -12,3 +13,3 @@ "files": [

"devDependencies": {
"istanbul": "^0.3.5",
"istanbul": "^0.3.14",
"testit": "^2.0.2"

@@ -29,4 +30,7 @@ },

"promise": "^7.0.0",
"webpack": "^1.8.5"
"webpack": "^1.9.10"
},
"engines": {
"node": ">=0.12"
}
}