Skip to content

Commit

Permalink
refactor: remove useless files
Browse files Browse the repository at this point in the history
  • Loading branch information
Haixing-Hu committed Apr 7, 2024
1 parent 86c2b9a commit e502d7e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 66 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@haixing_hu/common-util",
"version": "4.5.1",
"version": "4.6.1",
"description": "A JavaScript ES6 library of common utility functions",
"author": "Haixing Hu",
"license": "Apache-2.0",
Expand Down
33 changes: 0 additions & 33 deletions src/impl/buildin-class.js

This file was deleted.

32 changes: 0 additions & 32 deletions src/impl/buildin-prototype.js

This file was deleted.

10 changes: 10 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import createDate from './create-date';

import decycle from './decycle';
import deepEqual from './deep-equal';
import dequote from './dequote';

import emptyToNull from './empty-to-null';
import emptyFieldsToNull from './empty-fields-to-null';
Expand All @@ -29,9 +30,12 @@ import formatLocalDatetime from './format-local-datetime';

import getHash from './get-hash';
import getParsedSearch from './get-parsed-search';
import getProperty from './get-property';
import getSearch from './get-search';
import getSearchParam from './get-search-param';

import hasProperty from './has-property';

import isIos from './is-ios';
import isMyNanjingApp from './is-my-nanjing-app';
import isUndefinedOrNull from './is-undefined-or-null';
Expand All @@ -55,6 +59,7 @@ import removeSearchParam from './remove-search-param';
import restoreVueManaged from './restore-vue-managed';
import round from './round';

import setProperty from './set-property';
import sleep from './sleep';
import splitDigits from './split-digits';
import stringToFloat from './string-to-float';
Expand Down Expand Up @@ -87,6 +92,7 @@ export {

decycle,
deepEqual,
dequote,

emptyToNull,
emptyFieldsToNull,
Expand All @@ -102,9 +108,12 @@ export {

getHash,
getParsedSearch,
getProperty,
getSearch,
getSearchParam,

hasProperty,

isIos,
isMyNanjingApp,
isUndefinedOrNull,
Expand All @@ -129,6 +138,7 @@ export {
restoreVueManaged,
round,

setProperty,
sleep,
splitDigits,
stringToFloat,
Expand Down

0 comments on commit e502d7e

Please sign in to comment.