From 2cec0377478701c246ea4395fcfb7e76258ccb81 Mon Sep 17 00:00:00 2001 From: jjrv Date: Fri, 15 Jan 2016 13:10:51 +0200 Subject: [PATCH] Rename project to cxml and update dependencies. --- README.md | 4 ++-- package.json | 11 ++++++----- src/schema.ts | 2 +- src/schema/ExporterTS.ts | 2 +- src/schema/Member.ts | 2 +- src/schema/Namespace.ts | 2 +- src/schema/NamespaceRef.ts | 2 +- src/schema/Type.ts | 2 +- src/xsd.ts | 2 +- src/xsd/Exporter.ts | 2 +- src/xsd/Loader.ts | 2 +- src/xsd/Namespace.ts | 2 +- src/xsd/Parser.ts | 2 +- src/xsd/QName.ts | 2 +- src/xsd/Scope.ts | 2 +- src/xsd/Source.ts | 2 +- src/xsd/State.ts | 2 +- src/xsd/types.ts | 2 +- src/xsd/types/Annotation.ts | 2 +- src/xsd/types/AnyAttribute.ts | 2 +- src/xsd/types/Attribute.ts | 2 +- src/xsd/types/AttributeGroup.ts | 2 +- src/xsd/types/Base.ts | 2 +- src/xsd/types/ComplexType.ts | 2 +- src/xsd/types/DerivationBase.ts | 2 +- src/xsd/types/Documentation.ts | 2 +- src/xsd/types/Element.ts | 2 +- src/xsd/types/Enumeration.ts | 2 +- src/xsd/types/Extension.ts | 2 +- src/xsd/types/Group.ts | 2 +- src/xsd/types/Import.ts | 2 +- src/xsd/types/MemberBase.ts | 2 +- src/xsd/types/MissingReferenceError.ts | 2 +- src/xsd/types/Primitive.ts | 2 +- src/xsd/types/Restriction.ts | 2 +- src/xsd/types/Schema.ts | 2 +- src/xsd/types/TypeBase.ts | 2 +- 37 files changed, 43 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index ce69c16..8a192cd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -fast-xml -======== +cxml +==== (Currently incomplete and not operational) streaming XML parser using node-expat (requires node-gyp to compile). diff --git a/package.json b/package.json index 94dc7cb..3f4c220 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { - "name": "fast-xml", + "name": "cxml", "version": "0.0.2", - "description": "(incomplete) fast XML parser with XSD support", + "description": "(incomplete) fast schema-aware XML parser with XSD support", "main": "index.js", "scripts": { + "tsc": "tsc", "tsd": "tsd", - "prepublish": "tsc", + "prepublish": "tsd install && tsc", "test": "node index.js" }, "author": "Juha Järvi", @@ -21,10 +22,10 @@ "dependencies": { "bluebird": "~3.1.1", "cget": "~0.0.3", - "node-expat": "~2.3.11" + "node-expat": "~2.3.12" }, "devDependencies": { "tsd": "~0.6.5", - "typescript": "^1.8.0-dev.20151204" + "typescript": "~1.8.0-dev.20160114" } } diff --git a/src/schema.ts b/src/schema.ts index bd0c95c..7be7807 100644 --- a/src/schema.ts +++ b/src/schema.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. export {Namespace} from './schema/Namespace'; diff --git a/src/schema/ExporterTS.ts b/src/schema/ExporterTS.ts index 7eba952..ec44021 100644 --- a/src/schema/ExporterTS.ts +++ b/src/schema/ExporterTS.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import * as path from 'path'; diff --git a/src/schema/Member.ts b/src/schema/Member.ts index 6f1f2f4..e672950 100644 --- a/src/schema/Member.ts +++ b/src/schema/Member.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {Namespace} from './Namespace'; diff --git a/src/schema/Namespace.ts b/src/schema/Namespace.ts index dc209bf..d91b351 100644 --- a/src/schema/Namespace.ts +++ b/src/schema/Namespace.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import * as path from 'path'; diff --git a/src/schema/NamespaceRef.ts b/src/schema/NamespaceRef.ts index ae41b30..f86cf40 100644 --- a/src/schema/NamespaceRef.ts +++ b/src/schema/NamespaceRef.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {Namespace} from './Namespace'; diff --git a/src/schema/Type.ts b/src/schema/Type.ts index 90a505d..baa842b 100644 --- a/src/schema/Type.ts +++ b/src/schema/Type.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {Namespace} from './Namespace'; diff --git a/src/xsd.ts b/src/xsd.ts index 57c71a7..4c8c3c3 100644 --- a/src/xsd.ts +++ b/src/xsd.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {Cache} from 'cget'; diff --git a/src/xsd/Exporter.ts b/src/xsd/Exporter.ts index b479ae7..5def20e 100644 --- a/src/xsd/Exporter.ts +++ b/src/xsd/Exporter.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {Namespace} from './Namespace'; diff --git a/src/xsd/Loader.ts b/src/xsd/Loader.ts index c8838c6..1f36661 100644 --- a/src/xsd/Loader.ts +++ b/src/xsd/Loader.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {Address, FetchOptions, Cache, CacheResult, util} from 'cget' diff --git a/src/xsd/Namespace.ts b/src/xsd/Namespace.ts index 7c1455e..b9f3fa7 100644 --- a/src/xsd/Namespace.ts +++ b/src/xsd/Namespace.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {Loader} from './Loader'; diff --git a/src/xsd/Parser.ts b/src/xsd/Parser.ts index 2105dff..88d2ad6 100644 --- a/src/xsd/Parser.ts +++ b/src/xsd/Parser.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import * as expat from 'node-expat'; diff --git a/src/xsd/QName.ts b/src/xsd/QName.ts index 799d078..55f1cf3 100644 --- a/src/xsd/QName.ts +++ b/src/xsd/QName.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {Namespace} from './Namespace' diff --git a/src/xsd/Scope.ts b/src/xsd/Scope.ts index 73f8f90..8babf07 100644 --- a/src/xsd/Scope.ts +++ b/src/xsd/Scope.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import * as types from './types'; diff --git a/src/xsd/Source.ts b/src/xsd/Source.ts index c317f50..2e7267e 100644 --- a/src/xsd/Source.ts +++ b/src/xsd/Source.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import * as url from 'url'; diff --git a/src/xsd/State.ts b/src/xsd/State.ts index 4dab086..7d97d1b 100644 --- a/src/xsd/State.ts +++ b/src/xsd/State.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import * as expat from 'node-expat'; diff --git a/src/xsd/types.ts b/src/xsd/types.ts index 96c9979..3c42f3c 100644 --- a/src/xsd/types.ts +++ b/src/xsd/types.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. export {Base, BaseClass} from './types/Base'; diff --git a/src/xsd/types/Annotation.ts b/src/xsd/types/Annotation.ts index f691669..86ea3aa 100644 --- a/src/xsd/types/Annotation.ts +++ b/src/xsd/types/Annotation.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import * as types from '../types'; diff --git a/src/xsd/types/AnyAttribute.ts b/src/xsd/types/AnyAttribute.ts index 6f85cbe..731a83c 100644 --- a/src/xsd/types/AnyAttribute.ts +++ b/src/xsd/types/AnyAttribute.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/Attribute.ts b/src/xsd/types/Attribute.ts index ece42a7..91adfb2 100644 --- a/src/xsd/types/Attribute.ts +++ b/src/xsd/types/Attribute.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/AttributeGroup.ts b/src/xsd/types/AttributeGroup.ts index 0a28f8b..0a2ebb1 100644 --- a/src/xsd/types/AttributeGroup.ts +++ b/src/xsd/types/AttributeGroup.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/Base.ts b/src/xsd/types/Base.ts index 283e337..5cb5991 100644 --- a/src/xsd/types/Base.ts +++ b/src/xsd/types/Base.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State, Rule} from '../State'; diff --git a/src/xsd/types/ComplexType.ts b/src/xsd/types/ComplexType.ts index cec6620..d590577 100644 --- a/src/xsd/types/ComplexType.ts +++ b/src/xsd/types/ComplexType.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/DerivationBase.ts b/src/xsd/types/DerivationBase.ts index 1f2e9db..9be97aa 100644 --- a/src/xsd/types/DerivationBase.ts +++ b/src/xsd/types/DerivationBase.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/Documentation.ts b/src/xsd/types/Documentation.ts index d7905bd..b3cb63f 100644 --- a/src/xsd/types/Documentation.ts +++ b/src/xsd/types/Documentation.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/Element.ts b/src/xsd/types/Element.ts index 757846b..7d879cc 100644 --- a/src/xsd/types/Element.ts +++ b/src/xsd/types/Element.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/Enumeration.ts b/src/xsd/types/Enumeration.ts index a589978..90e5eb8 100644 --- a/src/xsd/types/Enumeration.ts +++ b/src/xsd/types/Enumeration.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/Extension.ts b/src/xsd/types/Extension.ts index 709e784..cb28a20 100644 --- a/src/xsd/types/Extension.ts +++ b/src/xsd/types/Extension.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {DerivationBase} from './DerivationBase'; diff --git a/src/xsd/types/Group.ts b/src/xsd/types/Group.ts index e9d257c..17dc064 100644 --- a/src/xsd/types/Group.ts +++ b/src/xsd/types/Group.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/Import.ts b/src/xsd/types/Import.ts index 5a12adc..719561b 100644 --- a/src/xsd/types/Import.ts +++ b/src/xsd/types/Import.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/MemberBase.ts b/src/xsd/types/MemberBase.ts index fdb7c25..028a11e 100644 --- a/src/xsd/types/MemberBase.ts +++ b/src/xsd/types/MemberBase.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/MissingReferenceError.ts b/src/xsd/types/MissingReferenceError.ts index 50e30ac..f44efc0 100644 --- a/src/xsd/types/MissingReferenceError.ts +++ b/src/xsd/types/MissingReferenceError.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/Primitive.ts b/src/xsd/types/Primitive.ts index 472038f..9cd3a16 100644 --- a/src/xsd/types/Primitive.ts +++ b/src/xsd/types/Primitive.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {TypeBase} from './TypeBase'; diff --git a/src/xsd/types/Restriction.ts b/src/xsd/types/Restriction.ts index 1ddb10e..a57ba45 100644 --- a/src/xsd/types/Restriction.ts +++ b/src/xsd/types/Restriction.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/Schema.ts b/src/xsd/types/Schema.ts index e4fd4cd..22c5240 100644 --- a/src/xsd/types/Schema.ts +++ b/src/xsd/types/Schema.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {State} from '../State'; diff --git a/src/xsd/types/TypeBase.ts b/src/xsd/types/TypeBase.ts index d81f420..4695aa4 100644 --- a/src/xsd/types/TypeBase.ts +++ b/src/xsd/types/TypeBase.ts @@ -1,4 +1,4 @@ -// This file is part of fast-xml, copyright (c) 2015-2016 BusFaster Ltd. +// This file is part of cxml, copyright (c) 2015-2016 BusFaster Ltd. // Released under the MIT license, see LICENSE. import {Base, BaseClass} from './Base';