New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@anephenix/ui

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anephenix/ui - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

.github/dependabot.yml

25

CHANGELOG.md
# CHANGELOG
### 0.1.3 - Saturday 11th January, 2025
- Updated the eslint config
- Merge pull request #46 from anephenix/dependabot/npm_and_yarn/eslint-9.18.0
- Merge pull request #44 from anephenix/dependabot/npm_and_yarn/next-15.1.4
- Bump next from 14.2.15 to 15.1.4
- Merge pull request #42 from anephenix/dependabot/npm_and_yarn/babel/eslint-parser-7.26.5
- Merge pull request #43 from anephenix/dependabot/npm_and_yarn/babel/preset-env-7.26.0
- Bump eslint from 8.57.0 to 9.18.0
- Merge pull request #45 from anephenix/dependabot/npm_and_yarn/esbuild-0.24.2
- Bump esbuild from 0.21.1 to 0.24.2
- Bump @babel/preset-env from 7.24.5 to 7.26.0
- Bump @babel/eslint-parser from 7.24.5 to 7.26.5
- Merge pull request #40 from anephenix/dependabot/npm_and_yarn/eslint-plugin-jest-28.10.0
- Merge pull request #39 from anephenix/dependabot/npm_and_yarn/prettier-3.4.2
- Merge pull request #38 from anephenix/dependabot/npm_and_yarn/eslint-plugin-react-7.37.3
- Merge pull request #37 from anephenix/dependabot/npm_and_yarn/jsdoc-4.0.4
- Merge pull request #36 from anephenix/dependabot/npm_and_yarn/anephenix/rcg-0.0.12
- Bump eslint-plugin-jest from 28.5.0 to 28.10.0
- Bump prettier from 3.2.5 to 3.4.2
- Bump eslint-plugin-react from 7.34.1 to 7.37.3
- Bump jsdoc from 4.0.3 to 4.0.4
- Bump @anephenix/rcg from 0.0.11 to 0.0.12
- Create dependabot.yml
### 0.1.2 - Thursday 9th January, 2025

@@ -4,0 +29,0 @@

15

package.json
{
"name": "@anephenix/ui",
"version": "0.1.2",
"version": "0.1.3",
"description": "A collection of UI components for React web applications",

@@ -11,3 +11,3 @@ "main": "dist/",

"dev": "next",
"lint": "npx eslint *.cjs *.jsx **/*.jsx",
"lint": "npx eslint .",
"start": "next start",

@@ -34,3 +34,3 @@ "prepare-patch-release": "npm run build-lib && git add dist && npm run update-changelog && git add CHANGELOG.md && git commit -m \"Updated changelog\" && npm version patch",

"devDependencies": {
"@anephenix/rcg": "0.0.11",
"@anephenix/rcg": "0.0.12",
"@babel/eslint-parser": "^7.24.5",

@@ -40,14 +40,17 @@ "@babel/plugin-proposal-optional-chaining": "^7.21.0",

"@babel/preset-react": "^7.24.1",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"coveralls": "^3.1.1",
"esbuild": "^0.21.1",
"esbuild": "^0.24.2",
"esbuild-plugin-sass": "^1.0.1",
"eslint": "^8.51.0",
"eslint": "^9.18.0",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-react": "^7.34.1",
"globals": "^15.14.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jsdoc": "^4.0.3",
"next": "14.2.15",
"next": "15.1.4",
"pre-commit": "^1.2.2",

@@ -54,0 +57,0 @@ "prettier": "^3.2.5",

108

scripts/update-changelog.js

@@ -1,6 +0,6 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var child_process_1 = require("child_process");
var fs_1 = require("fs");
var path_1 = require("path");
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var child_process_1 = require('child_process');
var fs_1 = require('fs');
var path_1 = require('path');
// Paths

@@ -14,57 +14,57 @@ var packageJsonPath = (0, path_1.join)(__dirname, '../package.json');

var _a = currentVersion.split('.').map(Number), major = _a[0], minor = _a[1], patch = _a[2];
var nextVersion = "".concat(major, ".").concat(minor, ".").concat(patch + 1);
var nextVersion = ''.concat(major, '.').concat(minor, '.').concat(patch + 1);
// Get previous version from git tags
var previousVersion = (0, child_process_1.execSync)('git describe --tags --abbrev=0 HEAD^')
.toString()
.trim();
.toString()
.trim();
// Get commit messages between previous version and current version
var commitMessages = (0, child_process_1.execSync)("git log ".concat(previousVersion, "..HEAD --pretty=format:\"- %s\""))
.toString()
.trim();
var commitMessages = (0, child_process_1.execSync)('git log '.concat(previousVersion, '..HEAD --pretty=format:"- %s"'))
.toString()
.trim();
// Get current date
function getOrdinalSuffix(day) {
if (day > 3 && day < 21)
return 'th'; // Covers 11th to 19th
switch (day % 10) {
case 1:
return 'st';
case 2:
return 'nd';
case 3:
return 'rd';
default:
return 'th';
}
if (day > 3 && day < 21)
return 'th'; // Covers 11th to 19th
switch (day % 10) {
case 1:
return 'st';
case 2:
return 'nd';
case 3:
return 'rd';
default:
return 'th';
}
}
function formatDateToString() {
var days = [
'Sunday',
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday',
'Saturday',
];
var months = [
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December',
];
var today = new Date();
var dayName = days[today.getDay()];
var day = today.getDate();
var monthName = months[today.getMonth()];
var year = today.getFullYear();
var ordinalSuffix = getOrdinalSuffix(day);
return "".concat(dayName, " ").concat(day).concat(ordinalSuffix, " ").concat(monthName, ", ").concat(year);
var days = [
'Sunday',
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday',
'Saturday',
];
var months = [
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December',
];
var today = new Date();
var dayName = days[today.getDay()];
var day = today.getDate();
var monthName = months[today.getMonth()];
var year = today.getFullYear();
var ordinalSuffix = getOrdinalSuffix(day);
return ''.concat(dayName, ' ').concat(day).concat(ordinalSuffix, ' ').concat(monthName, ', ').concat(year);
}

@@ -75,3 +75,3 @@ var currentDate = formatDateToString();

// Create new changelog entry
var newChangelogEntry = "### ".concat(nextVersion, " - ").concat(currentDate, "\n\n").concat(commitMessages, "\n");
var newChangelogEntry = '### '.concat(nextVersion, ' - ').concat(currentDate, '\n\n').concat(commitMessages, '\n');
// Insert new changelog entry at the top

@@ -78,0 +78,0 @@ // const updatedChangelogContent = newChangelogEntry + changelogContent;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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