Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@automapper/classes

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@automapper/classes - npm Package Compare versions

Comparing version 8.8.0 to 8.8.1

6

mapped-types/package.json
{
"name": "@automapper/classes/mapped-types",
"version": "8.8.0",
"version": "8.8.1",
"type": "module",

@@ -10,4 +10,4 @@ "sideEffects": false,

"peerDependencies": {
"@automapper/core": "8.8.0",
"@automapper/classes": "8.8.0"
"@automapper/core": "8.8.1",
"@automapper/classes": "8.8.1"
},

@@ -14,0 +14,0 @@ "repository": {

{
"name": "@automapper/classes",
"version": "8.8.0",
"version": "8.8.1",
"type": "module",
"peerDependencies": {
"@automapper/core": "8.8.0",
"@automapper/core": "8.8.1",
"reflect-metadata": "~0.1.13"
},
"exports": {
"./": {
".": {
"types": "./src/index.d.ts",

@@ -12,0 +12,0 @@ "import": "./index.js",

@@ -16,3 +16,3 @@ import { AUTOMAPPER_METADATA_FACTORY_KEY } from '@automapper/classes';

function getDecoratorOrUndefinedByNames(names, decorators) {
return (decorators || []).find(item => names.includes(getDecoratorName(item)));
return (decorators ? decorators : []).find(item => names.includes(getDecoratorName(item)));
}

@@ -50,2 +50,5 @@ function getTypeReference(type, typeNode, typeChecker, isArray = false) {

}
if (process.platform === 'win32') {
return typeReference.replace('import', 'require');
}
importPath = importPath.slice(2, importPath.length - 1);

@@ -320,3 +323,3 @@ let relativePath = posix.relative(dirname(fileName), importPath);

/* generated */
const version$1 = 880;
const version$1 = 881;

@@ -353,3 +356,4 @@ const defaultOptions = {

const before = (options, program) => automapperTransformerPlugin(program, options).before;
const tspBefore = (program, options) => automapperTransformerPlugin(program, options).before;
export { AUTOMAPPER_DECORATOR_NAME, AUTOMAP_IGNORE_TAG, JSDOC_KEY, before, automapperTransformerPlugin as default, name, version };
export { AUTOMAPPER_DECORATOR_NAME, AUTOMAP_IGNORE_TAG, JSDOC_KEY, before, automapperTransformerPlugin as default, name, tspBefore, version };
{
"name": "@automapper/classes/transformer-plugin",
"version": "8.8.0",
"version": "8.8.1",
"type": "module",

@@ -10,4 +10,4 @@ "sideEffects": false,

"peerDependencies": {
"@automapper/core": "8.8.0",
"@automapper/classes": "8.8.0"
"@automapper/core": "8.8.1",
"@automapper/classes": "8.8.1"
},

@@ -14,0 +14,0 @@ "repository": {

@@ -202,5 +202,5 @@ # @automapper/classes/transformer-plugin

### ttypescript
### ts-patch
ttypescript patches typescript in order to use transformers in tsconfig.json. See [ttypescript's README](https://github.com/cevek/ttypescript) for how to use this with module bundlers such as webpack or Rollup.
ts-patch patches typescript in order to use transformers in tsconfig.json. See [ts-patch's README](https://github.com/nonara/ts-patch) for how to use this with module bundlers such as webpack or Rollup.

@@ -214,2 +214,3 @@ ```

"transform": "@automapper/classes/transformer-plugin",
"import": "tspBefore",
"modelFileNameSuffix": [...]

@@ -216,0 +217,0 @@ }

@@ -13,3 +13,4 @@ import type { Program, SourceFile, TransformationContext } from 'typescript/lib/tsserverlibrary';

export declare const before: (options: AutomapperTransformerPluginOptions, program: Program) => (context: TransformationContext) => (sourceFile: SourceFile) => SourceFile;
export declare const tspBefore: (program: Program, options: AutomapperTransformerPluginOptions) => (context: TransformationContext) => (sourceFile: SourceFile) => SourceFile;
export * from './lib/options';
export * from './lib/constants';

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

export declare const version = 880;
export declare const version = 881;

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