Skip to content

Commit

Permalink
correct spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
wentout committed Sep 17, 2024
1 parent d88b44e commit d00b0b0
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 54 deletions.
85 changes: 39 additions & 46 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mnemonica",
"version": "0.9.988",
"version": "0.9.989",
"description": "abstract technique that aids information retention : instance inheritance system",
"type": "commonjs",
"main": "./build/index.js",
Expand Down Expand Up @@ -65,7 +65,7 @@
"homepage": "https://github.com/wentout/mnemonica#readme",
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^18.19.49",
"@types/node": "^18.19.50",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"chai": "^4.5.0",
Expand All @@ -81,7 +81,7 @@
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^15.1.0",
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
"typescript": "^5.6.2"
},
"engines": {
"node": ">=16 <24"
Expand All @@ -91,4 +91,4 @@
"pre-commit": "lint-staged"
}
}
}
}
6 changes: 3 additions & 3 deletions test/bindProtoMethods.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const odp = ( obj, prop, attributes ) => {
}
};

const { bindedMethodErrorHandler } = require( './bindedMethodErrorHandler' );
const { boundMethodErrorHandler } = require( './boundMethodErrorHandler' );

const bindMethod = function ( hookData, instance, methodName, MethodItself ) {
const from = hookData;
Expand Down Expand Up @@ -47,7 +47,7 @@ const bindMethod = function ( hookData, instance, methodName, MethodItself ) {
value : error,
enumerable : true
} );
throw bindedMethodErrorHandler( exceptionReason );
throw boundMethodErrorHandler( exceptionReason );
} );
}

Expand All @@ -58,7 +58,7 @@ const bindMethod = function ( hookData, instance, methodName, MethodItself ) {
enumerable : true
} );

throw bindedMethodErrorHandler( exceptionReason );
throw boundMethodErrorHandler( exceptionReason );
}
};
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const odp = ( o, p, attributes ) => {
return Object.defineProperty( o, p, attributes );
};

module.exports.bindedMethodErrorHandler = ( exceptionReason ) => {
module.exports.boundMethodErrorHandler = ( exceptionReason ) => {

const {
applyTo,
Expand Down

0 comments on commit d00b0b0

Please sign in to comment.