Socket
Socket
Sign inDemoInstall

spfx-fast-serve

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spfx-fast-serve - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

.github/workflows/no-response.yml

6

CHANGELOG.md
# Change Log
## [3.0.6] - 19 Nov 2022
### Fixed
- `-rc.[number]` now also recognized as beta SPFx version
## [3.0.5] - 11 Mar 2021

@@ -4,0 +10,0 @@

6

docs/ESLint.md
# ESLint configuration
SPFx still uses TSLint which is currently [deprecated](https://github.com/palantir/tslint). You can configure [ESLint](https://eslint.org/) (which is a replacement for TSLint) to work with SharePoint Framework projects.
> **IMPORTANT**
>
> SPFx 1.15 and onwards uses ESLint for code linting. For these versions of SPFx you shouldn't configure ESLint according to the current doc, because now ESLint feature is implemented natively inside SPFx. Apply below configuration only if your SPFx version is less than 1.15.
SPFx less than `1.15` uses TSLint which is currently [deprecated](https://github.com/palantir/tslint). You can configure [ESLint](https://eslint.org/) (which is a replacement for TSLint) to work with SharePoint Framework projects.
## Install the required packages

@@ -6,0 +10,0 @@

2

lib/common/utils.js

@@ -42,5 +42,5 @@ "use strict";

const version = packageJson.devDependencies[dependecyToCheck];
return version.indexOf('-beta') !== -1;
return version.indexOf('-beta') !== -1 || version.indexOf('-rc') !== -1;
}
exports.isBeta = isBeta;
//# sourceMappingURL=utils.js.map
{
"name": "spfx-fast-serve",
"version": "3.0.5",
"version": "3.0.6",
"author": "Sergei Sergeev (https://github.com/s-KaiNet)",

@@ -5,0 +5,0 @@ "description": "Improve your SharePoint Framework development by speeding up 'serve' command",

@@ -59,4 +59,4 @@ # :rocket: SPFx Fast Serve Tool

- `fullScreenErrors` - boolean, default `true`, whether to show full-screen (overlay) errors. Corresponds to [webpack's dev server overlay](https://webpack.js.org/configuration/dev-server/#devserveroverlay)
- `hotRefresh` - *[SPFx 1.12+]* boolean, default `false`. When `true` enables webpack's [Hot Module Replacement](https://webpack.js.org/concepts/hot-module-replacement/) (HMR). This features is considered as experimental meaning that you can try and use if it works well for your project. Read [more here](/docs/HMR.md) how to properly configure SPFx to work with HMR.
- `eslint` - *[SPFx 1.13+]* boolean, default `false`. When `true`, adds [eslint-webpack-plugin](https://github.com/webpack-contrib/eslint-webpack-plugin) to lint your code. Read [more here](/docs/ESLint.md) how to properly configure it.
- `hotRefresh` - *[SPFx 1.12+]* boolean, default `false`. When `true` enables webpack's [Hot Module Replacement](https://webpack.js.org/concepts/hot-module-replacement/) (HMR). This features is considered as experimental meaning that you can try and use if it works well for your project. Read [more here](/docs/HMR.md) on how to properly configure SPFx to work with HMR.
- `eslint` - boolean, for SPFx `1.15` and onwards, the default value is `true`, because `1.15+` supports ESLint natively. For the earlier versions the default is `false`. When `true`, adds [eslint-webpack-plugin](https://github.com/webpack-contrib/eslint-webpack-plugin) to lint your code with `lintDirtyModulesOnly:true` option for performance. If you're running on the SPFx earlier than `1.15`, you should read [this doc](/docs/ESLint.md) and configure ESLint explicitly.
- `reactProfiling` - *[SPFx 1.13+]* boolean, default `false`. When `true`, enables react profiling mode through [React Chrome extension](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en). By default profiling doesn't work in SPFx solutions (even in dev mode).

@@ -63,0 +63,0 @@ - `containers` - *[SPFx 1.13+]* boolean, by default `fast-serve` automatically detects containerized environment (like Docker) and applies needed configuration. But if it doesn't work for you, you can explicitly disable or enable support for containers using this option.

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