Socket
Socket
Sign inDemoInstall

babel-template

Package Overview
Dependencies
Maintainers
5
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-template - npm Package Compare versions

Comparing version 6.2.4 to 6.3.0

8

lib/index.js

@@ -37,3 +37,9 @@ "use strict";

// original stack to append if it errors when parsing
var stack = new Error().stack.split("\n").slice(1).join("\n");
var stack = undefined;
try {
// error stack gets populated in IE only on throw (https://msdn.microsoft.com/en-us/library/hh699850(v=vs.94).aspx)
throw new Error();
} catch (error) {
stack = error.stack.split("\n").slice(1).join("\n");
}

@@ -40,0 +46,0 @@ var _getAst = function getAst() {

8

package.json
{
"name": "babel-template",
"version": "6.2.4",
"version": "6.3.0",
"description": "Generate an AST from a string template.",

@@ -11,5 +11,5 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

"dependencies": {
"babylon": "^6.2.4",
"babel-traverse": "^6.2.4",
"babel-types": "^6.2.4",
"babylon": "^6.3.0",
"babel-traverse": "^6.2.0",
"babel-types": "^6.3.0",
"babel-runtime": "^5.0.0",

@@ -16,0 +16,0 @@ "lodash": "^3.10.1"

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