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

spinjs

Package Overview
Dependencies
Maintainers
1
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spinjs - npm Package Compare versions

Comparing version 0.4.27 to 0.4.28

6

lib/createConfig.js

@@ -76,5 +76,7 @@ "use strict";

if (overrides[name]) {
builders[name].config = spin.mergeWithStrategy({
var strategy = {
entry: 'replace'
}, builders[name].config, overrides[name]);
};
builder.config = spin.mergeWithStrategy(strategy, builder.config, overrides[name]);
builder.config = spin.mergeWithStrategy(strategy, builder.config, builder.webpackConfig);
}

@@ -81,0 +83,0 @@ };

@@ -213,3 +213,3 @@ "use strict";

}, devServer: __assign({}, baseDevServerConfig, { port: webpackDevPort }) });
if (spin.options.ssr) {
if (spin.options.devProxy || builder.devProxy) {
config.devServer.proxy = {

@@ -216,0 +216,0 @@ '!/*.hot-update.{json,js}': {

{
"name": "spinjs",
"version": "0.4.27",
"version": "0.4.28",
"scripts": {

@@ -5,0 +5,0 @@ "clean": "rm -rf ./lib",

@@ -131,2 +131,3 @@ <p align="center"><a href="#"><img width="150" src="https://rawgit.com/sysgears/spinjs/master/logo.svg"></a></p>

|persistGraphQL|Generate and use Apollo persistent GraphQL queries|
|devProxy|Proxy all unknown requests from front-end running on Webpack during development to back-end|

@@ -133,0 +134,0 @@ Each `spinjs` plugin tries to handle subset of technologies in the builder stack to configure build tools

@@ -75,9 +75,7 @@ import * as fs from 'fs';

if (overrides[name]) {
builders[name].config = spin.mergeWithStrategy(
{
entry: 'replace'
},
builders[name].config,
overrides[name]
);
const strategy = {
entry: 'replace'
};
builder.config = spin.mergeWithStrategy(strategy, builder.config, overrides[name]);
builder.config = spin.mergeWithStrategy(strategy, builder.config, builder.webpackConfig);
}

@@ -84,0 +82,0 @@ }

@@ -272,3 +272,3 @@ import * as ip from 'ip';

};
if (spin.options.ssr) {
if (spin.options.devProxy || builder.devProxy) {
config.devServer.proxy = {

@@ -275,0 +275,0 @@ '!/*.hot-update.{json,js}': {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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