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

isoly

Package Overview
Dependencies
Maintainers
2
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isoly - npm Package Compare versions

Comparing version 2.0.20 to 2.0.21

2

dist/Date.d.ts

@@ -16,2 +16,4 @@ import { DateSpan } from "./DateSpan";

function previousYear(date: Date, years?: number): Date;
function firstOfYear(date: Date): Date;
function lastOfYear(date: Date): Date;
function firstOfMonth(date: Date): Date;

@@ -18,0 +20,0 @@ function lastOfMonth(date: Date): Date;

@@ -93,2 +93,17 @@ export var Date;

Date.previousYear = previousYear;
function firstOfYear(date) {
const result = parse(date);
result.setMonth(0);
result.setDate(1);
return Date.create(result);
}
Date.firstOfYear = firstOfYear;
function lastOfYear(date) {
const result = parse(date);
result.setFullYear(result.getFullYear() + 1);
result.setMonth(0);
result.setDate(0);
return Date.create(result);
}
Date.lastOfYear = lastOfYear;
function firstOfMonth(date) {

@@ -95,0 +110,0 @@ const result = parse(date);

19

package.json
{
"name": "isoly",
"version": "2.0.20",
"version": "2.0.21",
"description": "Datatypes and functions specified by ISO-standards.",

@@ -57,6 +57,6 @@ "author": "Utily Contributors",

"devDependencies": {
"@types/jest": "^29.4.4",
"@typescript-eslint/eslint-plugin": "5.55.0",
"@typescript-eslint/parser": "5.55.0",
"eslint": "^8.36.0",
"@types/jest": "^29.5.2",
"@typescript-eslint/eslint-plugin": "5.60.1",
"@typescript-eslint/parser": "5.60.1",
"eslint": "^8.43.0",
"eslint-plugin-prettierx": "github:utily/eslint-plugin-prettierx#utily-20221229",

@@ -66,6 +66,9 @@ "eslint-plugin-simple-import-sort": "^10.0.0",

"prettierx": "github:utily/prettierx#utily-20221229",
"rimraf": "^4.4.0",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
"rimraf": "^5.0.1",
"ts-jest": "^29.1.0",
"typescript": "^5.1.3"
},
"overrides": {
"semver": "^7.5.3"
}
}

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