Skip to content

Commit

Permalink
* Dependency "ta-json" GitHub semver dependency becomes "ta-json-x" N…
Browse files Browse the repository at this point in the history
…PM package (fixes readium/r2-testapp-js#10 )

* Removed TypeScript linter warning message (checks for no unused variables)
* NPM updates related to the Node TypeScript typings
  • Loading branch information
danielweck committed Oct 2, 2018
1 parent 7983eac commit 959871f
Show file tree
Hide file tree
Showing 24 changed files with 90 additions and 80 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
# Next

Git diff:
* https://github.com/readium/r2-shared-js/compare/v1.0.0-alpha.4...develop
* https://github.com/readium/r2-shared-js/compare/v1.0.0-alpha.5...develop

# 1.0.0-alpha.5

Changes:
* Dependency "ta-json" GitHub semver dependency becomes "ta-json-x" NPM package (fixes https://github.com/readium/r2-testapp-js/issues/10 )
* Removed TypeScript linter warning message (checks for no unused variables)
* NPM updates related to the Node TypeScript typings

Git revision info:
* https://unpkg.com/r2-shared-js@1.0.0-alpha.5/dist/gitrev.json
* https://github.com/edrlab/r2-shared-js-dist/blob/v1.0.0-alpha.5/dist/gitrev.json

Git commit history:
* https://github.com/readium/r2-shared-js/commits/v1.0.0-alpha.5

Git diff:
* https://github.com/readium/r2-shared-js/compare/v1.0.0-alpha.4...v1.0.0-alpha.5

# 1.0.0-alpha.4

Expand Down
100 changes: 47 additions & 53 deletions package-lock.json

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

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "r2-shared-js",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"description": "Readium 2 'shared' for NodeJS (TypeScript)",
"keywords": [
"readium",
Expand Down Expand Up @@ -50,10 +50,10 @@
"image-size": "^0.6.3",
"mime-types": "^2.1.20",
"moment": "^2.22.2",
"r2-lcp-js": "^1.0.0-alpha.4",
"r2-utils-js": "^1.0.0-alpha.4",
"r2-lcp-js": "^1.0.0-alpha.6",
"r2-utils-js": "^1.0.0-alpha.6",
"slugify": "^1.3.1",
"ta-json": "github:danielweck/ta-json#dist",
"ta-json-x": "^2.5.0",
"tslib": "^1.9.3",
"xmldom": "^0.1.27",
"xpath": "^0.0.27"
Expand All @@ -62,7 +62,7 @@
"@types/debug": "^0.0.30",
"@types/image-size": "^0.0.29",
"@types/mime-types": "^2.1.0",
"@types/node": "8.*.*",
"@types/node": "^8.10.32",
"@types/xmldom": "^0.1.29",
"ava": "^0.25.0",
"cpy-cli": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/init-globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import {
BufferConverter as JsonBufferConverter,
propertyConverters as jsonConverters,
} from "ta-json";
} from "ta-json-x";

export function initGlobalConverters_SHARED() {
jsonConverters.set(Contributor, new JsonContributorConverter());
Expand Down
2 changes: 1 addition & 1 deletion src/models/media-overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
JsonElementType,
JsonObject,
JsonProperty,
} from "ta-json";
} from "ta-json-x";

// http://www.idpf.org/epub/31/spec/epub-mediaoverlays.html#app-clock-examples
// https://www.w3.org/TR/2008/REC-SMIL3-20081201/smil-timing.html#q22
Expand Down
2 changes: 1 addition & 1 deletion src/models/metadata-belongsto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
JsonElementType,
JsonObject,
JsonProperty,
} from "ta-json";
} from "ta-json-x";

import { Collection } from "./metadata-collection";

Expand Down
2 changes: 1 addition & 1 deletion src/models/metadata-collection-json-converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
IPropertyConverter,
JSON as TAJSON,
JsonValue,
} from "ta-json";
} from "ta-json-x";

import { Collection } from "./metadata-collection";

Expand Down
2 changes: 1 addition & 1 deletion src/models/metadata-collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
JsonObject,
JsonProperty,
OnDeserialized,
} from "ta-json";
} from "ta-json-x";

@JsonObject()
export class Collection {
Expand Down
2 changes: 1 addition & 1 deletion src/models/metadata-contributor-json-converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
IPropertyConverter,
JSON as TAJSON,
JsonValue,
} from "ta-json";
} from "ta-json-x";

import { Contributor } from "./metadata-contributor";

Expand Down
2 changes: 1 addition & 1 deletion src/models/metadata-contributor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import {
JsonObject,
JsonProperty,
} from "ta-json";
} from "ta-json-x";

import { IStringMap } from "./metadata-multilang";

Expand Down
Loading

0 comments on commit 959871f

Please sign in to comment.