Skip to content

Commit

Permalink
refactor: Changed package name
Browse files Browse the repository at this point in the history
  • Loading branch information
erayhanoglu committed Nov 21, 2024
1 parent f643130 commit 52b8f11
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 21 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @jsutil/objects
# @jsopen/objects

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
Expand All @@ -9,7 +9,7 @@ A 'swiss army knife' solution for working with javascript objects.

## Installation

`$ npm install @jsutil/objects`
`$ npm install @jsopen/objects`

## Node Compatibility

Expand All @@ -19,12 +19,12 @@ A 'swiss army knife' solution for working with javascript objects.
[MIT](LICENSE)


[npm-image]: https://img.shields.io/npm/v/@jsutil/objects
[npm-url]: https://npmjs.org/package/@jsutil/objects
[ci-test-image]: https://github.com/panates/jsutil-objects/actions/workflows/test.yml/badge.svg
[ci-test-url]: https://github.com/panates/jsutil-objects/actions/workflows/test.yml
[coveralls-image]: https://img.shields.io/coveralls/panates/@jsutil/objects/master.svg
[coveralls-url]: https://coveralls.io/r/panates/@jsutil/objects
[downloads-image]: https://img.shields.io/npm/dm/@jsutil/objects.svg
[downloads-url]: https://npmjs.org/package/@jsutil/objects
[npm-image]: https://img.shields.io/npm/v/@jsopen/objects
[npm-url]: https://npmjs.org/package/@jsopen/objects
[ci-test-image]: https://github.com/panates/jsopen-objects/actions/workflows/test.yml/badge.svg
[ci-test-url]: https://github.com/panates/jsopen-objects/actions/workflows/test.yml
[coveralls-image]: https://img.shields.io/coveralls/panates/@jsopen/objects/master.svg
[coveralls-url]: https://coveralls.io/r/panates/@jsopen/objects
[downloads-image]: https://img.shields.io/npm/dm/@jsopen/objects.svg
[downloads-url]: https://npmjs.org/package/@jsopen/objects

2 changes: 1 addition & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
},
moduleNameMapper: {
'(\\..+)\\.js': '$1',
'@jsutil/objects': '<rootDir>/src',
'@jsopen/objects': '<rootDir>/src',
},
modulePathIgnorePatterns: ['<rootDir>/build'],
};
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@jsutil/objects",
"name": "@jsopen/objects",
"description": "Helper utilities for working with JavaScript objects and arrays",
"version": "1.0.0",
"author": "Panates",
Expand Down Expand Up @@ -70,7 +70,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/panates/ts-objects.git"
"url": "https://github.com/panates/jsopen-objects.git"
},
"engines": {
"node": ">= 16.0"
Expand All @@ -85,8 +85,13 @@
],
"keywords": [
"object",
"util",
"utils",
"merge",
"clone",
"deep"
"deep",
"omit",
"is-plain",
"object-utils"
]
}
2 changes: 1 addition & 1 deletion test/clone.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { clone } from '@jsutil/objects';
import { clone } from '@jsopen/objects';

describe('clone', () => {
it('should deep clone', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/is-built-in.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isBuiltIn } from '@jsutil/objects';
import { isBuiltIn } from '@jsopen/objects';

describe('isBuiltIn', () => {
it('Array', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/merge.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { merge } from '@jsutil/objects';
import { merge } from '@jsopen/objects';

describe('merge', () => {
it('should throw if target is not an object', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/omit-null.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { omitNull } from '@jsutil/objects';
import { omitNull } from '@jsopen/objects';

describe('omitNull', () => {
it('should omit null fields', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/omit-nullish.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { omitNullish } from '@jsutil/objects';
import { omitNullish } from '@jsopen/objects';

describe('omitNullish', () => {
it('should omit nullish fields', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/omit-undefined.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { omitUndefined } from '@jsutil/objects';
import { omitUndefined } from '@jsopen/objects';

describe('omitUndefined', () => {
it('should omit undefined fields', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"types": ["node", "jest"],
"baseUrl": "./",
"paths": {
"@jsutil/objects": ["../src"]
"@jsopen/objects": ["../src"]
}
}
}

0 comments on commit 52b8f11

Please sign in to comment.