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

gatsby-plugin-typescript

Package Overview
Dependencies
Maintainers
1
Versions
600
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-plugin-typescript - npm Package Compare versions

Comparing version 1.0.0-alpha12-alpha.10141fd4 to 1.0.0-alpha12-alpha.1fdb9004

19

gatsby-node.js

@@ -34,7 +34,7 @@ "use strict";

function modifyWebpackConfig(ctx) {
var config = ctx.args.config,
compilerOptions = ctx.pluginOptions.compilerOptions;
function modifyWebpackConfig(_ref, _ref2) {
var config = _ref.config;
var compilerOptions = _ref2.compilerOptions;
// CommonJS to keep Webpack happy.
var copts = (0, _assign2.default)(compilerDefaults, compilerOptions, {

@@ -54,9 +54,8 @@ module: "commonjs"

function preprocessSource(ctx) {
var _ctx$args = ctx.args,
contents = _ctx$args.contents,
filename = _ctx$args.filename,
compilerOptions = ctx.pluginOptions.compilerOptions;
function preprocessSource(_ref3, _ref4) {
var contents = _ref3.contents,
filename = _ref3.filename;
var compilerOptions = _ref4.compilerOptions;
// overwrite defaults with custom compiler options
var copts = (0, _assign2.default)(compilerDefaults, compilerOptions, {

@@ -63,0 +62,0 @@ target: "esnext",

{
"name": "gatsby-plugin-typescript",
"version": "1.0.0-alpha12-alpha.10141fd4",
"version": "1.0.0-alpha12-alpha.1fdb9004",
"description": "Adds TypeScript support for Gatsby layouts and pages.",

@@ -5,0 +5,0 @@ "author": "Kyle Mathews <mathews.kyle@gmail.com>",

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