Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade eslint-plugin-jsdoc from 48.0.2 to 48.0.4 #19

Merged
merged 2 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
node-version: [18.x, 20.x, 21.x, 22.x]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Contributing

HckrNews Mutator is Free and Open Source Software. Issues and pull requests are more than welcome!
TroJS Mutator is Free and Open Source Software. Issues and pull requests are more than welcome!
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Hckr.News
Copyright (c) 2024 TroJS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Mutate the value when set some data

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Scrutinizer Code Quality][scrutinizer-image]][scrutinizer-url]
[![NPM version][npm-image]][npm-url] [![Coveralls Status][coveralls-image]][coveralls-url]

With this package you can define some setters that are optional.
So it change the value for the defined setters, but if you don't pass the key, it doesnt set the key.

## Installation

`npm install @hckrnews/objects`
`npm install @trojs/objects`
or
`yarn add @hckrnews/objects`
`yarn add @trojs/objects`

## Test the package

Expand All @@ -20,7 +20,7 @@ or
## Example usage

```javascript
import DefaultMutator from '@hckrnews/mutator'
import DefaultMutator from '@trojs/mutator'

class ExampleMutator extends DefaultMutator {
setSkuAttribute (sku) {
Expand Down Expand Up @@ -69,11 +69,7 @@ result.hydrate({ test: 'another text'})
}
```

[npm-url]: https://www.npmjs.com/package/@hckrnews/mutator
[npm-image]: https://img.shields.io/npm/v/@hckrnews/mutator.svg
[travis-url]: https://travis-ci.org/hckrnews/mutator
[travis-image]: https://img.shields.io/travis/hckrnews/mutator/main.svg
[npm-url]: https://www.npmjs.com/package/@trojs/mutator
[npm-image]: https://img.shields.io/npm/v/@trojs/mutator.svg
[coveralls-url]: https://coveralls.io/r/hckrnews/mutator
[coveralls-image]: https://img.shields.io/coveralls/hckrnews/mutator/main.svg
[scrutinizer-url]: https://scrutinizer-ci.com/g/hckrnews/mutator/?branch=main
[scrutinizer-image]: https://scrutinizer-ci.com/g/hckrnews/mutator/badges/quality-score.png?b=main
2 changes: 1 addition & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
'^.+\\.js?$': 'babel-jest'
},

transformIgnorePatterns: ['node_modules/(?!(@hckrnews)/)'],
transformIgnorePatterns: ['node_modules/(?!(@hckrnews|@htrojs)/)'],

moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
Expand Down
1,589 changes: 785 additions & 804 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@hckrnews/mutator",
"name": "@trojs/mutator",
"description": "Mutate the value when set some data",
"version": "0.3.7",
"version": "0.4.0",
"author": {
"name": "Pieter Wigboldus",
"url": "https://hckr.news/"
"url": "https://trojs.org/"
},
"license": "MIT",
"scripts": {
Expand Down Expand Up @@ -36,7 +36,7 @@
"eslint-config-standard": "^17.1.0",
"eslint-plugin-html": "^8.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsdoc": "^48.0.0",
"eslint-plugin-jsdoc": "^48.0.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-prettier": "^5.0.0",
Expand Down
Loading