![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
SassDoc. Like JSDoc, but for Sass files.
// Adds `$value` at `$index` in `$list`.
//
// @author Hugo Giraudel
//
// @ignore Documentation: http://sassylists.com/documentation/#insert-nth
//
// @requires is-true
//
// @param {List} $list - list to update
// @param {Number} $index - index to add
// @param {*} $value - value to add
//
// @throws List index $index is not a number for `insert-nth`.
// @throws List index $index must be a non-zero integer for `insert-nth`.
//
// @return {List | Bool}
@function insert-nth($list, $index, $value) {
// ...
}
// @var {Bool} - Defines whether the library should support legacy browsers (e.g. IE8).
//
// @since 0.3.8
//
// @access private
$legacy-support: true !global;
npm install -g sassdoc
sassdoc <src> <dest> [options]
<src>
Path to your Sass folder.<dest>
Path to the destination folder.-h, --help
: bring help-v, --verbose
: run in verbose modevar sassdoc = require('sassdoc');
sassdoc.parse(__dirname + '/sass').then(function (items) {
console.log(items);
})
Yielding a result like this:
{
'functions': [],
'mixins': [],
'variables': []
}
Where a function/mixin is like this:
{
'parameters': [
{ 'type': 'List', 'name': 'list', 'default': undefined, 'description': 'list to update' },
{ 'type': 'Number', 'name': 'index', 'default': undefined, 'description': 'index to add' },
{ 'type': '*', 'name': 'value', 'default': undefined, 'description': 'value to add' }
],
'throws': [
'List index $index is not a number for `insert-nth`.',
'List index $index must be a non-zero integer for `insert-nth`.'
],
'alias': false,
'aliased': [],
'links': [],
'todos': [],
'requires': ['is-true'],
'description': 'Adds `$value` at `$index` in `$list`.',
'access': 'public',
'deprecated': false,
'author': "Hugo Giraudel",
'returns': {
'type': [
'List',
'Bool'
],
'description': ''
},
'type': 'function',
'name': 'insert-nth'
}
And a variable like this:
{
type: 'variable',
datatype: ['Bool'],
description: 'Defines whether the lib should support legacy browsers (e.g. `IE 8`).',
name: 'support-legacy',
value: 'true',
access: 'private',
since: '0.3.8'
}
Name of the documented function/mixin is self parsed, hence @name
doesn't exist.
Describes the documented function/mixin. Parsed as markdown.
For functions and mixins, any line which is not a valid token or a separator line is considered part of the description.
For variables, see @var
.
Allowed on: functions, mixins, variables.
Defines the access of the documented item.
// @access private
// @access public
// @access protected
Notes:
public
for functions and mixins, private
for variables.Allowed on: functions, mixins.
Defines if the documented item is an alias of another function.
// @alias other-function
Notes:
aliased
containing the name of aliases.Allowed on: functions, mixins.
Describes the author of the documented item.
// @author Author's name
Allowed on: functions, mixins, variables.
Defines if the documented documented item is deprecated.
// @deprecated
// @deprecated Deprecation related message
Notes:
Allowed on: functions, mixins.
Defines a line which won't be documented.
// @ignore Message
Notes:
@ignore
allowed on the same item.Allowed on: functions, mixins, variables.
Describes a link.
// @link http://some.url
// @link http://some.url Optional caption
Notes:
@link
allowed on the same item.Allowed on: functions, mixins.
Describes a parameter of the documented item.
// @param {type | othertype} $name
// @param {type} $name - description
// @param {type} $name (default value) - description of the parameter
Notes:
arglist
, bool
, color
, list
, map
, null
, number
, spritemap
(for Compass sprites), string
or *
when any type is allowed.Allowed on: functions, mixins.
Defines if the documented item requires any other item.
// @requires other-function
Notes:
usedBy
containing the name of function requiring it.@requires
allowed on the same item.Allowed on: functions.
Describes the return statement of the documented item.
// @returns {type | othertype}
// @returns {type} Description of the return statement
Notes:
arglist
, bool
, color
, list
, map
, null
, number
, spritemap
(for Compass sprites), string
or *
when any type is allowed.Allowed on: functions, mixins, variables.
Describes the version at which the documented item has been implemented.
// @since 4.2
Notes:
Allowed on: functions, mixins.
Describes the error thrown by the documented item.
// @throws Error related message
Notes:
@throws
allowed on the same item.Allowed on: functions, mixins, variables.
Defines any task to do regarding the documented item.
// @todo Task to be done
Notes:
@todo
allowed on the same item.Allowed on: variables.
Describes a variable.
// @var {Bool} - Defines whether the library should support legacy browsers (e.g. IE8).
$legacy-support: true !global;
Notes:
0.3.9
FAQs
Release the docs!
The npm package sassdoc receives a total of 1,995 weekly downloads. As such, sassdoc popularity was classified as popular.
We found that sassdoc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.