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

hrt

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hrt - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

5

package.json
{
"name": "hrt",
"version": "1.1.1",
"version": "1.1.2",
"description": "HTTP Rewrite Tool",

@@ -28,3 +28,4 @@ "author": "Longhao Luo <lhluo@tudou.com>",

"less": "~1.4.0-b2",
"http-proxy": "~1.11.1"
"http-proxy": "~1.11.1",
"react-tools": "~0.13.3"
},

@@ -31,0 +32,0 @@ "devDependencies": {

@@ -7,2 +7,3 @@ var Fs = require('fs');

var Iconv = require('iconv-lite');
var ReactTools = require('react-tools');

@@ -155,2 +156,6 @@ var RE_AUTOFIXNAME = /define\((?=[^'"])/;

str = replaceTemplate(path, str);
if (str.indexOf('use strict') > 0) {
str = ReactTools.transform(str, { harmony: true });
// console.log(ReactTools.transform(str));
}
return callback('application/javascript', str);

@@ -157,0 +162,0 @@ }else{

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